POST
/
generate-potential-visit-from-service-bundle
curl --request POST \
  --url https://api.axlehealth.com/api/v2-stable/generate-potential-visit-from-service-bundle \
  --header 'Content-Type: application/json' \
  --data '{
  "service_area_id": "504969b7-1b55-4852-8f10-b7e137188b1b",
  "address": {
    "line1": "123 Main St",
    "line2": "",
    "city": "Anytown",
    "state": "CA",
    "zip_code": "12345"
  },
  "clinic_id": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
  "patient_id": "e4c5371b-d421-4e41-aedc-9294fcd6323b",
  "service_bundle_id": "1a52ddac-f526-4b56-ab5e-a7416c381812"
}'
{
  "potential_visit": {
    "service_area_id": "a2b34371-99d2-4e7e-9d05-dc56e168b2aa",
    "address": {
      "line1": "123 Main St",
      "line2": "",
      "city": "Anytown",
      "state": "CA",
      "zip_code": "12345"
    },
    "clinic_id": "<string>",
    "duration_minutes": 60,
    "clinician_appointments": [
      {
        "clinician_appointment_id": "3b5123fe-a20a-4a21-a057-76f066730421",
        "is_virtual": true,
        "start_offset_minutes": 123,
        "duration_override_minutes": 123,
        "created_from_service_bundle_clinician_appointment_template_id": "2cd1c5c3-6e08-4673-b307-dc95ac4c4d3e"
      }
    ],
    "created_from_service_bundle_id": "e442baec-b574-49ce-8c7d-4d1400bab098",
    "encounters": [
      {
        "patient_id": "e4c5371b-d421-4e41-aedc-9294fcd6323b",
        "clinician_appointment_id": "3b5123fe-a20a-4a21-a057-76f066730421",
        "services": [
          {
            "service_id": "d0e8a28b-ebb2-4b3f-b934-890b1bc4e857"
          }
        ]
      }
    ]
  }
}

Body

application/json

Response

200
application/json

Successful response

The response is of type object.