POST v1/Customer/CustomerContactInsert
Request Information
URI Parameters
None.
Body Parameters
Collection of CustomerContactInsertRequestName | Description | Type | Additional information |
---|---|---|---|
CustomerId | integer |
Required |
|
Salutation | string |
None. |
|
FirstName | string |
None. |
|
MiddleName | string |
None. |
|
LastName | string |
None. |
|
Suffix | string |
None. |
|
Title | string |
None. |
|
Company | string |
None. |
|
Active | boolean |
None. |
|
ContactTypeID | integer |
None. |
|
Comment | string |
None. |
|
Address1 | string |
None. |
|
Address2 | string |
None. |
|
Address3 | string |
None. |
|
City | string |
None. |
|
CountryCode | string |
None. |
|
ZipCode | string |
None. |
|
StateCode | string |
None. |
|
BusinessPhone | string |
None. |
|
BusinessPhoneExtension | string |
None. |
|
OtherPhone | string |
None. |
|
OtherPhoneExtension | string |
None. |
|
Fax | string |
None. |
|
FaxExtension | string |
None. |
|
BusinessEmail | string |
None. |
|
OtherEmail | string |
None. |
|
UDF1 | string |
None. |
|
UDF2 | string |
None. |
|
UDF3 | string |
None. |
|
UDF4 | string |
None. |
|
UDF5 | string |
None. |
|
UDF6 | string |
None. |
|
UDF7 | string |
None. |
|
UDF8 | string |
None. |
|
UDF9 | string |
None. |
|
UDF10 | string |
None. |
|
UDF11 | string |
None. |
|
UDF12 | string |
None. |
|
UDF13 | string |
None. |
|
UDF14 | string |
None. |
|
UDF15 | string |
None. |
|
UDF16 | string |
None. |
|
UDF17 | string |
None. |
|
UDF18 | string |
None. |
|
UDF19 | string |
None. |
|
UDF20 | string |
None. |
|
UDF21 | string |
None. |
|
UDF22 | string |
None. |
|
UDF23 | string |
None. |
|
UDF24 | string |
None. |
|
UDF25 | string |
None. |
|
UDF26 | string |
None. |
|
UDF27 | string |
None. |
|
UDF28 | string |
None. |
|
UDF29 | string |
None. |
|
UDF30 | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "CustomerId": 1, "Salutation": "sample string 2", "FirstName": "sample string 3", "MiddleName": "sample string 4", "LastName": "sample string 5", "Suffix": "sample string 6", "Title": "sample string 7", "Company": "sample string 8", "Active": true, "ContactTypeID": 1, "Comment": "sample string 9", "Address1": "sample string 10", "Address2": "sample string 11", "Address3": "sample string 12", "City": "sample string 13", "CountryCode": "sample string 14", "ZipCode": "sample string 15", "StateCode": "sample string 16", "BusinessPhone": "sample string 17", "BusinessPhoneExtension": "sample string 18", "OtherPhone": "sample string 19", "OtherPhoneExtension": "sample string 20", "Fax": "sample string 21", "FaxExtension": "sample string 22", "BusinessEmail": "sample string 23", "OtherEmail": "sample string 24", "UDF1": "sample string 25", "UDF2": "sample string 26", "UDF3": "sample string 27", "UDF4": "sample string 28", "UDF5": "sample string 29", "UDF6": "sample string 30", "UDF7": "sample string 31", "UDF8": "sample string 32", "UDF9": "sample string 33", "UDF10": "sample string 34", "UDF11": "sample string 35", "UDF12": "sample string 36", "UDF13": "sample string 37", "UDF14": "sample string 38", "UDF15": "sample string 39", "UDF16": "sample string 40", "UDF17": "sample string 41", "UDF18": "sample string 42", "UDF19": "sample string 43", "UDF20": "sample string 44", "UDF21": "sample string 45", "UDF22": "sample string 46", "UDF23": "sample string 47", "UDF24": "sample string 48", "UDF25": "sample string 49", "UDF26": "sample string 50", "UDF27": "sample string 51", "UDF28": "sample string 52", "UDF29": "sample string 53", "UDF30": "sample string 54" }, { "CustomerId": 1, "Salutation": "sample string 2", "FirstName": "sample string 3", "MiddleName": "sample string 4", "LastName": "sample string 5", "Suffix": "sample string 6", "Title": "sample string 7", "Company": "sample string 8", "Active": true, "ContactTypeID": 1, "Comment": "sample string 9", "Address1": "sample string 10", "Address2": "sample string 11", "Address3": "sample string 12", "City": "sample string 13", "CountryCode": "sample string 14", "ZipCode": "sample string 15", "StateCode": "sample string 16", "BusinessPhone": "sample string 17", "BusinessPhoneExtension": "sample string 18", "OtherPhone": "sample string 19", "OtherPhoneExtension": "sample string 20", "Fax": "sample string 21", "FaxExtension": "sample string 22", "BusinessEmail": "sample string 23", "OtherEmail": "sample string 24", "UDF1": "sample string 25", "UDF2": "sample string 26", "UDF3": "sample string 27", "UDF4": "sample string 28", "UDF5": "sample string 29", "UDF6": "sample string 30", "UDF7": "sample string 31", "UDF8": "sample string 32", "UDF9": "sample string 33", "UDF10": "sample string 34", "UDF11": "sample string 35", "UDF12": "sample string 36", "UDF13": "sample string 37", "UDF14": "sample string 38", "UDF15": "sample string 39", "UDF16": "sample string 40", "UDF17": "sample string 41", "UDF18": "sample string 42", "UDF19": "sample string 43", "UDF20": "sample string 44", "UDF21": "sample string 45", "UDF22": "sample string 46", "UDF23": "sample string 47", "UDF24": "sample string 48", "UDF25": "sample string 49", "UDF26": "sample string 50", "UDF27": "sample string 51", "UDF28": "sample string 52", "UDF29": "sample string 53", "UDF30": "sample string 54" } ]
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of CustomerContactResponseName | Description | Type | Additional information |
---|---|---|---|
ContactID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ContactID": 1 }, { "ContactID": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfCustomerContactResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <CustomerContactResponse> <ContactID>1</ContactID> </CustomerContactResponse> <CustomerContactResponse> <ContactID>1</ContactID> </CustomerContactResponse> </ArrayOfCustomerContactResponse>