v1
latestOpenAPI 3.0.32026-07-26229361630.0 KBReschedule Appointment
Overview
This API is used to reschedule an appointment. Rescheduling does not update the existing appointment. Instead, a brand new appointment is created with the supplied start_time and end_time, while the previous appointment's status is marked as RES (which represents rescheduled).
The newly created appointment carries a prev_aids field — an array containing the ids of the previous, rescheduled appointment(s). Each previous appointment in turn carries a next_aid field, which holds the id of the next appointment it was rescheduled to. This forms a linked chain across the reschedule history.
The response of this API is the new appointment that is created as a result of the reschedule.
Path parameters
The id (aid) of the existing appointment to reschedule. When partner_appointment_id is supplied, this is treated as the partner appointment id.
Headers
Request body
Example request
{
"start_time": 1730189586,
"end_time": 1730193186
}Response
OK — the newly created (rescheduled) appointment.