Get schedule

Returns a schedule data by id

image-png-Mar-22-2024-01-24-05-8317-PM /schedules/{schedule_id}

https://api.oauth.pabau.com/{api_key}/schedules/{schedule_id}

Request

 

Query Parameters:  
api_key *  
schedule_id * System id of the shift requested

Response sample

application/json

{
  "success": true,
  "total": 3,
"schedules": [
    {
    "id": "1",
    "employee_id": "1",
    "user_id": "1",
    "user_name": "Test Pabau",
      "shift_date": "03/04/2024",
      "start_time": "09:00",
      "end_time": "15:00",
    "location": "2",
      "is_holiday": 0
  }
]
}