Skip to content

Get Appointment change history

Request

Returns the audit trail of an Appointment: creation, edits, deletion and restoration, with the Business User who made each change and the values before (from) and after (to) it.

Only the fields that changed are filled in from and to; unchanged fields are null (or an empty services array).

Client phone numbers are partially masked when the Business User has no access to client phone numbers. The Business User needs access to the Appointment.

Security
BearerPartnerUser
Path
location_idintegerrequired

Location ID

Example:4564
record_idintegerrequired

Appointment ID

Example:671750831
Headers
Acceptstringrequired
Default:"application/vnd.api.v2+json"
Content-Typestringrequired
Default:"application/json"
Authorizationstringrequired

Bearer {partner_token}, User {user_token}

curl -i -X GET \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/4564/appointments/671750831/changes \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json'

Responses

OK

Bodyapplication/json
successboolean
dataArray of objects
metaobject
Response
{ "success": true, "data": [ { … } ], "meta": { "count": 1 } }