v1
latestOpenAPI 3.1.02026-07-2422707.0 MBUpdate the blockout time of an employee
Use this API to update the blockout time of the specified employee.
put/v1/employees/{employee_id}/blockouttimes/{block_out_time_id}?expand[]=ReccuringDetails
Path parameters
employee_idstring required
Mandatory Unique 32-character identifier of the employee for which you want to update the blockout time.
block_out_time_idstring required
Mandatory Unique 32-character identifier of the employee's blockout ID for which this API updates the corresponding blockout time information.
Response
200
Example response
{
"block_out_times": [
{
"block_out_time_id": "22f82cb4-7d3d-461b-b1f5-02ea71c1dc21",
"employee": {
"id": "1afd493a-4aad-48a3-8f94-9fdea88691ac",
"name": "Ajay Kumar Singh"
},
"block_out_time_type": {
"id": 16,
"name": "Lunch ",
"duration": 60
},
"start_time": "2018-09-07T11:45:00",
"end_time": "2018-09-07T12:45:00",
"start_time_in_center": "2018-09-07T17:15:00",
"end_time_in_center": "2018-09-07T18:15:00",
"recurring_block_out_time": {
"id": "eee25098-f3b2-4591-998e-685361f6f23a",
"time_period": "Daily",
"interval": 1,
"rec_start_date": "2018-09-07T00:00:00",
"occurences": 3
}
}
]
}