POST
/
visit-requests
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": {
    "earliest_start_datetime": "2023-11-07T05:31:56Z",
    "latest_end_datetime": "2023-11-07T05:31:56Z"
  },
  "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"
}

Body

application/json

Response

201 - application/json

Visit request created successfully

The response is of type object.