POST api/User/DeviceToken

Set Device Token for the Current Login.

Request Information

URI Parameters

None.

Body Parameters

DeviceTokens
NameDescriptionTypeAdditional information
DeviceToken

string

Required

DeviceType

DeviceType

Required

Request Formats

application/json, text/json

Sample:
{
  "DeviceToken": "sample string 1",
  "DeviceType": 0
}

application/xml, text/xml

Sample:
<DeviceTokens xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRiSAPI.Models">
  <DeviceToken>sample string 1</DeviceToken>
  <DeviceType>Error</DeviceType>
</DeviceTokens>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.