POST api/Account/saveCustomer

Request Information

URI Parameters

None.

Body Parameters

CustomerSaveInputs
NameDescriptionTypeAdditional information
intCustomerId

integer

None.

strCustomerName

string

None.

intCustomerTypeId

integer

None.

intCountryId

integer

None.

strAddress

string

None.

strContactName

string

None.

intFOB_PointId

integer

None.

dblShippingFactor

decimal number

None.

strCreatedDate

string

None.

strRegion

string

None.

strProvState

string

None.

intEpicorCustomerId

integer

None.

intEnabled

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "intCustomerId": 1,
  "strCustomerName": "sample string 2",
  "intCustomerTypeId": 3,
  "intCountryId": 4,
  "strAddress": "sample string 5",
  "strContactName": "sample string 6",
  "intFOB_PointId": 7,
  "dblShippingFactor": 8.1,
  "strCreatedDate": "sample string 9",
  "strRegion": "sample string 10",
  "strProvState": "sample string 11",
  "intEpicorCustomerId": 12,
  "intEnabled": 13
}

application/xml, text/xml

Sample:
<CustomerSaveInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oxygen8SelectorApi.Models">
  <dblShippingFactor>8.1</dblShippingFactor>
  <intCountryId>4</intCountryId>
  <intCustomerId>1</intCustomerId>
  <intCustomerTypeId>3</intCustomerTypeId>
  <intEnabled>13</intEnabled>
  <intEpicorCustomerId>12</intEpicorCustomerId>
  <intFOB_PointId>7</intFOB_PointId>
  <strAddress>sample string 5</strAddress>
  <strContactName>sample string 6</strContactName>
  <strCreatedDate>sample string 9</strCreatedDate>
  <strCustomerName>sample string 2</strCustomerName>
  <strProvState>sample string 11</strProvState>
  <strRegion>sample string 10</strRegion>
</CustomerSaveInputs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />