POST api/notifications/devicetoken
Request Information
URI Parameters
None.
Body Parameters
SecurityUserDeviceDTOName | Description | Type | Additional information |
---|---|---|---|
SecurityUserDeviceId | globally unique identifier |
None. |
|
SecurityUserId | globally unique identifier |
None. |
|
DeviceId | string |
None. |
|
DeviceModel | string |
None. |
|
DevicePlatform | string |
None. |
|
DeviceVersion | string |
None. |
|
DeviceNotificationToken | string |
None. |
|
NotificationsEnabled | boolean |
None. |
|
DatetimeModified | date |
None. |
|
RefreshToken | string |
None. |
|
ApplicationVersion | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SecurityUserDeviceId": "1c12d476-9233-4189-85d6-9f40a8a6d1aa", "SecurityUserId": "a38e22c2-9a64-4f42-9125-e04916fac0d6", "DeviceId": "sample string 3", "DeviceModel": "sample string 4", "DevicePlatform": "sample string 5", "DeviceVersion": "sample string 6", "DeviceNotificationToken": "sample string 7", "NotificationsEnabled": true, "DatetimeModified": "2024-09-19T10:28:25.9006083-05:00", "RefreshToken": "sample string 10", "ApplicationVersion": "sample string 11" }
application/xml, text/xml
Sample:
<SecurityUserDeviceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DTO"> <ApplicationVersion>sample string 11</ApplicationVersion> <DatetimeModified>2024-09-19T10:28:25.9006083-05:00</DatetimeModified> <DeviceId>sample string 3</DeviceId> <DeviceModel>sample string 4</DeviceModel> <DeviceNotificationToken>sample string 7</DeviceNotificationToken> <DevicePlatform>sample string 5</DevicePlatform> <DeviceVersion>sample string 6</DeviceVersion> <NotificationsEnabled>true</NotificationsEnabled> <RefreshToken>sample string 10</RefreshToken> <SecurityUserDeviceId>1c12d476-9233-4189-85d6-9f40a8a6d1aa</SecurityUserDeviceId> <SecurityUserId>a38e22c2-9a64-4f42-9125-e04916fac0d6</SecurityUserId> </SecurityUserDeviceDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JsonResultOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Content | boolean |
None. |
|
SerializerSettings | JsonSerializerSettings |
None. |
|
Encoding | Encoding |
None. |
|
Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.