POST api/Settings/UpdateOneSignalData
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": "4a909585-b539-4726-9f51-aa2e1c6853d7", "OneSignalPushToken": "sample string 3", "OneSignalUserId": "f42d6881-1660-4395-880e-2d994f70962c", "Messages": true, "LevelCompletion": true, "ModuleCompletion": true, "CourseCompletion": true, "StudentBeingIdle": true, "DateTimeInst": "2025-08-29T01:34:29.0326057+00:00" }
application/octet-stream, text/plain
Sample:
{"Id":1,"UserId":"4a909585-b539-4726-9f51-aa2e1c6853d7","OneSignalPushToken":"sample string 3","OneSignalUserId":"f42d6881-1660-4395-880e-2d994f70962c","Messages":true,"LevelCompletion":true,"ModuleCompletion":true,"CourseCompletion":true,"StudentBeingIdle":true,"DateTimeInst":"2025-08-29T01:34:29.0326057+00:00"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream, text/plain
Sample:
Sample not available.