Get appointments by person

Returns all the appointments per person

image-png-Mar-22-2024-01-24-05-8317-PM/appointments/get-by-person/{user_id}

https://api.oauth.pabau.com/{api_key}/appointments/get-by-person/{user_id}

 

Request

 

Query Parameters:  
api_key *  
user_id * System ID of the user
per_page If not sent, default 20. Max 50
page If not sent, first are returned in ASC order
order ASC or DESC

 

Response sample

application/json

{
  "total": 2,
  "appointments": [
    {
    "customer_name": "Dummy Pabau",
    "Mobile": "+441234123456,
      "id": 95926663,
    "service": "Service Name",
    "user_id": 12345,
    "staff_name": "Dummy Pabau User",
      "start_date": "2024-04-01",
      "start_time": "14:15:00",
      "end_date": 20240401151500,
      "appointment_status": "Waiting",
      "color": "violet",
      "service_id": 3016806,
      "notes": "",
    "customer_id": 34198908,
"location_id": 12345
    },
    {
    "customer_name": "Dummy Pabau 2",
    "Mobile": "+441234123456",
      "id": 95926662,
      "service": "Service 2",
    "user_id": 12345,
    "staff_name": "Dummy Pabau User",
      "start_date": "2024-04-01",
      "start_time": "15:15:00",
      "end_date": 20240401161500,
      "appointment_status": "Waiting",
      "color": "violet",
      "service_id": 3016806,
      "notes": "",
    "customer_id": 34198909,
"location_id": 12345
    }
  ]
}