POST api/notifications/task/config/time/{hour}
Create or update a CoreSchedule entity to run Daily/Weekly scheduled jobs for Task Notifications
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
hour | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CoreScheduleName | Description | Type | Additional information |
---|---|---|---|
RelationId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Function | CoreScheduleFunction |
None. |
|
Schedule | Schedule |
None. |
|
Log | Collection of CoreScheduleLog |
None. |
|
LastState | boolean |
None. |
|
LastMessage | string |
None. |
|
id | globally unique identifier |
None. |
|
ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "RelationId": "16777e41-1f1d-4d54-892a-98aa67165c64", "Name": "sample string 2", "Function": 1, "Schedule": { "ScheduleType": 0, "Enabled": true, "Days": { "Sunday": true, "Monday": true, "Tuesday": true, "Wednesday": true, "Thursday": true, "Friday": true, "Saturday": true }, "Hour": 2, "DayOfMonth": 3, "LastRun": "2025-04-04T02:27:57.8732448+00:00", "Offset": 5, "PeriodDays": 6, "NextRun": "2025-04-04T02:27:57.8732448+00:00", "StartOn": "2025-04-04T02:27:57.8732448+00:00", "Status": 0, "PercentComplete": 9.0, "CronError": "sample string 10" }, "Log": [ { "LogDate": "2025-04-04T02:27:57.8888679+00:00", "Message": "sample string 2" }, { "LogDate": "2025-04-04T02:27:57.8888679+00:00", "Message": "sample string 2" } ], "LastState": true, "LastMessage": "sample string 4", "id": "4e86e1ac-5231-4b62-b84f-7f48e1898311", "ConfigId": "fc9b3abb-601f-4aa8-9523-f074d9c0f897" }