Create Schedule Rotation
POST {{baseUrl}}/v2/schedules/:identifier/rotations?scheduleIdentifierType=id
Creates a new schedule rotation
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
{"startDate"=>"<dateTime>", "type"=>"<string>", "participants"=>[{"type"=>"<string>", "id"=>"<string>"}], "name"=>"<string>", "endDate"=>"<dateTime>", "length"=>"<integer>", "timeRestriction"=>{"type"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"requestId":"ipsum Excepteur magna ut","took":0,"result":"ipsum culpa","data":{"id":"nulla dolor Lorem non","name":"dolor magna sunt consequat"}}