Tross
Demo dataBook a demo
DENTRIX-ASCEND

Fetch locations

List practice offices and basic settings.

POSThttps://preview.ontross.com/api/integrations/dentrix-ascend/fetch-locations
Request Fields
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
locations
array
Organization offices and their basic configuration settings.
locations[].id
string
Office identifier returned by the organization lookup.
Example
"64000000022309"
locations[].name
string
Office display label returned by the organization lookup.
Example
"Advanced Dental Group of Hoboken"
locations[].location_number
string
Office reference label returned separately from its identifier.
Example
"01"
locations[].phone
string
Contact digits extracted from the nested telephone object.
Example
"2017986684"
locations[].tax_percentage
number
Office tax rate expressed in percentage points.
Example
6.25
locations[].default_appointment_length
integer
Standard scheduled visit duration configured for this office.
Example
60
locations[].timezone
string
IANA time zone returned for this office; use it to interpret local schedule dates.
Example
"America/New_York"
count
integer
Total offices in the returned collection.
Example
2
Code
curl --request POST \
  --url https://preview.ontross.com/api/integrations/dentrix-ascend/fetch-locations \
  --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": {
    "locations": [
      {
        "id": "64000000022309",
        "name": "Advanced Dental Group of Hoboken",
        "location_number": "01",
        "phone": "2017986684",
        "tax_percentage": 6.25,
        "default_appointment_length": 60,
        "timezone": "America/New_York"
      }
    ],
    "count": 2
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}