Skip to main content
GET
/
api
/
2.0
/
ancillary_companies
/
List Ancillary Companies
curl --request GET \
  --url https://sandbox.elationemr.com/api/2.0/ancillary_companies/ \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "name": "<string>",
      "id": 123
    }
  ],
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

limit
integer

Number of results to return per page.

name
string[]

The name of the ancillary company.

offset
integer

The initial index from which to return the results.

order_by
string

Which field to use when ordering the results.

type
enum<string>
required

The order type the ancillary company can be associated with.

  • cardiac - cardiac
  • imaging - imaging
  • sleep - sleep
  • pulmonary - pulmonary
Available options:
cardiac,
imaging,
pulmonary,
sleep

Response

200 - application/json
results
object[]
required
count
integer
Example:

123

next
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=400&limit=100"

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=200&limit=100"