POST api/pushnotifications/registerdevicetoken
Request Information
URI Parameters
None.
Body Parameters
RegisterPushDeviceTokenRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| PushToken | string |
None. |
|
| Platform | MobileDevicePlatforms |
None. |
|
| DeviceId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustId": 1,
"CustomerId": 2,
"PushToken": "sample string 3",
"Platform": 0,
"DeviceId": "sample string 4"
}
application/xml, text/xml
Sample:
<RegisterPushDeviceTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <CustId>1</CustId> <CustomerId>2</CustomerId> <DeviceId>sample string 4</DeviceId> <Platform>UNKNOWN</Platform> <PushToken>sample string 3</PushToken> </RegisterPushDeviceTokenRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RegisterPushDeviceTokenResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Registered | boolean |
None. |
|
| Id | integer |
None. |
|
| CustId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| PushToken | string |
None. |
|
| Platform | MobileDevicePlatforms |
None. |
|
| DeviceId | string |
None. |
|
| IsActive | boolean |
None. |
|
| LastSeenAt | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"Registered": true,
"Id": 2,
"CustId": 3,
"CustomerId": 4,
"PushToken": "sample string 5",
"Platform": 0,
"DeviceId": "sample string 6",
"IsActive": true,
"LastSeenAt": "2026-08-18T04:40:58.9740001+03:00"
}
application/xml, text/xml
Sample:
<RegisterPushDeviceTokenResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <CustId>3</CustId> <CustomerId>4</CustomerId> <DeviceId>sample string 6</DeviceId> <Id>2</Id> <IsActive>true</IsActive> <LastSeenAt>2026-08-18T04:40:58.9740001+03:00</LastSeenAt> <Platform>UNKNOWN</Platform> <PushToken>sample string 5</PushToken> <Registered>true</Registered> </RegisterPushDeviceTokenResult>