GET /categories/{category_id}/vehicles

Path parameters

  • category_id string Required

Responses

  • 200 applcation/json

    200 response

    Hide response attributes Show response attributes object
    • id integer
    • registration_year integer
    • registration_number string
    • brand string
    • model string
    • category object
      Hide category attributes Show category attributes object
      • id integer
      • name string
    • prices array[object]
      Hide prices attributes Show prices attributes object
      • min_days integer
      • max_days integer
      • high_season number
      • medium_season number
      • low_season number
    • booking_amount integer
    • mileage_levels array[object]
      Hide mileage_levels attributes Show mileage_levels attributes object
      • id integer
      • mileage number
      • is_default boolean
      • amount number
      • unlimited boolean
      • included_in_booking boolean
GET /categories/{category_id}/vehicles
curl \
 --request GET 'https://api.fleetee.io/categories/{category_id}/vehicles' \
 --header "x-api-key: $API_KEY"
Response examples (200)
[
  {
    "id": 42,
    "registration_year": 42,
    "registration_number": "string",
    "brand": "string",
    "model": "string",
    "category": {
      "id": 42,
      "name": "string"
    },
    "prices": [
      {
        "min_days": 42,
        "max_days": 42,
        "high_season": 42.0,
        "medium_season": 42.0,
        "low_season": 42.0
      }
    ],
    "booking_amount": 42,
    "mileage_levels": [
      {
        "id": 42,
        "mileage": 42.0,
        "is_default": true,
        "amount": 42.0,
        "unlimited": true,
        "included_in_booking": true
      }
    ]
  }
]