api/CustomerContact/Update (POST)

Updates an existing Customer Contact using the supplied update data.
HTTP Method: POST
Required Fields: CUSTOMER_ID, CUST_CONTACT to locate the record and at least one other field to update
Requires an Authentication Token in the AuthToken HTTP header. Authentication Tokens are obtained from api/Security/Login (POST).
Returns the updated Customer Contact.

Request Information

Parameters

NameDescriptionAdditional information
RequestData
This is a JSON object containing Customer Contact update data.

Update Customer Contact Example:
{
  "CUSTOMER_ID": "ABCCORP",
  "CUST_CONTACT": "JHERNANDEZ",
  "E_MAIL": "jhernandez@abccorp.com",
  "NOTES": "Notes can be up to 32,765 characters long.",
  "ATTACHMENTS": "http://www.expandable.com/|C:\\Expandable.docx"
}
Returns 1 Customer Contact if successful.
This is like 'Edit' in Expandable.

Accepted Customer Contact Fields:
ATTACHMENTS, ADDRESS_1, ADDRESS_2, ADDRESS_3, 
CELL_PHONE_NO, CITY, CONTACT_STATUS, COUNTRY, 
CUST_CONTACT, CUSTOMER_ID, E_MAIL, E_MAIL_2, 
FAX_NO, FIRST_NAME, INITIAL, LAST_NAME, 
MAIL_STOP, NOTES, PAGER_NO, PHONE_NO, 
SLX_ID, SOFCT_USER_1, SOFCT_USER_2, SOFCT_USER_3, 
SOFCT_USER_4, SOFCT_USER_5, SOFCT_USER_6, SOFCT_USER_7, 
SOFCT_USER_8, SOFCT_USER_9, SOFCT_USER_10, SOFCT_USER_11, 
SOFCT_USER_12, SOFCT_USER_13, SOFCT_USER_14, SOFCT_USER_15, 
SOFCT_USER_16, STATE, TITLE, WEB_ADDRESS, 
ZIP_CODE

Define this parameter in the request body.

Response Information

Success:
200/OK
Body contains JSON object with updated Customer Contact.

Error:
400/Request JSON is invalid.
401/AuthToken was not provided.
401/AuthToken is malformed.
401/AuthToken is expired.
401/AuthToken login failure.
500/(Message)
Body contains JSON object with Message and MessageCode.

Returned Customer Contact Fields:
ATTACHMENTS, ADDRESS_1, ADDRESS_2, ADDRESS_3, CELL_PHONE_NO, CITY, CONTACT_STATUS, COUNTRY, CREATED_BY, CUST_CONTACT, CUSTOMER_ID, DATE_CREATED, DATE_LAST_UPDT, DATE_MODIFIED, E_MAIL, E_MAIL_2, FAX_NO, FIRST_NAME, INITIAL, LAST_NAME, MAIL_STOP, MODIFIED_BY, NOTES, OPERATOR_ID, PAGER_NO, PHONE_NO, SLX_ID, SOFCT_USER_1, SOFCT_USER_2, SOFCT_USER_3, SOFCT_USER_4, SOFCT_USER_5, SOFCT_USER_6, SOFCT_USER_7, SOFCT_USER_8, SOFCT_USER_9, SOFCT_USER_10, SOFCT_USER_11, SOFCT_USER_12, SOFCT_USER_13, SOFCT_USER_14, SOFCT_USER_15, SOFCT_USER_16, STATE, TIME_LAST_UPDT, TITLE, WEB_ADDRESS, ZIP_CODE