POST api/AddPushToken
Request Information
URI Parameters
None.
Body Parameters
PushToken| Name | 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": "195139b8-6666-4d78-83ab-68c18720bb4c",
"CreationDate": "2025-12-23T02:45:10.1149588-06:00",
"ModifiedAt": "2025-12-23T02:45:10.1149588-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>2025-12-23T02:45:10.1149588-06:00</CreationDate> <DeviceVendor>sample string 8</DeviceVendor> <Id>1</Id> <LangID>4</LangID> <ModifiedAt>2025-12-23T02:45:10.1149588-06:00</ModifiedAt> <OS>sample string 3</OS> <OSVersion>sample string 6</OSVersion> <RegisteredUserId>195139b8-6666-4d78-83ab-68c18720bb4c</RegisteredUserId> <Token>sample string 2</Token> </PushToken>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |