Skip to main content

List Vehicle Meter Entries

List a Vehicle's Meter Entries

Path Parameters

  • id string required

    The Fleetio ID of the relevant Vehicle.

    You may also look up Vehicles by their VIN, license plate, or other external ID. See the guide on External Vehicle Ids for information on how to set this up.

Query Parameters
  • start_cursor string

    The start cursor for Keyset pagination.

  • per_page integer

    Possible values: >= 2 and <= 100

    Default value: 50

    The number of records per page to return.

  • filter object

    The fields, operations, and values to filter the records by.

    • category object
    • include string required
    • meterable_type object
    • include string required
    • meterable_id object
    • eq string required
    • date object
      oneOf

    • eq string required
    • created_at object
      oneOf

    • lt string required
    • updated_at object
      oneOf

    • lt string required
  • sort object

    The fields and direction to sort the results by.

    • id string

      Possible values: [asc, desc]

      Default value: desc

    • date string

      Possible values: [asc, desc]

    • created_at string

      Possible values: [asc, desc]

    • updated_at string

      Possible values: [asc, desc]

Responses

OK


Schema

  • start_cursor string

    The current start cursor of the records returned.

  • next_cursor string

    The next cursor to retrieve the next page of records.

  • per_page integer

    The maxumum number of records returned.

  • estimated_remaining_count integer

    The number of remaining records including the returned records, up to a maximum of 500.

  • filtered_by object[]

    The filters applied to the returned record set.

    anyOf

  • category object
  • include string
  • sorted_by object[]

    The sorts applied to the returned record set.

    anyOf

  • date string

    Possible values: [asc, desc]

  • records object[]
  • id integer
  • auto_voided_at date-time

    The date and time at which this Meter Entry was automatically voided.

  • category string

    Possible values: [starting, ending, nightly, manual]

    A category to describe the function of this Meter Entry.

  • meter_type string

    Possible values: [primary, secondary]

    Indicates whether this meter is a primary or secondary meter.

  • meterable_id integer

    The id of the object with which this Meter Entry is associated.

  • meterable_type string

    Possible values: [FuelEntry, Issue, PurchaseDetail, ServiceEntry, SubmittedInspectionItem, VehicleAssignment, WorkOrder]

    The type of the object with which this Meter Entry is associated.

  • value string

    The current value of the meter.

  • vehicle_id integer

    The id of the Vehicle associated with this meter entry, if any.

  • void boolean

    Default value: false

    Indicates whether or not this Meter Entry has been voided.

  • type string

    Possible values: [GpsMeterEntry]

    Indicates if this Meter Entry was submitted by a GPS provider.

  • gps_provider object

    The GPS provider that submitted this Meter Entry.

  • date date

    The date on which this Meter Entry was recorded.

Loading...