Follow

Get Appointments

Overview

This code allows you to obtain a list of appointments from Pabau.

Endpoint

GET /OAuth2/appointments/get_appointments.php

Route

GET /OAuth2/appointments/get_appointments.php?key=123&date=23-10-2017

Parameters

Below are a list of the attributes you can currently pass into Pabau.

* = Required

Name Description
date required  d-m-Y (the date you wish to retrieve appointments for.
key required  Your API key.
contact_id   the client you wish to retrieve the appointments for.

 

Sample Response

"id": "5588510971",
"service_id": "21188155",
"appointment_service": "Consultation",
"start_date": "2018-08-30",
"start_time": "11:00:00",
"end_time": "11:30:00",
"user_id": "1341",
"customer_name": "Joe Bloggs",
"mobile": "07802597657",
"appointment_status": "complete",
"color": "#b3ccff",
"notes": null,
"customer_id": "400954"

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.