Tross
DSN-ATLAS

Fetch appointments

Read the schedule for explicit locations over each office's local date window.

POSThttps://api.ontross.com/api/integrations/dsn-atlas/fetch-appointments
Request Fields
input.start_date
string
required
First included calendar date in each location's timezone.
Example
"2026-11-01"
input.end_date
string
required
Last included local date, at most 31 days after the first.
Example
"2026-11-20"
input.location_ids
array
required
Office or chair IDs from fetch-locations; dates use each location's timezone.
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
appointments
array
Native schedule records deduplicated by identifier across requested locations.
count
integer
Number of unique schedule records returned.
Example
24
Code
curl --request POST \
  --url https://api.ontross.com/api/integrations/dsn-atlas/fetch-appointments \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"start_date":"2026-11-01","end_date":"2026-11-20","location_ids":[1]},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "start_date": "2026-11-01",
    "end_date": "2026-11-20",
    "location_ids": [
      1
    ]
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "appointments": [
      {}
    ],
    "count": 24
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}