POST User/registerpushid
Request Information
URI Parameters
None.
Body Parameters
RegisterPushIDRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| deviceOS | string |
None. |
|
| deviceId | string |
None. |
|
| token | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"deviceOS": "sample string 1",
"deviceId": "sample string 2",
"token": "df457d9f-bf23-4d6b-ae60-f041932669ab"
}
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">df457d9f-bf23-4d6b-ae60-f041932669ab</token> <deviceId>sample string 2</deviceId> <deviceOS>sample string 1</deviceOS> </RegisterPushIDRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| error | string |
None. |
|
| APIVersion | 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>