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": "88d6ccad-3127-4f1e-9d6d-bbe4fbd8c7de", "Name": "sample string 2", "Function": 0, "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": "2024-12-13T18:55:42.2532419+00:00", "Offset": 5, "PeriodDays": 6, "NextRun": "2024-12-13T18:55:42.2532419+00:00", "StartOn": "2024-12-13T18:55:42.2532419+00:00", "Status": 0, "PercentComplete": 9.0, "CronError": "sample string 10" }, "Log": [ { "LogDate": "2024-12-13T18:55:42.2532419+00:00", "Message": "sample string 2" }, { "LogDate": "2024-12-13T18:55:42.2532419+00:00", "Message": "sample string 2" } ], "LastState": true, "LastMessage": "sample string 4", "id": "a98558e7-f29b-455d-8c0b-b5f2467760e7", "ConfigId": "409c3aca-c0d3-45cf-93f7-f8a42d9a25e8" }