Appointments
Cancel an appointment.
Changed onCancel a Leadping callback appointment and invalidate reminders that have yet to be sent. Include the expected revision to detect concurrent changes.
post/appointments/{id}/cancel
Request
- Base URLhttps://api.leadping.ai
- AuthHTTP bearer
Path parameters
id, string required
The appointment identifier.
Request body
Appointment Action Request required
Protects appointment actions against concurrent edits.
expectedRevision, integer
Response
The request completed successfully.
Appointment Response required
An appointment visible to the current user, with history populated on detail requests.
isDemo, boolean
createdAt, string date-time nullable
modifiedAt, string date-time nullable
history, Appointment Activity[]
id, string
leadId, string
leadFirstName, string nullable
leadLastName, string nullable
leadEmail, string email nullable
leadAvatarUrl, string uri nullable
leadName, string
organizationId, string
organizationName, string nullable
assignedToUserId, string
assignedToName, string
startAt, string date-time
endAt, string date-time
timeZoneId, string
title, string
notes, string nullable
status, string
revision, integer
reminderAt, string date-time
dismissedAt, string date-time nullable
Changes
- breaking
removed the media type
text/jsonfrom the request body - info
added the non-success response with the status
- info
added the non-success response with the status
1 more change in this revision
- breaking