Working Hours
View working hour labels
This endpoint returns working hour labels. Every filter is optional.
Authorization
Authorization Authorization<token>
In: header
Query Parameters
subdomain*string
Used to scope the request to the specified institution
location_id?integer
ID of the associated location. Returns labels tied to the location as well as institution-wide labels available to it
Format
int32search_name?string
Filter working hour labels by search term
active?boolean
Filter by active status.
start_cursor?string
First item of the current page. Starts empty
end_cursor?string
Last item of the current page. Starts empty
per_page?integer
Number of results to return per page. Maximum allowed amount is 1000.
Format
int32Default
5Header Parameters
Nex-Api-Version*string
The NexHealth API version
Default
"v3.0.0"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/working_hour_labels?subdomain=string&location_id=3&search_name=New+patient&active=true" \ -H "Nex-Api-Version: v3.0.0"{ "code": false, "description": "Description", "error": [ "Error message" ], "data": [ { "id": 113, "location_id": 115, "name": "New patient appointments" } ], "page_info": { "has_previous_page": false, "has_next_page": false, "start_cursor": "AAAAA", "end_cursor": "BBBBBB" }}