MobileConnect Application Server

<back to all web services

AddOrUpdateDataItem

The following routes are available for this service:
All Verbs/dataitem/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/oneway/AddOrUpdateDataItem HTTP/1.1 
Host: 185.179.20.77 
Content-Type: application/json
Content-Length: length

{"MatchFilter":"ReferUid","DataItem":{"ReferUid":"00000000000000000000000000000000","Name":"String","Description":"String","Created":"\/Date(-62135596800000)\/","Modified":"\/Date(-62135596800000)\/","Ordinal":0,"CreationSource":"Unknown","DataAccessGroup":"String","Customer":"String","CustomerReferId":0,"Location":"String","LocationReferId":0,"Type":{"Name":"String","Description":"String","Created":"\/Date(-62135596800000)\/","Modified":"\/Date(-62135596800000)\/","Notes":"String"},"Histories":[{"ReferId":0,"Timestamp":"\/Date(-62135596800000)\/","Event":"String","Notes":"String","UserName":"String","UserReferUid":"00000000000000000000000000000000"}],"Fields":[{"ReferUid":"00000000000000000000000000000000","Name":"String","Value":"String","Type":"String","Created":"\/Date(-62135596800000)\/","Modified":"\/Date(-62135596800000)\/","Notes":"String","Deleted":false}]},"SessionUid":"00000000000000000000000000000000","DeviceSerialNumber":"String","GeneratedAt":"\/Date(-62135596800000)\/"}