POST User/registerpushid

Register Push ID's.

Request Information

URI Parameters

None.

Body Parameters

RegisterPushIDRequest
NameDescriptionTypeAdditional information
deviceOS

Device OS

string

None.

deviceId

Device ID

string

None.

token

API access token

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "deviceOS": "sample string 1",
  "deviceId": "sample string 2",
  "token": "54988c9d-101f-4952-84e9-e8b03f91a0a2"
}

application/xml, text/xml

Sample:
<RegisterPushIDRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.User">
  <token xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models">54988c9d-101f-4952-84e9-e8b03f91a0a2</token>
  <deviceId>sample string 2</deviceId>
  <deviceOS>sample string 1</deviceOS>
</RegisterPushIDRequest>

Response Information

Resource Description

APIResult
NameDescriptionTypeAdditional information
code

API result code

integer

None.

error

API error message

string

None.

APIVersion

API Version

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "APIVersion": 1,
  "code": 200,
  "error": "sample string 2"
}

application/xml, text/xml

Sample:
<APIResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">
  <APIVersion>1</APIVersion>
  <error>sample string 2</error>
</APIResult>