Tross
ECLINICALWORKS

List Patient Document Folders

List patient document folders in eClinicalWorks

POSThttps://api.ontross.com/api/integrations/ecw/list-patient-document-folders
Request Fields
input
object
required
Input object.
input.patient_id
string
required
Patient id
auth_id
string
required
Auth id
Output Fields
folders
array
List of folders.
folders[].name
string
Name
folders[].document_count
integer
Document count
folders[].documents
array
List of documents.
folders[].documents[].name
string
Name
folders[].documents[].file_name
string
File name
total_folders
integer
Total folders
total_documents
integer
Total documents
Code
curl --request POST \
  --url https://api.ontross.com/api/integrations/ecw/list-patient-document-folders \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"patient_id":"string_id"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "patient_id": "string_id"
  },
  "auth_id": "auth_uuid_here"
}