post Patients Id Documents

POST {{baseUrl}}/patients/:id/documents?subdomain={{subdomain}}&location_id={{location_id}}

Upload patient documents to NexHealth

Request Params

KeyDatatypeRequiredDescription
subdomainstring(Required) Used to scope the request to the specified institution
location_idstring(Required) Used to scope the request to the specified institution

Request Body

[{"name"=>"file", "value"=>nil, "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"code":"\u003cboolean\u003e","description":"\u003cstring\u003e","error":["\u003cstring\u003e","\u003cstring\u003e"],"data":{"id":"\u003cinteger\u003e","filename":"\u003cstring\u003e","type":"\u003cstring\u003e","url":"\u003cstring\u003e","created_at":"\u003cstring\u003e"},"count":"\u003cinteger\u003e"}