id
string
required
Example:

"dvc_61D9ZWFGHVJ858NBF2Q7DV9MNH"

sourceId
string
required

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

Example:

"123456789"

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"

type
enum<string>
required

The type of device

Available options:
tracker,
camera
Example:

"tracker"

metadata
object
required

Internal metadata about the record.

vehicle

The ID of the vehicle that the device is associated with

Example:

"vcl_01D8ZQFGHVJ858NBF2Q7DV9MNC"

description
string

The description or model of the device

Example:

"CM31"

serialNumber
string

The serial number of the device

Example:

"1234567890"

lastConnectedAt
string

The time the device was last connected

Example:

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

createdAt
string

The date and time the record was created in the provider's system. This timestamp comes directly from the source system and represents when the data was originally created there. Note: not all providers expose this.

updatedAt
string

The date and time the record was updated in the provider's system. This timestamp comes directly from the source system and represents when the data was last updated there. Note: not all providers expose this.

raw
object[]

Raw data fetched from the source provider. Most of our endpoints support a raw query parameter that will append a list of the raw requests used to form our common model. This can be helpful for leveraging unique fields that are not part of our unified model.

Example:
[]