ATHENA
Fetch providers
List providers, locations, and schedules.
POSThttps://preview.ontross.com/api/integrations/athena/fetch-providers
Request Fields
input.org_id
string
requiredPractice context, shown in the athenanet portal URL.
Example
47902auth_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
practitioners
array
Providers in the practice, from the scheduling directory.
locations
array
Practice locations returned with the scheduling provider directory.
schedules
object
Provider schedules with their locations and practitioners attached.
Code
curl --request POST \
--url https://preview.ontross.com/api/integrations/athena/fetch-providers \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"org_id":47902},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"org_id": 47902
},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"practitioners": [
{}
],
"locations": [
{}
],
"schedules": {}
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}