POST api/Customers?ticketID={ticketID}&customerAppID={customerAppID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ticketID | globally unique identifier |
None. |
|
customerAppID | globally unique identifier |
None. |
Body Parameters
CustomerName | Description | Type | Additional information |
---|---|---|---|
CustomerID | globally unique identifier |
None. |
|
LastName | string |
None. |
|
MiddleName | string |
None. |
|
FirstName | string |
None. |
|
Contact | string |
None. |
|
AddressLine1 | string |
None. |
|
AddressLine2 | string |
None. |
|
AddressLine3 | string |
None. |
|
AddressLine4 | string |
None. |
|
CityName | string |
None. |
|
StateCode | string |
None. |
|
PostalCode | string |
None. |
|
CountryCode | string |
None. |
|
HomePhone | string |
None. |
|
WorkPhone | string |
None. |
|
FaxPhone | string |
None. |
|
MobilePhone | string |
None. |
|
MobilePhoneProviderCode | string |
None. |
|
string |
None. |
||
AuthenticationID | globally unique identifier |
None. |
|
IsWantingEmail | boolean |
None. |
|
IsWantingMail | boolean |
None. |
|
IsWantingTexting | boolean |
None. |
|
PriceClassCode | string |
None. |
|
DriversLicense | string |
None. |
|
Birthdate | string |
None. |
|
ShipToAddressLine1 | string |
None. |
|
ShipToAddressLine2 | string |
None. |
|
ShipToCityName | string |
None. |
|
ShipToStateCode | string |
None. |
|
ShipToCountryCode | string |
None. |
|
ShipToPostalCode | string |
None. |
|
AuthorizerCustomerID | string |
None. |
|
AuthorizerCustomerIDEncrypted | string |
None. |
|
TaxClassID | byte |
None. |
|
Notes | string |
None. |
|
IsAddressValidated | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerID": "cfbb7d9c-8ee4-4eb5-b2b1-6d9577e781b9", "LastName": "sample string 2", "MiddleName": "sample string 3", "FirstName": "sample string 4", "Contact": "sample string 5", "AddressLine1": "sample string 6", "AddressLine2": "sample string 7", "AddressLine3": "sample string 8", "AddressLine4": "sample string 9", "CityName": "sample string 10", "StateCode": "sample string 11", "PostalCode": "sample string 12", "CountryCode": "sample string 13", "HomePhone": "sample string 14", "WorkPhone": "sample string 15", "FaxPhone": "sample string 16", "MobilePhone": "sample string 17", "MobilePhoneProviderCode": "sample string 18", "Email": "sample string 19", "AuthenticationID": "d4154e35-8b8c-4977-9485-45879fb0ea22", "IsWantingEmail": true, "IsWantingMail": true, "IsWantingTexting": true, "PriceClassCode": "sample string 21", "DriversLicense": "sample string 22", "Birthdate": "sample string 23", "ShipToAddressLine1": "sample string 24", "ShipToAddressLine2": "sample string 25", "ShipToCityName": "sample string 26", "ShipToStateCode": "sample string 27", "ShipToCountryCode": "sample string 28", "ShipToPostalCode": "sample string 29", "AuthorizerCustomerID": "sample string 30", "AuthorizerCustomerIDEncrypted": "sample string 31", "TaxClassID": 64, "Notes": "sample string 33", "IsAddressValidated": true }
application/xml, text/xml
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <AddressLine1>sample string 6</AddressLine1> <AddressLine2>sample string 7</AddressLine2> <AddressLine3>sample string 8</AddressLine3> <AddressLine4>sample string 9</AddressLine4> <AuthenticationID>d4154e35-8b8c-4977-9485-45879fb0ea22</AuthenticationID> <AuthorizerCustomerID>sample string 30</AuthorizerCustomerID> <AuthorizerCustomerIDEncrypted>sample string 31</AuthorizerCustomerIDEncrypted> <Birthdate>sample string 23</Birthdate> <CityName>sample string 10</CityName> <Contact>sample string 5</Contact> <CountryCode>sample string 13</CountryCode> <CustomerID>cfbb7d9c-8ee4-4eb5-b2b1-6d9577e781b9</CustomerID> <DriversLicense>sample string 22</DriversLicense> <Email>sample string 19</Email> <FaxPhone>sample string 16</FaxPhone> <FirstName>sample string 4</FirstName> <HomePhone>sample string 14</HomePhone> <IsAddressValidated>true</IsAddressValidated> <IsWantingEmail>true</IsWantingEmail> <IsWantingMail>true</IsWantingMail> <IsWantingTexting>true</IsWantingTexting> <LastName>sample string 2</LastName> <MiddleName>sample string 3</MiddleName> <MobilePhone>sample string 17</MobilePhone> <MobilePhoneProviderCode>sample string 18</MobilePhoneProviderCode> <Notes>sample string 33</Notes> <PostalCode>sample string 12</PostalCode> <PriceClassCode>sample string 21</PriceClassCode> <ShipToAddressLine1>sample string 24</ShipToAddressLine1> <ShipToAddressLine2>sample string 25</ShipToAddressLine2> <ShipToCityName>sample string 26</ShipToCityName> <ShipToCountryCode>sample string 28</ShipToCountryCode> <ShipToPostalCode>sample string 29</ShipToPostalCode> <ShipToStateCode>sample string 27</ShipToStateCode> <StateCode>sample string 11</StateCode> <TaxClassID>64</TaxClassID> <WorkPhone>sample string 15</WorkPhone> </Customer>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |