Working Hours

View working hour labels

GET
/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

Formatint32
search_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.

Formatint32
Default5

Header 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"  }}