MobileConnect Application Server

<back to all web services

AddOrUpdateCustomerRequest

The following routes are available for this service:
All Verbs/customer/addorupdate/

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/AddOrUpdateCustomerRequest HTTP/1.1 
Host: 185.179.20.77 
Content-Type: application/json
Content-Length: length

{"Customer":{"ReferId":0,"Name":"String","Created":"\/Date(-62135596800000)\/","Modified":"\/Date(-62135596800000)\/","Contact":"String","Description":"String","Notes":"String","Email":"String","Telephone":"String","Mobile":"String","Location":"String","LocationReferId":0,"DataAccessGroup":"String","CreationSource":"Unknown","Fields":[{"ReferUid":"00000000000000000000000000000000","Name":"String","Value":"String","Type":"String","Created":"\/Date(-62135596800000)\/","Modified":"\/Date(-62135596800000)\/","Notes":"String","Deleted":false}],"CustomFieldId":0,"DataAccessGroupId":0,"CustomerReferenceNumber":0,"CustomerReferenceCode":"String","Deleted":false,"CustomSubGroupId":0},"SessionUid":"00000000000000000000000000000000","DeviceSerialNumber":"String","GeneratedAt":"\/Date(-62135596800000)\/"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ReferId":0,"Server":"String","ProcessedAt":"\/Date(-62135596800000)\/","Result":"Unknown","ServerErrorDetails":{"Code":"ClientDataSubmissionFailure","Description":"String","AdditionalMessages":["String"]}}