Create Schedule Override

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

Creates a schedule override for the specified user and schedule

Request Params

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

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&quot;requestId&quot;:&quot;exercitation qui occaecat minim&quot;,&quot;took&quot;:0,&quot;data&quot;:{&quot;alias&quot;:&quot;eu Lorem Excepteur consequat&quot;}}