POST api/Settings/SavePushNotificationSettings
Request Information
URI Parameters
None.
Body Parameters
PushNotificationSettingModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
UserId | globally unique identifier |
None. |
|
OneSignalPushToken | string |
None. |
|
OneSignalUserId | globally unique identifier |
None. |
|
Messages | boolean |
None. |
|
LevelCompletion | boolean |
None. |
|
ModuleCompletion | boolean |
None. |
|
CourseCompletion | boolean |
None. |
|
StudentBeingIdle | boolean |
None. |
|
DateTimeInst | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "UserId": "86e0e333-0def-4d62-9f8f-e67f029406c3", "OneSignalPushToken": "sample string 3", "OneSignalUserId": "28fd2c6a-cfb5-41c3-a9cb-06f1f88f90e1", "Messages": true, "LevelCompletion": true, "ModuleCompletion": true, "CourseCompletion": true, "StudentBeingIdle": true, "DateTimeInst": "2025-08-29T01:36:31.1552734+00:00" }
application/octet-stream, text/plain
Sample:
{"Id":1,"UserId":"86e0e333-0def-4d62-9f8f-e67f029406c3","OneSignalPushToken":"sample string 3","OneSignalUserId":"28fd2c6a-cfb5-41c3-a9cb-06f1f88f90e1","Messages":true,"LevelCompletion":true,"ModuleCompletion":true,"CourseCompletion":true,"StudentBeingIdle":true,"DateTimeInst":"2025-08-29T01:36:31.1552734+00:00"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream, text/plain
Sample:
Sample not available.