FleetData
A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.
The fleet detail a fuel or fleet-card sale carries: who drove, which vehicle, and what was bought.
Values
Fields
| Field | Type | Description | |||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
driverId
required |
string | The driver's identifier, as the fleet customer assigns it.
nullablemax length 30
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
vehicleId
required |
string | The vehicle's identifier, as the fleet customer assigns it.
nullablemax length 30
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
odometer
required |
integer (int32) | The vehicle's odometer reading.
Conditional: When Odometer is not null. Range: 0 to 99999999.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
jobNumber
required |
string | The job number the sale is charged to.
nullablemax length 30
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
departmentNumber
required |
string | The department number the sale is charged to.
nullablemax length 30
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
employeeNumber
required |
string | The driver's employee number. Personal data.
nullablemax length 30
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
licenseNumber
required |
string | The driver's license number. Personal data.
nullablemax length 30
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
licenseState
required |
string | The state or province that issued the driver's license.
nullablemax length 3
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
vehicleLicensePlate
required |
string | The vehicle's license plate.
nullablemax length 15
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
vehicleLicenseState
required |
string | The state or province that issued the vehicle's license plate.
nullablemax length 3
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
vehicleIdentificationNumber
required |
string | The vehicle identification number (VIN).
nullablemax length 17
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
trailerId
required |
string | The trailer's identifier.
nullablemax length 30
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
trailerLicensePlate
required |
string | The trailer's license plate.
nullablemax length 15
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
unitId
required |
string | The unit identifier, for a fleet that tracks units separately from vehicles.
nullablemax length 30
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
reeferHours
required |
number (double) | The refrigeration unit's hour meter reading, in hours.
Conditional: When ReeferHours is not null. Must be >= 0.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
userId
required |
string | The fleet user's identifier. Personal data.
nullablemax length 30
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
customerData
required |
string | Free-form data the fleet customer asked to have carried.
nullablemax length 50
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
serviceLevel
required |
FleetServiceLevel FleetServiceLevel | How the fuel was dispensed.
Conditional: When ServiceLevel is not null.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
fuelAmount
required |
number (double) | The fuel portion of the sale, in the transaction currency.
Conditional: When FuelAmount is not null. Must be >= 0.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
nonFuelAmount
required |
number (double) | The non-fuel portion of the sale, in the transaction currency.
Conditional: When NonFuelAmount is not null. Must be >= 0.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
prompts
required |
array of FleetPrompt array of FleetPrompt | Answers to brand-specific prompts the common members do not cover. At most
`MaxPrompts` entries.
Conditional: When Prompts is not null.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
Fields of each FleetPrompt: This body has no documented fields. | |||||||||||||||||||||||||||||||||||||||||
products
required |
array of FleetProduct array of FleetProduct | The products on the sale. At most `MaxProducts` entries.
Conditional: When Products is not null.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||
Fields of each FleetProduct:
This body has no documented fields. | |||||||||||||||||||||||||||||||||||||||||
This model has no documented fields.