Create Schedule

POST {{baseUrl}}/v2/schedules

Creates a new schedule

Request Body

{"name"=>"<string>", "description"=>"<string>", "timezone"=>"<string>", "enabled"=>"<boolean>", "ownerTeam"=>{"id"=>"<string>", "name"=>"<string>"}, "rotations"=>[{"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;eiusmod in&quot;,&quot;took&quot;:0,&quot;data&quot;:{&quot;id&quot;:&quot;officia id minim pariatur&quot;,&quot;name&quot;:&quot;et consequat veniam laboris&quot;,&quot;enabled&quot;:true}}