Appointments
Delete Timetable Appointment
Changed onDelete one Appointment from the timetable by its appointmentId.
If the deleted Appointment belongs to a linked visit, the response returns the remaining related Appointments as a JSON:API collection. Deleting an Appointment without related Appointments returns an empty data array.
post/locations/{location_id}/timetable/appointments/delete
Request
- Base URLhttps://api.alteg.io/api/v2
- AuthHTTP bearer
Path parameters
location_idinteger required
Location ID
Query parameters
includestring[]
Related resources to include in returned Appointments
Headers
Acceptstring required
Required B2B v2 response media type. Use application/vnd.api.v2+json. A charset parameter is also accepted.
Content-Type'application/json' required
Request media type
Authorizationstring required
Bearer {partner_token}, User {user_token}
Request body
Response
Appointment deleted; remaining related Appointments returned
Changes
- breaking
added the new required request property
- warning
removed the request property
- info
response property
data/items/attributes/master_iddeprecated
- breaking