Cancel an external booking
DELETE/v1/partner/external_bookings/:external_booking_id
Cancels a booking using the external booking ID reference, which is the booking reference from the external system integrated with Solv (typically an EHR/EMR). The cancellation is for a booking created at a specific external location as part of an upstream integration.
Token scope:{'scope': 'write:bookings'}
Request​
Path Parameters
external_booking_id External Booking Idrequired
The unique identifier of the external booking to be cancelled.
- application/json
Body
required
cancellation_reason Cancellation Reason (string)
The reason for cancelling the booking.
external_location_id External Location Id (string)required
The identifier of the external location.
service_id Service Id (string)required
The identifier of the service integration.
Responses​
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
address_city Address City (string)
address_state Address State (string)
address_street Address Street (string)
address_street_secondary Address Street Secondary (string)
address_zip Address Zip (string)
appointment_date Appointment Date (string)required
birth_date Birth Date (string)required
birth_sex Birth Sex (string)
custom_booking_management_url Custom Booking Management Url (string)
email Email (string)required
emr_booking_id Emr Booking Id (string)
first_name First Name (string)required
gender Gender (string)
id Id (integer)required
is_walk_in Is Walk In (boolean)required
last_name Last Name (string)required
location_id Location Id (integer)required
paperwork_status Paperwork Status (string)required
phone Phone (string)required
reason Reason (string)required
status Status (string)required
{
"address_city": "string",
"address_state": "string",
"address_street": "string",
"address_street_secondary": "string",
"address_zip": "string",
"appointment_date": "string",
"birth_date": "string",
"birth_sex": "string",
"custom_booking_management_url": "string",
"email": "string",
"emr_booking_id": "string",
"first_name": "string",
"gender": "string",
"id": 0,
"is_walk_in": true,
"last_name": "string",
"location_id": 0,
"paperwork_status": "string",
"phone": "string",
"reason": "string",
"status": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...