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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"requestId":"eiusmod in","took":0,"data":{"id":"officia id minim pariatur","name":"et consequat veniam laboris","enabled":true}}