Create Schedule Override
POST {{baseUrl}}/v2/schedules/:identifier/overrides?scheduleIdentifierType=id
Creates a schedule override for the specified user and schedule
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
scheduleIdentifierType | string | Type of the identifier that is provided as an in-line parameter. Possible values are 'id' or 'name' |
Request Body
{"user"=>{"type"=>"<string>", "id"=>"<string>"}, "startDate"=>"<dateTime>", "endDate"=>"<dateTime>", "alias"=>"<string>", "rotations"=>[{"id"=>"<string>", "name"=>"<string>"}, {"id"=>"<string>", "name"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"requestId":"exercitation qui occaecat minim","took":0,"data":{"alias":"eu Lorem Excepteur consequat"}}