Update the blockout time of an employee

Use this API to update the blockout time of the specified employee.

error Object

codemessage
503BlockOutTimeRequest object is not supplied.
503Any one of center_id, block_out_time_id, employee_id, block_out_time_type_id, start_time, or end_time are missing.
1004time difference between start_time and end_time should be greater than zero and should not exceed 12hours.
1004Not a valid center. Please check.
1004Please send a valid employee_id.
1004Requested start time and end time are not in center working hours.
449Schedule for employee is not set.
438User does not have the required permission to perform this action.
503Any one of the time_period, rec_start_date or interval is missing while creating recurring block out time.
503time_period or rec_start_date is missing while creating recurring block out time.
503both occurences or rec_end_date are passed.
503Invalid interval or occurences or rec_end_date are passed.
4023cannot create the recurrence_id with given details.
4023cannot update the recurrence_id with given details.
4023failure at api level while getting block out list.
Language
Authorization
Header
Click Try It! to start a request and see the response here!