Create Schedule Rotation

POST {{baseUrl}}/v2/schedules/:identifier/rotations?scheduleIdentifierType=id

Creates a new schedule rotation

Request Params

KeyDatatypeRequiredDescription
scheduleIdentifierTypestringType 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

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&quot;requestId&quot;:&quot;ipsum Excepteur magna ut&quot;,&quot;took&quot;:0,&quot;result&quot;:&quot;ipsum culpa&quot;,&quot;data&quot;:{&quot;id&quot;:&quot;nulla dolor Lorem non&quot;,&quot;name&quot;:&quot;dolor magna sunt consequat&quot;}}