POST api/Customers/AddCustomerContacts
Request Information
URI Parameters
None.
Body Parameters
CustomerContactsName | Description | Type | Additional information |
---|---|---|---|
CustomerID | string |
None. |
|
ContactTypeID | string |
None. |
|
ContactInTypeID | integer |
None. |
|
ContactDescription | string |
None. |
|
ContactEntitle | string |
None. |
|
ContactFirstName | string |
None. |
|
ContactLastName | string |
None. |
|
ContactGender | string |
None. |
|
ContactPhoneNo | string |
None. |
|
ContactFaxNo | string |
None. |
|
ContactMobileNo | string |
None. |
|
ContactEMail | string |
None. |
|
ContactClerkID | string |
None. |
|
ContactNote | string |
None. |
|
Default | boolean |
None. |
|
InsUpdDate | date |
None. |
|
InsertedBy | string |
None. |
|
InsertedTime | date |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedTime | date |
None. |
Request Formats
application/xml, text/xml
Sample:
<CustomerContacts xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <CustomerID>sample string 1</CustomerID> <ContactTypeID>sample string 2</ContactTypeID> <ContactInTypeID>3</ContactInTypeID> <ContactDescription>sample string 4</ContactDescription> <ContactEntitle>sample string 5</ContactEntitle> <ContactFirstName>sample string 6</ContactFirstName> <ContactLastName>sample string 7</ContactLastName> <ContactGender>sample string 8</ContactGender> <ContactPhoneNo>sample string 9</ContactPhoneNo> <ContactFaxNo>sample string 10</ContactFaxNo> <ContactMobileNo>sample string 11</ContactMobileNo> <ContactEMail>sample string 12</ContactEMail> <ContactClerkID>sample string 13</ContactClerkID> <ContactNote>sample string 14</ContactNote> <Default>true</Default> <InsUpdDate>2024-11-21T15:09:00.8998807+01:00</InsUpdDate> <InsertedBy>sample string 16</InsertedBy> <InsertedTime>2024-11-21T15:09:00.8998807+01:00</InsertedTime> <ModifiedBy>sample string 17</ModifiedBy> <ModifiedTime>2024-11-21T15:09:00.8998807+01:00</ModifiedTime> </CustomerContacts>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateResultName | Description | Type | Additional information |
---|---|---|---|
Keys | Collection of EntityKeyField |
None. |
|
ResultCode | ExternalResultCode |
None. |
|
Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Keys> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> </Keys> <ResultCode>None</ResultCode> <Errors> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> </Errors> </CreateResult>