View schedule templates (beta)
🚧 Beta
Send Nex-Api-Version: v3.1.0 to use this endpoint. It is still changing, and access is limited to approved partner institutions. Contact NexHealth before you build on it.
This endpoint returns the EHR schedule templates available to a location, which are the ones belonging to the location and the ones that apply to every location of its data source. Results can be narrowed down with the optional filters.
Request
- Base URLhttps://nexhealth.info
- URLhttps://nexhealth.info/schedule_templates
- AuthAPI key in header Authorization
Query parameters
Used to scope the request to the specified institution
The NexHealth ID of the location
Filter schedule templates by a part of their name
Filter by active status
First 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.
Headers
The NexHealth API version
Response
Successful
Example response
{
"description": "Description",
"error": [
"Error message"
],
"data": [
{
"id": 7,
"name": "Hygiene week",
"color_hex": "#4caf50",
"active": true,
"location_id": 115,
"foreign_id": "42"
}
],
"page_info": {
"has_previous_page": false,
"has_next_page": false,
"start_cursor": "AAAAA",
"end_cursor": "BBBBBB"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.