Create Booking
POST/v1/partner/bookings
Creates a new booking in Solv. The response contains an object that represents the newly created booking.
The endpoint allows partners to create a new booking with various patient details and booking-specific information. The booking status will be set to 'CONFIRMED' if is_walk_in is true, otherwise it will be 'RESERVED'
Token scope:{'scope': 'write:bookings'}
Request​
Query Parameters
allow_walkin_scheduling Allow Walkin Scheduling
- application/json
Body
required
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
attribution Attribution (string)
birth_date Birth Date (string)required
birth_sex Birth Sex (string)
custom_booking_management_url Custom Booking Management Url (string)
email Email (string)
emr_patient_id Emr Patient Id (string)
first_name First Name (string)required
is_walk_in Is Walk In (boolean)
last_name Last Name (string)required
location_id Location Id (integer)required
paperwork_status Paperwork Status (string)
Default value: incomplete
phone Phone (string)required
reason Reason (string)
visit_type_id Visit Type Id (integer)
Responses​
- 200
- 403
- 404
- 422
Successful operation.Returns the created booking object.
- 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"
}
You do not have access to this resource
The resource you're looking for could not be found.
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...