POST Account/DeviceToken
Sets the device token.
Request Information
URI Parameters
None.
Body Parameters
The data.
DeviceTokenBindingModelName | Description | Type | Additional information |
---|---|---|---|
DonorId |
DonorId in Aversys - Dont send for PCT |
integer |
None. |
DeviceToken |
Device Id |
string |
Required |
OS |
Operation System - iOS or Android |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "DonorId": 1, "DeviceToken": "sample string 1", "OS": "sample string 2" }
application/xml, text/xml
Sample:
<DeviceTokenBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Avertest.Mobile.API.Models.Account"> <DeviceToken>sample string 1</DeviceToken> <DonorId>1</DonorId> <OS>sample string 2</OS> </DeviceTokenBindingModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.