Skip to main content

TruckModel

Truck profile.

Breaking Changes

No breaking changes.

Examples

Fill this template out with real values.

{
"driver_id": "String",
"id": "Integer",
"interface_color": "String",
"location_id": "Integer",
"name": "String",
"notes": "String",
"out_of_service": "Boolean",
"require_odometer": "Boolean",
"third_party_hauler_id": "String",
"trailer_id": "Integer",
"type": "String",
"weight": "Float"
}

Fields

driver_id String, Required

Driver identifier.


id Integer, Required

Resource identifier.


interface_color String, Required

Hex string color identifier.

  • At least 7 and no more than 7 characters.

location_id Integer, Required

Location identifier.


name String, Required

Name (free text).

  • At least 1 and no more than 64 characters.

notes String, Required

Notes (free text).

  • At least 0 and no more than 2048 characters.

out_of_service Boolean, Required

Truck out of service.

  • One of 0, 1, True, False (case insensitive).

require_odometer Boolean, Required

Require odometer.

  • One of 0, 1, True, False (case insensitive).

third_party_hauler_id String, Required

Third party hauler identifier.

  • Valid UUID.

trailer_id Integer, Required

Trailer record identifier.


type String, Required

Truck type (free text).

  • At least 1 and no more than 50 characters.

weight Float, Required

Truck empty weight.

  • Less than or equal to 10000000.
  • Greater than or equal to 0.