Click or drag to resize
HosEvent table
Print this page

For Verizon Connect Mobile integrations.

The HosEvent table provides information about HOS (hours of service) events logged for specific drivers.

Note Note

This table supports Verizon Connect Mobile integrations for Fleet accounts. Contact your account manager for additional information.

This topic contains the following sections:


Follow these guidelines when using the HosEvent table.

  • For compliance with HOS rules, each event must indicate the place where it occurred. If there is no Location (Location) or Remark (Text) provided, TDE uses the depot of the specified Driver. If the Driver has no depot, an error will be returned.
  • Standard driver status events (OffDuty, SleeperBerth, Driving, OnDutyNotDriving, and OffDutyWellSite) cannot use the same EventTime as other standard driver status events.

When you write templates that access this table, follow these requirements:

  1. Specify the Symbolic Name for the table version to use:

    TableID = HosEvent-1.0

  2. Specify an Intent that this table supports:

    • Retrieve

  3. Input templates: In your [Output] section, be sure to map an input value to every table column that is flagged as being a primary key or required.

  4. Retrieve templates: This table does not require the use of a fetcher. However, the following fetchers are available to optimize your query and are listed from most efficient to least:
    1. Id (Equals/In)
      Id(ExtId) = Equals(Id1)   # You can filter on literals or on variables from the [User] or [Calculated] sections.
      Id(ExtId) = In(["Id1","Id2","Id3"])
    2. DriverId (Equals/In/InHierarchy)
      DriverId(ExtId) = Equals("100057")
    3. EventTime (Between/GreaterThan)
      EventTime = Between(TimeStart,TimeEnd) # You can use either the Between function as shown
                                     # or the GreaterThan function: GreaterThan(Start)
    4. ModifiedTime (Between/GreaterThan)
      ModifiedTime = Between(TimeStart,TimeEnd) # You can use either the Between function as shown
                                        # or the GreaterThan function: GreaterThan(Start)
HosEvent column descriptions

This list includes each column's name, which you use in expressions to retrieve or create data, and data type, which defines how the data is retrieved and set.

Note Note
If a column of data type Id is a primary key OR if it refers to other tables (Id <OtherTable>), then you can map it to an external key or, in some cases, a Telogis key.
Column Data Type Description
Id Id (primary key) The Id of the HosEvent event.
DriverId Id<Driver> The Id of the driver assigned to the vehicle when the event occurred.
EventType Text Indicates the type of the event (the driver's new status). Values: OffDuty, Driving, OnDutyNotDriving, HoS16HourExtension, SleeperBerth, SignedEmptyDay.
EventTime Timestamp The time when the status change event occurred.
ModifiedTime Timestamp The time the event was most recently updated, if ever.
Location Location The location where the event occurred (where the driver changed status).
Remarks Text A string of notes attached to the event.
SubStatus Text (read-only) An additional classification for the EventType, which is used for reporting purposes. This field is only used if the EventType is set to OnDuty, OffDuty, or Driving. Values: No event type, Fuel, Meal, BREAK, DOT Break, Unloading, Loading, Personal Conveyance, Meeting, Warehouse, Office, Pre-Inspection, Post-Inspection, Roadside Inspection, Delivery, Other.

Additional columns:

Column Data Type Description
CustomerId Id (read-only, all Fleet tables) The ID of the customer/owner.
CustomerFullName Text (read-only, all Fleet tables) The human-readable full name of the customer/owner.