Skip to main content

Create Meter Entry

Create a new Meter Entry. If you need to create many Meter Entries at once, use the Bulk API to avoid Rate Limiting errors.

Request Body

  • vehicle_id integer required

    Possible values: >= 1

  • value float required

    The value of the meter. The unit can be configured at the Account level, or overridden at the Vehicle level.

  • date date-time required

    Meter Entries must follow the correct sequence, incrementing in value by date. For each entry, Fleetio validates to ensure that the value falls between any entries logged before and/or after. We recommend using ISO-8601 formatted dates to avoid ambiguity.

  • void boolean

    Default value: false

    Whether to mark this Meter Entry void or not. See Voiding Meter Entries.

  • meter_type string

    Possible values: [secondary]

    If a secondary meter is available, use this field to indicate that this is a secondary meter reading.

Responses

OK

Response Headers


    Schema

    • id integer

      Possible values: >= 1

    • created_at date-time

      The date and time at which this record was created.

    • updated_at date-time

      The date and time at which this record was most recently updated.

    • account_id integer

      Possible values: >= 1

    • 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: [secondary]

      Indicates whether or not this meter is a secondary meter.

    • meterable_id NullableId

      Possible values: >= 1

    • 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 NullableId

      Possible values: >= 1

    • void boolean

      Default value: false

      Indicates whether or not this Meter Entry has been voided.

    • gps_provider object

      The GPS provider that submitted this Meter Entry.

    • date date

      The date on which this Meter Entry was recorded.

    • vehicle_archived_at date-time

      The date and time at which the Vehicle associated with this Meter Entry was archived, if applicable.

    • auto_void_reason string

      The reason this Meter Entry was automatically voided.

    • is_sample boolean

      Default value: false

      Indicates whether or not this Meter Entry is sample data.

    • gps_device_id NullableId

      Possible values: >= 1

    • source string

      The source of this Meter Entry.

    • active_meter_conflicts_caused_count integer

      The number of active meter conflicts caused by this Meter Entry.

    Loading...