Tross
Demo dataBook a demo
DENTRIX-ASCEND

Delete document

Delete one explicit document after checking patient ownership and verify absence.

POSThttps://preview.ontross.com/api/integrations/dentrix-ascend/delete-document
Request Fields
input.patient_id
string
required
Patient chart identifier.
Example
"900001"
input.document_id
string
required
Explicit document identifier to delete from this chart.
Example
"900002"
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
document_id
string
Document id
deleted
boolean
True only after the document is absent from this patient's document list.
Code
curl --request POST \
  --url https://preview.ontross.com/api/integrations/dentrix-ascend/delete-document \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"patient_id":"900001","document_id":"900002"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "patient_id": "900001",
    "document_id": "900002"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "document_id": "string",
    "deleted": true
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}