Document Types
View document type
This endpoint returns a single document type by its NexHealth ID for the specified location.
Authorization
Authorization Authorization<token>
In: header
Path Parameters
id*integer
The NexHealth ID of the document type
Format
int32Query Parameters
subdomain*string
Used to scope the request to the specified institution
location_id*integer
Used to scope the request to the specified location
Format
int32Header Parameters
Nex-Api-Version*string
The NexHealth API version
Default
"v3.0.0"Response Body
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
curl -X GET "https://example.com/document_types/0?subdomain=string&location_id=0" \ -H "Nex-Api-Version: v3.0.0"{ "code": false, "description": "Description", "error": [ "Error message" ], "data": { "id": 1, "name": "Health History and Patient Forms", "active": true }, "count": 2}