v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Update the schedule of an employee

This API helps you to add, edit, or delete the schedule of the specified employee for any one particular day at a time.

You cannot use this API to simultaneously update the employee's schedule for multiple days.

You must provide appropriate data for the employee_id parameter.

Note: Before using this API, you must first call the GET Retrieve the schedules of employees of a center API. After you retrieve the schedule_id for the required employee, you can then use that unique schedule_id to update the employee's schedule for a specific day.

post/v1/employees/{employee_id}/schedules

Path parameters

employee_idstring required

Unique identifier of the employee.

Request body

RAW_BODYstring

Response

200

successboolean
{"stackTrail":"paths:/v1/employees/{employee_id}/schedules:post:responses:200:content:application/json:schema:properties:error","oasType":"schema","type":"unknown"}

Example response

{
  "success": true
}