Manage your vehicles, transport equipment (trailers, containers), fleets, sensors, and board computers through the API.
curl -X POST https://api.otms.transportial.com/api/vehicle \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"name": "Truck NL-AB-12",
"licensePlate": "NL-AB-12",
"type": "truck"
}'Response:
{
"success": true,
"message": "OK",
"vehicle": {
"id": "vehicle-uuid",
"name": "Truck NL-AB-12",
"licensePlate": "NL-AB-12",
"type": "truck",
"createdAt": "2026-03-22T10:00:00Z"
}
}curl -X GET "https://api.otms.transportial.com/api/vehicle/{id}" \
-H "Authorization: Bearer YOUR_TOKEN"curl -X GET "https://api.otms.transportial.com/api/vehicles/0/20" \
-H "Authorization: Bearer YOUR_TOKEN"curl -X POST "https://api.otms.transportial.com/api/vehicles/0/20" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"type": "truck"
}'Get all trips assigned to a vehicle:
curl -X GET "https://api.otms.transportial.com/api/vehicle/{id}/trips/0/20" \
-H "Authorization: Bearer YOUR_TOKEN"Get trips within a date range:
curl -X GET "https://api.otms.transportial.com/api/vehicle/{id}/trips:byDate/2026-03-01/2026-03-31" \
-H "Authorization: Bearer YOUR_TOKEN"Transport equipment represents trailers, containers, swap bodies, and other attachable equipment.
curl -X POST https://api.otms.transportial.com/api/transportEquipment \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"name": "Trailer T-001",
"licensePlate": "NL-TR-01",
"type": "trailer"
}'curl -X GET "https://api.otms.transportial.com/api/transportEquipments/0/20" \
-H "Authorization: Bearer YOUR_TOKEN"Get equipment with full relation data:
curl -X GET "https://api.otms.transportial.com/api/transportEquipments:extended/0/20" \
-H "Authorization: Bearer YOUR_TOKEN"# Trips for a specific piece of equipment
curl -X GET "https://api.otms.transportial.com/api/transportEquipment/{id}/trips/0/20" \
-H "Authorization: Bearer YOUR_TOKEN"
# Trips within a date range
curl -X GET "https://api.otms.transportial.com/api/transportEquipment/{id}/trips:byDate/2026-03-01/2026-03-31" \
-H "Authorization: Bearer YOUR_TOKEN"Group vehicles into fleets for organizational management.
curl -X POST https://api.otms.transportial.com/api/fleet \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"name": "Netherlands Fleet",
"vehicles": [
{ "id": "vehicle-uuid-1" },
{ "id": "vehicle-uuid-2" }
]
}'# Full fleet data
curl -X GET "https://api.otms.transportial.com/api/fleets/0/20" \
-H "Authorization: Bearer YOUR_TOKEN"
# Light version (names and IDs only)
curl -X GET "https://api.otms.transportial.com/api/fleets/light" \
-H "Authorization: Bearer YOUR_TOKEN"Organize vehicles into logical groups:
curl -X POST https://api.otms.transportial.com/api/vehicleGroup \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"name": "Long-haul trucks"
}'Manage IoT sensors attached to vehicles or equipment.
curl -X POST https://api.otms.transportial.com/api/sensor \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"name": "Temperature sensor - Trailer T-001",
"type": "temperature"
}'curl -X GET https://api.otms.transportial.com/api/sensor/types \
-H "Authorization: Bearer YOUR_TOKEN"curl -X GET "https://api.otms.transportial.com/api/sensor/{id}/value/2026-03-22T14:00:00Z" \
-H "Authorization: Bearer YOUR_TOKEN"curl -X GET "https://api.otms.transportial.com/api/sensors/{id}/updates/2026-03-22T00:00:00Z/2026-03-22T23:59:59Z" \
-H "Authorization: Bearer YOUR_TOKEN"Manage on-board computers installed in vehicles:
curl -X POST https://api.otms.transportial.com/api/boardComputer \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"name": "Transics TX-SMART",
"vehicleId": "vehicle-uuid"
}'curl -X GET "https://api.otms.transportial.com/api/boardComputers/0/20" \
-H "Authorization: Bearer YOUR_TOKEN"Add cameras to vehicles for dashcam and security recording:
# Add camera to vehicle
curl -X POST "https://api.otms.transportial.com/api/vehicle/{vehicleId}/camera" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"name": "Front dashcam"
}'
# List cameras for a vehicle
curl -X GET "https://api.otms.transportial.com/api/vehicle/{vehicleId}/cameras" \
-H "Authorization: Bearer YOUR_TOKEN"Track tire data for maintenance and compliance:
# Create tire record
curl -X POST https://api.otms.transportial.com/api/tire \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"name": "Front left",
"brand": "Michelin",
"size": "315/80R22.5"
}'
# Get tires for a vehicle
curl -X GET "https://api.otms.transportial.com/api/tires/vehicle/{vehicleId}/0/20" \
-H "Authorization: Bearer YOUR_TOKEN"
# Get tires for transport equipment
curl -X GET "https://api.otms.transportial.com/api/tires/transportEquipment/{equipmentId}/0/20" \
-H "Authorization: Bearer YOUR_TOKEN"Convert and process tachograph binary data:
curl -X POST https://api.otms.transportial.com/api/tachograph/convert/binary \
-H "Content-Type: application/octet-stream" \
-H "Authorization: Bearer YOUR_TOKEN" \
--data-binary @tachograph-file.dddGet analytics for your fleet:
# Vehicle trip insights
curl -X GET "https://api.otms.transportial.com/api/insights/vehicle/{id}/trips/2026-03-01/2026-03-31" \
-H "Authorization: Bearer YOUR_TOKEN"
# Fleet-wide trip insights
curl -X GET "https://api.otms.transportial.com/api/insights/fleet/{id}/trips/2026-03-01/2026-03-31" \
-H "Authorization: Bearer YOUR_TOKEN"
# Fleet move actions
curl -X GET "https://api.otms.transportial.com/api/insights/fleet/{id}/moveActions/2026-03-01/2026-03-31" \
-H "Authorization: Bearer YOUR_TOKEN"
# CO2 emissions
curl -X POST "https://api.otms.transportial.com/api/insights/vehicles/CO2:byDateRange" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"vehicleIds": ["vehicle-uuid-1", "vehicle-uuid-2"],
"startDate": "2026-03-01",
"endDate": "2026-03-31"
}'- Assign vehicles and chauffeurs to trips with the Trips & Planning guide
- Manage your drivers in Chauffeurs & Drivers
- See the full API Reference for all vehicle endpoints