Program schedule

A program schedule.

Set actual program schedule

Set the actual start and end time values with the plan start and end time values of the activities for a program.

SecurityJWT
Request
path Parameters
program
required
string or integer

The id/hash of the program.

Request Body schema: application/json

A JSON object containing program schedule information.

overwrite
boolean
Default: false

The overwrite flag for the activities of the program.

With this flag set, the actual start and end time values which are not null will be overwritten as well.

finished
boolean
Default: false

The finished flag for the activities of the program.

With this flag set, the actual start and end time values for finished activities will be set as well.

Responses
200

Successful operation

404

Not Found

422

Unprocessable Content

put/programschedule/{program}/actual
Request samples
application/json
{
  • "overwrite": true,
  • "finished": false
}
Response samples
application/json
{
  • "success": true,
  • "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
  • "data": { },
  • "timestamp": 1660749158939
}

Set plan program schedule

Set the plan start and end time values with the actual start and end time values of the activities for a program.

SecurityJWT
Request
path Parameters
program
required
string or integer

The id/hash of the program.

Request Body schema: application/json

A JSON object containing program schedule information.

overwrite
boolean
Default: false

The overwrite flag for the activities of the program.

With this flag set, the plan start and end time values which are not null will be overwritten as well.

finished
boolean
Default: false

The finished flag for the activities of the program.

With this flag set, the plan start and end time values for finished activities will be set as well.

Responses
200

Successful operation

404

Not Found

422

Unprocessable Content

put/programschedule/{program}/plan
Request samples
application/json
{
  • "overwrite": true,
  • "finished": false
}
Response samples
application/json
{
  • "success": true,
  • "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
  • "data": { },
  • "timestamp": 1660749992692
}