POST api/notifications/plan/config/time/{hour}
Create or update a CoreSchedule entity to run Daily/Weekly scheduled jobs for Plan 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": "e7f9d0f2-a24d-4e4f-89a9-a524693dd83a", "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:36:33.6625065+00:00", "Offset": 5, "PeriodDays": 6, "NextRun": "2025-04-04T02:36:33.6625065+00:00", "StartOn": "2025-04-04T02:36:33.6625065+00:00", "Status": 0, "PercentComplete": 9.0, "CronError": "sample string 10" }, "Log": [ { "LogDate": "2025-04-04T02:36:33.6625065+00:00", "Message": "sample string 2" }, { "LogDate": "2025-04-04T02:36:33.6625065+00:00", "Message": "sample string 2" } ], "LastState": true, "LastMessage": "sample string 4", "id": "464d0f4d-0407-4525-b662-c50e06d2468a", "ConfigId": "b6ea58ef-99c5-4ccf-bd5f-c2c176568406" }