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

NameDescriptionTypeAdditional information
hour

integer

Required

Body Parameters

None.

Response Information

Resource Description

CoreSchedule
NameDescriptionTypeAdditional 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": "1722c101-fac1-4070-9042-67684936b529",
  "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-18T20:21:34.2114893+00:00",
    "Offset": 5,
    "PeriodDays": 6,
    "NextRun": "2024-12-18T20:21:34.2114893+00:00",
    "StartOn": "2024-12-18T20:21:34.2114893+00:00",
    "Status": 0,
    "PercentComplete": 9.0,
    "CronError": "sample string 10"
  },
  "Log": [
    {
      "LogDate": "2024-12-18T20:21:34.2114893+00:00",
      "Message": "sample string 2"
    },
    {
      "LogDate": "2024-12-18T20:21:34.2114893+00:00",
      "Message": "sample string 2"
    }
  ],
  "LastState": true,
  "LastMessage": "sample string 4",
  "id": "5b9f79f5-4c7f-4e68-bcef-19d15d97919b",
  "ConfigId": "6263036d-f054-4813-b705-b8ebae37b4ac"
}