Skip to content

Get Transactions by Visit or Appointment ID

Request

Transaction filtering

  • record_id: Appointment ID

  • visit_id: ID of the visit

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Query
appointment_idnumber

Appointment ID

Example:appointment_id=0
visit_idnumber

Visit ID

Example:visit_id=0
Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/timetable/transactions/{location_id}?appointment_id=0&visit_id=0' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example:true
dataArray of objects

Array of objects with data

Example:
[ { "id": 4815162342, "document_id": 22256641, "expense": { … }, "date": "2026-04-13T15:34:31-0500", "amount": 1000, "comment": "Comment", "master": { … }, "supplier": { … }, "account": { … }, "client": { … }, "last_change_date": "2026-02-01T12:00:00-0500", "record_id": 308786662, "visit_id": 262551993, "sold_item_id": 7134634, "sold_item_type": "service" } ]
metaArray of objects

Metadata (empty array)

Example:
[]
Response
{ "success": true, "data": [ { … } ], "meta": [] }