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
TruckCodeformstringNo
RigCodeformstringNo
BoardModuleformstringNo
UpdatedAtformDateTime?No

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

HTTP + JSV

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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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-01,
		InspectionDue: 0001-01-01,
		Capabilities: String,
		VehicleStatus: String,
		VendorID: 0,
		EquipmentName: String,
		Ownership: String,
		RentalVendor: String,
		TruckCode: String,
		RigCode: String,
		BoardModule: String,
		UpdatedAt: 0001-01-01
	},
	Fleet: 
	[
		{
			EquipmentVehicleID: 0,
			EquipmentID: 0,
			UnitNumber: String,
			VehicleType: String,
			CapacityText: String,
			CapacityTons: 0,
			DeckFeet: 0,
			Plate: String,
			VIN: String,
			GpsUnit: String,
			InsuranceExpires: 0001-01-01,
			InspectionDue: 0001-01-01,
			Capabilities: String,
			VehicleStatus: String,
			VendorID: 0,
			EquipmentName: String,
			Ownership: String,
			RentalVendor: String,
			TruckCode: String,
			RigCode: String,
			BoardModule: String,
			UpdatedAt: 0001-01-01
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}