ELATION
Fetch legal entities
Fetch the billing legal entities.
POSThttps://api.ontross.com/api/integrations/elation/fetch-legal-entities
Request Fields
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
count
integer
Number of legal entities.
Example
1legal_entities
array
The practice's billing legal entities.
legal_entities[].id
string
Legal entity id, used as the claim's legal_entity_id.
Example
"999000000000357"legal_entities[].name
string
Name
Example
"Example Clinic"legal_entities[].is_default
boolean
Whether this entity is the practice's default.
Example
trueCode
curl --request POST \
--url https://api.ontross.com/api/integrations/elation/fetch-legal-entities \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"count": 1,
"legal_entities": [
{
"id": "999000000000357",
"name": "Example Clinic",
"is_default": true
}
]
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}