Tigris Social Api

<back to all web services

CreateUserDevice

The following routes are available for this service:
POST/UserDeviceCreates a new user and device mapping
Parameters:
NameParameterData TypeRequiredDescription
tigrisUserIdbodystringYesThe TigrisId field is a GUID uniquely identifying the Tigris user.
deviceTokenbodystringYesThe DeviceToken field is a string identifying the Device.

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/CreateUserDevice HTTP/1.1 
Host: api.tigris.mymitchell.com 
Content-Type: application/json
Content-Length: length

{"tigrisUserId":"00000000000000000000000000000000","deviceToken":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"tigrisUserId":"00000000000000000000000000000000","deviceToken":"String","createdTime":"\/Date(-62135596800000-0000)\/","updatedTime":"\/Date(-62135596800000-0000)\/"}