| URL | GEThttps://api.inventario.pro/public/v2/camper?apiKey={{apiKey}}&kilometros=1 |
|---|---|
| Category | Campers |
This endpoint returns the minimum and maximum kilometers based on the provided API key.
apiKey (string, required): The API key for authentication
kilometros = 1 (integer, required): Requests the range of kilometers
The response provides an array of objects, each containing "km_minimo" and "km_maximo" fields, representing the minimum and maximum kilometers of all campers in the inventory.
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/camper?{{request_parameters}}&FILTR_marca_id=5&BTW_precio[]=10000&BTW_precio[]=20000&FILTR_estado_id=1
| APP-KEY | {{appkey}} |
|---|
200OK
[
{
"km_minimo": "1",
"km_maximo": "19000"
}
]