Tross
CoverMyMeds

List prior auth lookup choices

List prior auth lookup choices in CoverMyMeds

POSThttps://api.ontross.com/api/integrations/covermymeds/list-prior-auth-lookup-choices
Request Fields
input.request_key
string
required
Alphanumeric identifier from the existing prior authorization request.
Example
"B7KM4Q2X"
input.datasource_preset
string
required
Lookup datasource preset used by the request form question.
Example
"diagnoses_ten"
input.term
string
Optional search text passed to the question's lookup datasource.
Example
"diabetes"
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
choices
array
Up to 100 options with unique identifiers and nonblank display text.
choices[].value
string
Trimmed option identifier taken from the datasource's name or value.
Example
"E11.9"
choices[].label
string
Trimmed display text taken from the datasource's label or text.
Example
"Type 2 diabetes mellitus without complications"
Code
curl curl %s %s POST \
  --url https://api.ontross.com/api/integrations/covermymeds/list-prior-auth-lookup-choices \
  %s %s 'X-API-Key: REPLACE_KEY_VALUE' \
  %s %s 'content-type: application/json' \
  %s %s '{"input":{"request_key":"B7KM4Q2X","datasource_preset":"diagnoses_ten","term":"diabetes"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "request_key": "B7KM4Q2X",
    "datasource_preset": "diagnoses_ten",
    "term": "diabetes"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "choices": [
      {
        "value": "E11.9",
        "label": "Type 2 diabetes mellitus without complications"
      }
    ]
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}