Body
application/json
Response
201 - application/json
Visit request created successfully
The response is of type object
.
curl --request POST \
--url https://api.axlehealth.com/api/v2-stable/visit-requests \
--header 'Content-Type: application/json' \
--data '{
"patient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fulfillment_window": {
"start_date": "2023-11-07",
"end_date": "2023-11-07"
},
"clinician_appointments": [
{
"clinician_appointment_id": "51df646f-20ff-42d1-9a3f-ee3d643abb45",
"clinician_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"encounters": [
{
"clinician_appointment_id": "51df646f-20ff-42d1-9a3f-ee3d643abb45",
"services": [
{
"service_id": "1877d60a-8395-461f-b871-722444fe3245"
}
]
}
],
"state": "PENDING",
"address": {
"line1": "123 Main St.",
"line2": "",
"city": "The City",
"state": "CA",
"zip_code": "90026"
},
"clinic_id": null,
"priority": "STANDARD",
"external_id": "MSN-00100",
"metadata": {}
}'
{
"visit_request_id": "bbde9f02-f23d-4ef0-924f-204674be2d62"
}
Creates a Visit Request.
Visit requests are useful in the situation where we may have some information about a visit but not enough to actually instantiate a new visit model. This is where we would create a Visit Request instead.
curl --request POST \
--url https://api.axlehealth.com/api/v2-stable/visit-requests \
--header 'Content-Type: application/json' \
--data '{
"patient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fulfillment_window": {
"start_date": "2023-11-07",
"end_date": "2023-11-07"
},
"clinician_appointments": [
{
"clinician_appointment_id": "51df646f-20ff-42d1-9a3f-ee3d643abb45",
"clinician_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"encounters": [
{
"clinician_appointment_id": "51df646f-20ff-42d1-9a3f-ee3d643abb45",
"services": [
{
"service_id": "1877d60a-8395-461f-b871-722444fe3245"
}
]
}
],
"state": "PENDING",
"address": {
"line1": "123 Main St.",
"line2": "",
"city": "The City",
"state": "CA",
"zip_code": "90026"
},
"clinic_id": null,
"priority": "STANDARD",
"external_id": "MSN-00100",
"metadata": {}
}'
{
"visit_request_id": "bbde9f02-f23d-4ef0-924f-204674be2d62"
}
Visit request created successfully
The response is of type object
.