Skip to main content
GET
/
work_schedules
/
:id
curl -X GET "https://api.clinicavitalis.com/work_schedules/1" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"
{
  "workSchedule": {
    "id": 1,
    "professionalID": 5,
    "dayOfWeek": 1,
    "startTime": "09:00",
    "endTime": "17:30"
  }
}

Authentication

Requires a valid JWT token in the request header.

Path Parameters

id
integer
required
The unique identifier of the work schedule

Response

workSchedule
object
The work schedule object
curl -X GET "https://api.clinicavitalis.com/work_schedules/1" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"
{
  "workSchedule": {
    "id": 1,
    "professionalID": 5,
    "dayOfWeek": 1,
    "startTime": "09:00",
    "endTime": "17:30"
  }
}

Notes

  • The schedule ID must be valid and exist in the system
  • This endpoint does not include associated professional information (use GET /work_schedules with filters if needed)

Build docs developers (and LLMs) love