| URL | GEThttps://api.inventario.pro/public/v2/coche?apiKey={{apiKey}}&ad_subtypes=1 |
|---|---|
| Category | Cars |
This endpoint retrieves the list of car bodies based on the provided API key.
apiKey (required): The API key for authentication.
ad_subtypes: Filter for specific subtypes of cars.
Status: 200
Content-Type: application/json
[ { "id": "", "nombre": "" , "num": ""}]
In addition to the required parameters, the request allows filtering results using specific query parameters. These parameters use prefixes to define different database operations:
To add filter by brand (marca_id = 5), price range (between 10,000 and 20,000), and available for sale (estado_id = 1):
https://api.inventario.pro/public/v2/coche?{{request_parameters}}&FILTR_marca_id=5&BTW_precio[]=10000&BTW_precio[]=20000&FILTR_estado_id=1
| APP-KEY | {{appkey}} |
|---|
200OK
[
{
"id": "62",
"nombre": "Berlina",
"num": "30"
},
{
"id": "52",
"nombre": "Cabriolet",
"num": "4"
},
{
"id": "53",
"nombre": "Deportivo",
"num": "2"
},
{
"id": "61",
"nombre": "Familiar",
"num": "8"
},
{
"id": "85",
"nombre": "Furgoneta",
"num": "1"
},
{
"id": "56",
"nombre": "Monovolumen",
"num": "2"
},
{
"id": "57",
"nombre": "Pickup",
"num": "8"
},
{
"id": "54",
"nombre": "Sedan",
"num": "2"
},
{
"id": "55",
"nombre": "Todoterreno",
"num": "26"
},
{
"id": "84",
"nombre": "Utilitario",
"num": "20"
},
{
"id": "59",
"nombre": "Vehículo Industrial",
"num": "16"
}
]