Trendsic Platform Service

<back to all web services

EquipmentFleetRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/Equipment/fleet
EquipmentVehicleResponse Parameters:
NameParameterData TypeRequiredDescription
VehicleformEquipmentVehicleNo
FleetformList<EquipmentVehicle>No
ResponseStatusformResponseStatusNo
EquipmentVehicle Parameters:
NameParameterData TypeRequiredDescription
EquipmentVehicleIDformintNo
EquipmentIDformintNo
UnitNumberformstringNo
VehicleTypeformstringNo
CapacityTextformstringNo
CapacityTonsformdecimal?No
DeckFeetformdecimal?No
PlateformstringNo
VINformstringNo
GpsUnitformstringNo
InsuranceExpiresformDateTime?No
InspectionDueformDateTime?No
CapabilitiesformstringNo
VehicleStatusformstringNo
VendorIDformint?No
EquipmentNameformstringNo
OwnershipformstringNo
RentalVendorformstringNo
OwnerContactIDformint?No
OwnerNameformstringNo
TruckCodeformstringNo
RigCodeformstringNo
BoardModuleformstringNo
UpdatedAtformDateTime?No
DvirRequiredformboolNo
GvwrLbsformint?No
IsTrailerformboolNo
ShopReasonformstringNo
ShopByDvirformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/Equipment/fleet HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Vehicle":{"EquipmentVehicleID":0,"EquipmentID":0,"UnitNumber":"String","VehicleType":"String","CapacityText":"String","CapacityTons":0,"DeckFeet":0,"Plate":"String","VIN":"String","GpsUnit":"String","InsuranceExpires":"0001-01-01T00:00:00.0000000","InspectionDue":"0001-01-01T00:00:00.0000000","Capabilities":"String","VehicleStatus":"String","VendorID":0,"EquipmentName":"String","Ownership":"String","RentalVendor":"String","OwnerContactID":0,"OwnerName":"String","TruckCode":"String","RigCode":"String","BoardModule":"String","UpdatedAt":"0001-01-01T00:00:00.0000000","DvirRequired":false,"GvwrLbs":0,"IsTrailer":false,"ShopReason":"String","ShopByDvir":false},"Fleet":[{"EquipmentVehicleID":0,"EquipmentID":0,"UnitNumber":"String","VehicleType":"String","CapacityText":"String","CapacityTons":0,"DeckFeet":0,"Plate":"String","VIN":"String","GpsUnit":"String","InsuranceExpires":"0001-01-01T00:00:00.0000000","InspectionDue":"0001-01-01T00:00:00.0000000","Capabilities":"String","VehicleStatus":"String","VendorID":0,"EquipmentName":"String","Ownership":"String","RentalVendor":"String","OwnerContactID":0,"OwnerName":"String","TruckCode":"String","RigCode":"String","BoardModule":"String","UpdatedAt":"0001-01-01T00:00:00.0000000","DvirRequired":false,"GvwrLbs":0,"IsTrailer":false,"ShopReason":"String","ShopByDvir":false}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}