All Verbs | /service/UploadContacts |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ContactIds | query | string[] | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Contacts | form | List<Contacts> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ConID | form | string | No | |
strCustomerID | form | string | No | |
strContactName | form | string | No | |
strEmail | form | string | No | |
strPhone | form | string | No | |
ysnPrimary | form | bool? | No | |
strTitle | form | string | No | |
strMobilePhone | form | string | No | |
strFAX | form | string | No | |
ysnNew | form | bool? | No | |
ysnModified | form | bool? | No | |
strExtension | form | string | No | |
ysnNotification | form | bool? | No | |
strNotificationType | form | string | No | |
strNotificationMethod | form | string | No | |
ysnExported | form | bool? | No | |
strPhoneOther | form | string | No | |
strCustom1 | form | string | No | |
strCustom2 | form | string | No | |
strCustom3 | form | string | No | |
strCustom4 | form | string | No | |
strCustom5 | form | string | No | |
strCustom6 | form | string | No | |
strCustom7 | form | string | No | |
strCustom8 | form | string | No | |
strCustom9 | form | string | No | |
strCustom10 | form | string | No | |
strCustom11 | form | string | No | |
strCustom12 | form | string | No | |
strCustom13 | form | string | No | |
strCustom14 | form | string | No | |
strCustom15 | form | string | No | |
strCreatedBy | form | string | No | |
dtmCreated | form | DateTime? | No | |
ysnShipToPrimary | form | bool | No | |
ysnSoldToPrimary | form | bool | No | |
ysnActive | form | bool | No | |
ysnBillTo | form | bool | No | |
ysnSoldTo | form | bool | No | |
ysnShipTo | form | bool | No | |
ysnNonEditable | form | bool? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /service/UploadContacts HTTP/1.1
Host: www.bernhardt.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"contactIds":["String"]}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"contacts":[{"conID":"String","strCustomerID":"String","strContactName":"String","strEmail":"String","strPhone":"String","ysnPrimary":false,"strTitle":"String","strMobilePhone":"String","strFAX":"String","ysnNew":false,"ysnModified":false,"strExtension":"String","ysnNotification":false,"strNotificationType":"String","strNotificationMethod":"String","ysnExported":false,"strPhoneOther":"String","strCustom1":"String","strCustom2":"String","strCustom3":"String","strCustom4":"String","strCustom5":"String","strCustom6":"String","strCustom7":"String","strCustom8":"String","strCustom9":"String","strCustom10":"String","strCustom11":"String","strCustom12":"String","strCustom13":"String","strCustom14":"String","strCustom15":"String","strCreatedBy":"String","dtmCreated":"0001-01-01T00:00:00.0000000Z","ysnShipToPrimary":false,"ysnSoldToPrimary":false,"ysnActive":false,"ysnBillTo":false,"ysnSoldTo":false,"ysnShipTo":false,"ysnNonEditable":false}]}