Tross
EZDERM

Fetch provider npi

Resolve a prescriber's individual NPI without using the practice's group NPI.

POSThttps://api.ontross.com/api/integrations/ezderm/fetch-provider-npi
Request Fields
input.prescriber_name
string
Prescriber name from the EZDerm Sent Rx report, matched exactly after credential punctuation is removed.
Example
"Avery Morgan, PA-C"
input.address_book_id
string
Exact EZDerm address book contact UUID from getAll, retaining its original casing.
Example
"7c2e9a41-6b83-4f05-a197-82d6b0e345fc"
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
npi
string
Verified ten-digit NPI for the uniquely matched prescriber.
Example
"1234567893"
matched_name
string
Name on the matched EZDerm provider record.
Example
"Avery Morgan"
source
string
practice_user or address_book, identifying the EZDerm source of the NPI.
Example
"practice_user"
Code
curl curl %s %s POST \
  --url https://api.ontross.com/api/integrations/ezderm/fetch-provider-npi \
  %s %s 'X-API-Key: REPLACE_KEY_VALUE' \
  %s %s 'content-type: application/json' \
  %s %s '{"input":{"prescriber_name":"Avery Morgan, PA-C","address_book_id":"7c2e9a41-6b83-4f05-a197-82d6b0e345fc"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "prescriber_name": "Avery Morgan, PA-C",
    "address_book_id": "7c2e9a41-6b83-4f05-a197-82d6b0e345fc"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "npi": "1234567893",
    "matched_name": "Avery Morgan",
    "source": "practice_user"
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}