Retrieve Appointments grouped under one attendance identifier as JSON:API resource objects.
Use record_{appointment_id} to retrieve the group containing one Appointment, or visit_{visit_id} to retrieve all Appointments linked to one visit. The attendance_id path parameter and both prefixes are literal wire values.
Related data can be requested by repeating the include parameter. Wire values remain literal API keys: client identifies Booking User data, staff identifies Team Member data, and goods identifies Products. Custom Field Value includes require the corresponding Business User permissions.
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v2/openapi/locations/{location_id}/attendances/{attendance_id}/appointments
- Productionhttps://api.alteg.io/api/v2/locations/{location_id}/attendances/{attendance_id}/appointments
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v2/openapi/locations/{location_id}/attendances/record_12345/appointments?include=client' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'Response
{ "data": [ { … } ], "included": [ { … } ] }