🚚
truQ Services
  • Getting Started
  • Environment
  • Status Codes
  • Booking Management
    • Trip Booking
      • Getting a Quote
      • Booking an open trip
      • Booking a standard trip
      • Booking a merchant trip
    • Payment and Order Confirmation
      • Standard trip order confirmation
      • Business trip order confirmation
  • Parameter Guide
    • Trip Types
    • Vehicle Categories
    • Source and Destination
Powered by GitBook
On this page
  1. Parameter Guide

Vehicle Categories

The Vehicle Categories we provide on truQ Services

Vehicle categories make up the categories you have set up for your organisation. When a vehicle is added to your fleet, it is tied to a vehicle category. When customers and businesses book trips, they select a vehicle category size to make up that trip-booking process.

Request
https://dodge.siju.it/asset-service/fleet/fleet-organisation-category-size/ 
-H "Authorization: Bearer YOUR_PUBLIC_KEY" 
-H "Organisation: TRU_HOD4" 
-X GET
Response
{
    "status": "SUCCESS",
    "message": "Successfully fetched data",
    "count": 3,
    "next": null,
    "previous": null,
    "data": [
        {
            "id": "8ebe0127-5081-48d8-8791-xxxxxxxxxxxx",
            "organisation": "TRU_XXXX",
            "category": "TINY",
            "tonnage": "0.2",
            "cargo_volume": "100.0",
            "description": "tiny moves",
            "completed_trips": 0,
            "total_revenue": "0.00",
            "image": "https://storage.googleapis.com/dodge-storage/vehicleCategories/minivan.svg",
        },
        {
            "id": "11dd613b-e582-4427-a200-xxxxxxxxxxxx",
            "organisation": "TRU_XXXX",
            "category": "1-TONNE",
            "tonnage": "1.0",
            "cargo_volume": "100.0",
            "description": "1 tonne",
            "completed_trips": 0,
            "total_revenue": "0.00",
            "image": "https://storage.googleapis.com/dodge-storage/vehicleCategories/medium-van.svg",
        },
        {
            "id": "26f81fdb-d311-464e-814f-c084838c1df8",
            "organisation": "TRU_XXXX",
            "category": "2-TONNE",
            "tonnage": "2.0",
            "cargo_volume": "100.0",
            "description": "2 tonne",
            "completed_trips": 0,
            "total_revenue": "0.00",
            "image": null
        }
    ]
}

Last updated 1 year ago