| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
the actual ID of the device subscription in the database (usually not required) |
integer |
None. |
| DeviceToken |
The device toekn |
string |
Required |
| UserId |
UserId |
string |
None. |
| LoginName |
login name (declared by the app), in case the api is configured without authentication |
string |
None. |
| BadgeCount |
badge count |
integer |
None. |
| IsActive |
true means the device is active |
boolean |
None. |
| IsRegistrated |
true means the device is already registered in Azure |
boolean |
None. |
| isDoNotDisturb |
true -> device has enabled 'do not disturb' |
boolean |
None. |
| DoNotDisturbStart |
datetime start of the do not disturb time range (UTC) |
date |
None. |
| DoNotDisturbEnd |
datetime end of the do not disturb time range (UTC) |
date |
None. |
| NotificationSetting |
Notification settings |
NotificationSettings |
None. |
| System |
Must be "apple" or "gcm" (or another Azure valid notification system), default is apple |
string |
None. |
| Guid |
a GUID that is generated by the notification service in order to use TAG notification in azure. |
string |
None. |
| TimeZoneInfo |
TimeZoneInfo (ex : Europe/Paris) |
string |
None. |