GET
/
v2
/
tolls
curl --request GET \
  --url https://api.app.fleetit.com/v2/tolls/ \
  --header 'Authorization: Bearer <token>'
{
  "count": 100,
  "next": "http://api.example.com/v2/tolls/?limit=10&offset=10",
  "previous": null,
  "results": [
    {
      "id": "unique_id",
      "vehicle": {
        "id": "vehicle_id",
        "plate_number": "plate_number",
        "plate_state": "state_code",
        "vehicle_number": "fleet_number",
        "vehicle_make": "make",
        "vehicle_model": "model",
        "year": "year",
        "lessee_renter": "lessee_info",
        "status": "vehicle_status"
      },
      "transponder": {
        "id": "transponder_id",
        "number": "transponder_number",
        "status": "transponder_status"
      },
      "driver": {
        "id": "driver_id",
        "driver_id": "identifier",
        "first_name": "first_name",
        "last_name": "last_name",
        "address_line_1": "address_line_1",
        "address_line_2": "address_line_2",
        "city": "city",
        "state": "state",
        "zip": "zip_code",
        "contact_number": "phone_number",
        "email": "email_address"
      },
      "exit_plaza": "exit_plaza_identifier",
      "custom_fields": {
        "cost_center": "cost_center_identifier"
      },
      "billing_status": "current_billing_status",
      "posting_date": "2023-01-01",
      "transaction_date": "2023-01-01",
      "agency": "agency_name",
      "exit_time": "17:08:21",
      "entry_plaza": "entry_plaza_identifier",
      "amount": "50.00",
      "our_cost": "45.00",
      "is_billed": true,
      "billed_on": "2023-02-01",
      "confirmation_id": "confirmation_number",
      "system_remarks": "system_notes",
      "violation": true,
      "violation_fee": "10.00",
      "included_in_driver_invoice": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Fleet-ID
integer

Query Parameters

limit
integer

Maximum number of toll records to return per page.

offset
integer

Starting point for the records to be displayed.

vehicle
integer[]

Filter by vehicle IDs. Multiple IDs are supported.

transponder
integer[]

Filter by transponder IDs. Multiple IDs are supported.

driver
integer[]

Filter by driver IDs. Multiple IDs are supported.

billing_status
string[]

Filter by the billing status. Multiple statuses can be specified.

amount_min
number

Set a minimum toll amount for transaction filtering.

amount_max
number

Set a maximum toll amount for transaction filtering.

transaction_date_gte
string

Filter by the start date of the transaction range. Format YYYY-MM-DD.

transaction_date_lte
string

Filter by the end date of the transaction range. Format YYYY-MM-DD.

posting_date_gte
string

Filter by the start date of the posting date range. Format YYYY-MM-DD.

posting_date_lte
string

Filter by the end date of the posting date range. Format YYYY-MM-DD.

exit_time
string

Filter by the time of exit from the toll plaza. Format HH:MM:SS.

violation
boolean

Filter transactions based on whether they are marked as a violation (true/false).

is_billed
boolean

Filter transactions based on their billing status (true/false).

vehicle_plate_number
string

Filter by vehicle plate number.

vehicle_plate_state
string

Filter by vehicle plate state.

vehicle_vehicle_number
string

Filter by vehicle number.

Conduct a text search within the transaction records.

ordering
string

Specify the order of the returned records. Options include transaction_date, -transaction_date, posting_date, -posting_date, exit_time, -exit_time.

Response

200 - application/json
Successful response
count
integer
next
string
previous
string
results
object[]