Vehicle Admin API
  1. Vehicles
Vehicle Admin API
  • Auth
    • Sign In
      POST
  • Vehicles
    • Index
      GET
    • Create
      POST
    • Show
      GET
    • Update
      PATCH
  • Maintenance Reports
    • Index
      GET
    • Create
      POST
    • Show
      GET
    • Update
      PATCH
  • Service Orders
    • Index
      GET
  1. Vehicles

Index

Developing
GET
/vehicles
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/vehicles?page=2&user_id=1&status=disponible' \
--header 'Authorization: {{token}}'
Response Response Example
200 - Success
[
    {
        "id": 3,
        "license_plate": "VI15GCZ",
        "make": "Volvo",
        "model": "Colorado",
        "status": "disponible",
        "year": 2000
    },
    {
        "id": 1,
        "license_plate": "ABC1234",
        "make": "Kia",
        "model": "Corolla",
        "status": "disponible",
        "year": 2020
    },
    {
        "id": 6,
        "license_plate": "DEF456",
        "make": "Ford",
        "model": "Transit",
        "status": "disponible",
        "year": 2019
    },
    {
        "id": 5,
        "license_plate": "ABC123",
        "make": "Toyota",
        "model": "Hilux",
        "status": "disponible",
        "year": 2021
    },
    {
        "id": 7,
        "license_plate": "GHI789",
        "make": "Mercedes-Benz",
        "model": "Actros",
        "status": "disponible",
        "year": 2020
    }
]

Request

Query Params
page
integer 
optional
Example:
2
user_id
string 
optional
Example:
1
status
string 
optional
Example:
disponible
Header Params
Authorization
string 
required
Example:
{{token}}

Responses

🟢200Success
application/json
Body
array of:
id
integer 
required
license_plate
string 
required
make
string 
required
model
string 
required
status
string 
required
year
integer 
required
🟠403Forbidden
🟠401Unauthorized
Modified at 2025-06-13 20:58:10
Previous
Sign In
Next
Create
Built with