POST api/AddPushToken
Request Information
URI Parameters
None.
Body Parameters
PushTokenName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Token | string |
None. |
|
OS | string |
None. |
|
LangID | integer |
None. |
|
RegisteredUserId | globally unique identifier |
None. |
|
CreationDate | date |
None. |
|
ModifiedAt | date |
None. |
|
OSVersion | string |
None. |
|
AppVersion | string |
None. |
|
DeviceVendor | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Token": "sample string 2", "OS": "sample string 3", "LangID": 4, "RegisteredUserId": "b8efde55-ac5d-424a-8512-96fc797ad738", "CreationDate": "2024-12-23T05:20:38.0356857-06:00", "ModifiedAt": "2024-12-23T05:20:38.0356857-06:00", "OSVersion": "sample string 6", "AppVersion": "sample string 7", "DeviceVendor": "sample string 8" }
application/xml, text/xml
Sample:
<PushToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.Entities"> <AppVersion>sample string 7</AppVersion> <CreationDate>2024-12-23T05:20:38.0356857-06:00</CreationDate> <DeviceVendor>sample string 8</DeviceVendor> <Id>1</Id> <LangID>4</LangID> <ModifiedAt>2024-12-23T05:20:38.0356857-06:00</ModifiedAt> <OS>sample string 3</OS> <OSVersion>sample string 6</OSVersion> <RegisteredUserId>b8efde55-ac5d-424a-8512-96fc797ad738</RegisteredUserId> <Token>sample string 2</Token> </PushToken>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |