View working hours
This endpoint returns the working hours of the specified location. Every filter is optional.
Authorization
Authorization In: header
Query Parameters
Used to scope the request to the specified institution
Used to scope the request to the specified location
int32First item of the current page. Starts empty
Last item of the current page. Starts empty
Number of results to return per page. Maximum allowed amount is 1000.
int325Filter for specific provider
int32Filter for specific operatory
int32Filter by specific label
int32Filter by source of working hour
Value in
- "manual"
- "synced"
true returns only active records, false only inactive. Defaults to true
trueFilter out working hours configured for specific dates in the past
falseResources to be included in the response
Header Parameters
The NexHealth API version
"v3.0.0"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/working_hours?subdomain=string&location_id=0&provider_id=7&operatory_id=149&label_id=11&source=manual&active=true&ignore_past_dates=false" \ -H "Nex-Api-Version: v3.0.0"{ "code": false, "description": "Description", "error": [ "Error message" ], "data": [ { "id": 12, "provider_id": 7, "location_id": 3, "operatory_id": 149, "begin_time": "10:30", "end_time": "17:00", "days": [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" ], "specific_date": "2022-11-03", "custom_recurrence": { "num": 3, "unit": "day", "ref": "2022-11-03" }, "tz_offset": "-0700", "active": true, "source": "synced", "label": { "id": 113, "location_id": 115, "name": "New patient appointments" }, "appointment_types": [ { "id": 1, "name": "Medical", "parent_type": "Institution", "parent_id": 1, "minutes": 15, "bookable_online": false } ] } ], "page_info": { "has_previous_page": false, "has_next_page": false, "start_cursor": "AAAAA", "end_cursor": "BBBBBB" }}