Body
application/json
Response
Successful response with recommended time options
The response is of type object
.
curl --request POST \
--url https://api.axlehealth.com/api/v2-stable/visit-time-options/existing-visit \
--header 'Content-Type: application/json' \
--data '{
"visit_id": "e805c3e1-82db-4be1-a932-7b1cfe0d4fc3",
"search_window": {
"start_datetime": "2024-01-01T01:00:00Z",
"end_datetime": "2024-03-01T01:00:00Z"
},
"clinician_filters": [
{
"clinician_appointment_id": "3b5123fe-a20a-4a21-a057-76f066730421",
"clinicians": [
{
"clinician_id": "261ce2e3-e70b-4828-bb43-690e78b33bc3"
}
]
}
]
}'
{
"recommended_time_options": [
{
"start_datetime": "2024-08-27T13:45:00-05:00",
"end_datetime": "2024-08-27T14:00:00-05:00"
}
]
}
Returns visit time options for rescheduling an existing visit. See Availability for more details.
curl --request POST \
--url https://api.axlehealth.com/api/v2-stable/visit-time-options/existing-visit \
--header 'Content-Type: application/json' \
--data '{
"visit_id": "e805c3e1-82db-4be1-a932-7b1cfe0d4fc3",
"search_window": {
"start_datetime": "2024-01-01T01:00:00Z",
"end_datetime": "2024-03-01T01:00:00Z"
},
"clinician_filters": [
{
"clinician_appointment_id": "3b5123fe-a20a-4a21-a057-76f066730421",
"clinicians": [
{
"clinician_id": "261ce2e3-e70b-4828-bb43-690e78b33bc3"
}
]
}
]
}'
{
"recommended_time_options": [
{
"start_datetime": "2024-08-27T13:45:00-05:00",
"end_datetime": "2024-08-27T14:00:00-05:00"
}
]
}
Successful response with recommended time options
The response is of type object
.