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 .jsv suffix or ?format=jsv
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.bernhardthospitality.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
contactIds:
[
String
]
}
HTTP/1.1 200 OK Content-Type: text/jsv 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-01, ysnShipToPrimary: False, ysnSoldToPrimary: False, ysnActive: False, ysnBillTo: False, ysnSoldTo: False, ysnShipTo: False, ysnNonEditable: False } ] }