Skip to main content
id
string<ulid>
required
Example:

"trp_01D9ZQFGHVJ858NBF2Q7DV9MNH"

sourceId
string
required

The ID used to represent the entity in the source system.

Example:

"123456789"

vehicle
required

The ID of the vehicle that was involved in the trip. Unique identifier for the vehicle in Terminal.

Example:

"vcl_01D8ZQFGHVJ858NBF2Q7DV9MNC"

provider
string
required

Every provider has a unique code to identify it across Terminal's system. You can find each provider's code under provider details.

Example:

"geotab"

startedAt
string<date-time>
required

The time the trip started

Example:

"2021-01-06T03:24:53.000Z"

endedAt
string<date-time>
required

The time the trip ended

Example:

"2021-01-06T03:24:53.000Z"

duration
integer
required

Duration in MS

Required range: x >= 0
Example:

0

metadata
object
required

Internal metadata about the record.

driver

The ID of the driver that was driving during the trip. Unique identifier for the driver in Terminal.

Example:

"drv_01D8ZQFGHVJ858NBF2Q7DV9MNC"

startLocation
object
endLocation
object
distance
number

Distance in kilometers

Example:

100

raw
RawData · object[]
Example:
[]
I