Tross
CoverMyMeds

Delete prior auth attachment

Delete prior auth attachment in CoverMyMeds

POSThttps://api.ontross.com/api/integrations/covermymeds/delete-prior-auth-attachment
Request Fields
input.request_key
string
required
The provider-issued identifier for the prior authorization request.
Example
"TEST7K2M"
input.expected_lock_version
integer
required
The revision from the most recent authorization response.
Example
5
input.idempotency_key
string
required
A caller-generated UUID reused when retrying the same operation.
Example
"3f2504e0-4f89-11d3-9a0c-0305e82c3301"
input.attachment_id
string
required
The provider-issued identifier of the document to delete.
Example
"att_7c9e2b4f8a1d"
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
request_key
string
The provider-issued identifier for the prior authorization request.
Example
"TEST7K2M"
attachment_id
string
The provider-issued identifier of the affected document.
Example
"att_7c9e2b4f8a1d"
lock_version
integer
The resulting revision to use for subsequent changes.
Example
6
replayed
boolean
Whether this response repeats a previously completed operation.
Example
false
Code
curl curl %s %s POST \
  --url https://api.ontross.com/api/integrations/covermymeds/delete-prior-auth-attachment \
  %s %s 'X-API-Key: REPLACE_KEY_VALUE' \
  %s %s 'content-type: application/json' \
  %s %s '{"input":{"request_key":"TEST7K2M","expected_lock_version":5,"idempotency_key":"3f2504e0-4f89-11d3-9a0c-0305e82c3301","attachment_id":"att_7c9e2b4f8a1d"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "request_key": "TEST7K2M",
    "expected_lock_version": 5,
    "idempotency_key": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
    "attachment_id": "att_7c9e2b4f8a1d"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "request_key": "TEST7K2M",
    "attachment_id": "att_7c9e2b4f8a1d",
    "lock_version": 6,
    "replayed": false
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}