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. |
Request Formats
application/json, text/json
Sample:
{ "SecurityUserDeviceId": "ed97c9f8-d32c-49d0-8e8f-172095846463", "SecurityUserId": "b710b996-a521-4c10-ae8d-3aceb4ce31a3", "DeviceId": "sample string 3", "DeviceModel": "sample string 4", "DevicePlatform": "sample string 5", "DeviceVersion": "sample string 6", "DeviceNotificationToken": "sample string 7", "NotificationsEnabled": true, "DatetimeModified": "2025-08-30T16:05:06.3455863-05:00" }
application/xml, text/xml
Sample:
<SecurityUserDeviceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DTO"> <DatetimeModified>2025-08-30T16:05:06.3455863-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> <SecurityUserDeviceId>ed97c9f8-d32c-49d0-8e8f-172095846463</SecurityUserDeviceId> <SecurityUserId>b710b996-a521-4c10-ae8d-3aceb4ce31a3</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.