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
requiredThe provider-issued identifier for the prior authorization request.
Example
"TEST7K2M"input.expected_lock_version
integer
requiredThe revision from the most recent authorization response.
Example
5input.idempotency_key
string
requiredA caller-generated UUID reused when retrying the same operation.
Example
"3f2504e0-4f89-11d3-9a0c-0305e82c3301"input.attachment_id
string
requiredThe provider-issued identifier of the document to delete.
Example
"att_7c9e2b4f8a1d"auth_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
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
6replayed
boolean
Whether this response repeats a previously completed operation.
Example
falseCode
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"
}