Transaction API

/v1/transactions - GET

The Transactions API contains endpoints to fetch transactions for consumers, with applicable filters like location, date range or travis code. The endpoint to fetch a specific transaction will return more detailed information of the location.


Open Swagger Specification

Endpoint

    https://api.travisroadservices.com/v1/transactions
    Copy
  

Query params

Parameter Type Description
bookingId string Filter for specific booking
dateFrom string Filter for from date of transactions, formatted as ATOM or 'Y-m-d'. If ATOM is not detected, 00:00 will be used as time.
dateTo string Filter for to date of transactions, formatted as ATOM or 'Y-m-d'. If ATOM is not detected, 23:59 will be used as time.
travisCode string Filter to fetch collection based on TravisCode
service string Possible filter values: truckwash, parking, tankcleaning, repair
locationId string Filter for specific location
licensePlate1 string Filter for specific truck
licensePlate2 string Filter for specific trailer
licensePlate3 string Filter for specific second trailer
driver string Filter for specific driver on transaction driver name. Using this parameter will throw an error if logged in as an App Driver
page string The collection page number
itemsPerPage string The number of items per page

Response body

Response 200