DSN-ATLAS
Fetch patient documents
List a patient's attachment metadata and IDs.
POSThttps://api.ontross.com/api/integrations/dsn-atlas/fetch-patient-documents
Request Fields
input.patient_id
integer
requiredNumeric record identifier obtained from a scheduled appointment.
Example
1auth_id
string
requiredSaved connection to run this operation through, from the Authentication page. It decides which practice and login the call uses.
Example
"00000000-0000-4000-8000-000000000000"Output Fields
documents
array
Native attachment metadata records belonging to the requested patient.
count
integer
Number of patient attachment metadata records returned.
Example
3Code
curl --request POST \
--url https://api.ontross.com/api/integrations/dsn-atlas/fetch-patient-documents \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"patient_id":1},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"patient_id": 1
},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"documents": [
{}
],
"count": 3
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}