List appointment enquiries
Use this endpoint to retrieve a list of Sessions.
Query parameters
Filter the list of sessions by site.
The page to retrieve results from
Include only sessions with this ID.
Include sessions on this date.
Restrict results to those on or after this date, ISO-8601 YYYY-MM-DD.
Restrict results to those on or before this date, ISO-8601 YYYY-MM-DD.
Include sessions starting on or after this date.
Include sessions starting before this date.
Include sessions of this type.
Include sessions with this recurrence group ("session time").
Include sessions taking place in this room.
Include sessions carried out by this practitioner.
Include sessions taking place in this zone.
Include cancelled sessions.
Only return cancelled sessions.
Include bookings in the response.
Response
The list of Session resources was successfully retrieved.
Example response
{
"data": [
{
"practitioner": {
"id": "5dcb47800000000000000000",
"name": "Jane Doe"
},
"room": {
"id": "5dcb47800000000000000000"
},
"currency": "GBP"
}
],
"meta": {
"from": 1,
"to": 2,
"total": 2,
"current_page": 1,
"last_page": 2,
"per_page": 15,
"path": "http://example.com/api"
},
"links": {
"first": "http://example.com?page=1",
"next": "https://example.com?page=3",
"prev": "https://example.com?page=1",
"last": "https://example.com?page=4"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.