POST api/DeviceToken/AddDeviceToken
Request Information
URI Parameters
None.
Body Parameters
DeviceTokenInput| Name | Description | Type | Additional information |
|---|---|---|---|
| TokenId | integer |
None. |
|
| DToken | string |
None. |
|
| UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TokenId": 1,
"DToken": "sample string 2",
"UserId": 3
}
application/xml, text/xml
Sample:
<DeviceTokenInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi2.Controllers"> <DToken>sample string 2</DToken> <TokenId>1</TokenId> <UserId>3</UserId> </DeviceTokenInput>
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.