Search for consultants in the HCA system by specified fields.
API Reference
/- Create HCA Diary Booking
Search HCA Consultants
Get HCA Consultant Details
Get HCA Consultant Availability
Create HCA Diary Booking
Hero Health Public API (1.0.0)
Download OpenAPI description
Languages
Servers
Mock server
https://developer.herohealth.net/_mock/apis/public-api/openapi/
Staging
https://api.staging.htech.app/
Production
https://api.herohealth.net/
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/booking-hca/consultants
- Staginghttps://api.staging.htech.app/v1/booking-hca/consultants
- Productionhttps://api.herohealth.net/v1/booking-hca/consultants
- curl
- NodeJS
- Ruby
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/booking-hca/consultants?search=string&fields=fields%3Dfirst_name%26fields%3Dlast_name' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/booking-hca/consultants/{gmc_number}
- Staginghttps://api.staging.htech.app/v1/booking-hca/consultants/{gmc_number}
- Productionhttps://api.herohealth.net/v1/booking-hca/consultants/{gmc_number}
- curl
- NodeJS
- Ruby
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/booking-hca/consultants/{gmc_number}?booking_type=initial' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'Response
application/json
{ "hca_consultant_id": "string", "crm_id": "a1cca198-42e1-4e72-a0e1-017dec9db0e1", "provider_type": "string", "professional_registration_number": "string", "provider_main_specialty": "string", "title": "string", "first_name": "string", "last_name": "string", "live_diary_booking_available": true, "availability": [ { … } ] }
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/booking-hca/consultants/{crm_id}/availability
- Staginghttps://api.staging.htech.app/v1/booking-hca/consultants/{crm_id}/availability
- Productionhttps://api.herohealth.net/v1/booking-hca/consultants/{crm_id}/availability
- curl
- NodeJS
- Ruby
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/booking-hca/consultants/{crm_id}/availability?location_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&date_from=2019-08-24&date_to=2019-08-24&booking_type=initial' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'Response
application/json
{ "date_from": "2019-08-24T14:15:22Z", "date_to": "2019-08-24T14:15:22Z", "slots": [ { … } ] }
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/booking-hca/appointments
- Staginghttps://api.staging.htech.app/v1/booking-hca/appointments
- Productionhttps://api.herohealth.net/v1/booking-hca/appointments
- curl
- NodeJS
- Ruby
curl -i -X POST \
https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/booking-hca/appointments \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"consultant_gmc_number": "string",
"booking_type": "initial",
"facility_id": "string",
"date_from": "2019-08-24T14:15:22Z",
"visit_reason_details": {
"selected_speciality": "string",
"reason_for_appointment": "string"
},
"demographics": {
"booking_by": "patient",
"paid_by": "self-pay",
"gp_referral": true,
"insurance_provider": "string",
"insurance_policy_number": "string",
"insurance_authorisation_code": "string",
"previously_been_with_hca": true,
"patient_code": "string",
"title": "string",
"first_name": "string",
"last_name": "string",
"address_1": "string",
"address_2": "string",
"postcode": "string",
"town_city": "string",
"country": "string",
"gender": "Not known",
"date_of_birth": "string",
"email": "user@example.com",
"phone": "string",
"marketing_preference_email": true,
"marketing_preference_phone": true,
"marketing_preference_sms": true,
"marketing_preference_post": true,
"representative_title": "string",
"representative_first_name": "string",
"representative_last_name": "string",
"representative_email": "user@example.com",
"representative_phone": "string",
"representative_relation": "string"
}
}'Response
application/json
{ "date_from": "2019-08-24T14:15:22Z", "date_to": "2019-08-24T14:15:22Z", "hca_reservation_id": "111e9f51-395d-4850-9e33-16fb9a7b74f0", "booking_status": "string", "booking_message": "string" }