GET /fleets/brands (every branch, including inactive ones), GET /fleets/locations (active locations), GET /fleets/vehicle-classes (active classes of active branches) and GET /fleets/additional-charges (charges without the "Hide from reservations" option, inactive ones included). Branches add logo_url. Locations and vehicle classes do not include their nested brand: match them to a branch by brand_id.username:passwordAuthorization: Basic *****************data key, with success: true. A list with no records is an empty array. HTTP 200 is also used for failures: such a body has success: false and is an ErrorUnauthorized (status_code 401 or 403).{
"success": true,
"status_code": 200,
"errors": [],
"data": {
"company": {
"name": "Example Rentals",
"logo_url": "https://yourcompany.example.com/public/files/3c9b1f0e/original",
"country": "us",
"timezone": "America/New_York",
"language": "en",
"supported_languages": [
"en",
"es"
],
"currency": "usd"
},
"brands": [
{
"id": 1,
"name": "Miami",
"uuid": "3f1c9e2a-7b4d-4c8e-9a6f-1d2e3c4b5a69",
"inactive": false,
"currency": "usd",
"integration_snippets": {
"reservation-form": "<script src=\"https://yourcompany.example.com/public/car-rental/integrations/assets/integrator\"></script><div class=\"hq-rental-software-integration\" data-brand=\"3f1c9e2a-7b4d-4c8e-9a6f-1d2e3c4b5a69\" data-snippet=\"reservation-form\"></div>"
},
"integration_snippets_framer": {
"reservation-form": "import * as React from \"react\"\n..."
},
"logo_url": "https://yourcompany.example.com/public/files/8d2e4a17/original"
}
],
"locations": [
{
"id": 1,
"name": "Miami Airport",
"brand_id": 1,
"is_airport": true,
"active": true,
"phone_number": "+1 305 555 0142",
"timezone": "America/New_York",
"country": "US",
"city": "Miami",
"street": "4200 NW 21st St"
}
],
"vehicle_classes": [
{
"id": 4,
"uuid": "8a2d5c7e-1b3f-4a6d-9c8e-2f4a6b8d0c13",
"brand_id": 1,
"name": "Economy",
"active": true,
"images": [],
"features": []
}
],
"additional_charges": [
{
"id": 3,
"name": "Child Seat",
"charge_type": "daily",
"hide_from_reservation": false,
"inactive": false,
"images": []
}
]
}
}