Tross
Demo dataBook a demo
EZDERM

Download patient document folder

Download a patient folder as ZIP.

POSThttps://preview.ontross.com/api/integrations/ezderm/download-patient-document-folder
Request Fields
input.patient_id
string
required
Patient UUID returned by the medical record lookup.
Example
"3f7a2c18-9b04-4e51-ae6d-5c21f0a7bd93"
input.folder_id
string
required
Directory UUID returned by the patient's document folder listing.
Example
"91a6f302-7db4-49c8-a560-2c18e7fb934d"
auth_id
string
required
Saved 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
zip_base64
string
Exported document directory archive encoded as base64 text.
Example
"UEsFBgAAAAAAAAAAAAAAAAAAAAAAAA=="
Code
curl --request POST \
  --url https://preview.ontross.com/api/integrations/ezderm/download-patient-document-folder \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"patient_id":"3f7a2c18-9b04-4e51-ae6d-5c21f0a7bd93","folder_id":"91a6f302-7db4-49c8-a560-2c18e7fb934d"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "patient_id": "3f7a2c18-9b04-4e51-ae6d-5c21f0a7bd93",
    "folder_id": "91a6f302-7db4-49c8-a560-2c18e7fb934d"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "zip_base64": "UEsFBgAAAAAAAAAAAAAAAAAAAAAAAA=="
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}