Transaction API
/v1/transactions - GET
Retrieves the collection of TransactionResource resources.
Endpoint
GET - 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 |
Request body
No request bodyResponse body
Response 200