Campers

Transmissions

Request Information
URL GEThttps://api.inventario.pro/public/v2/camper?apiKey={{apiKey}}&cambios=1
Category Campers
Description

This endpoint retrieves the list of transmissions based on the specified API key.

Request

  • apiKey (string, required): The API key for authentication

  • cambios = 1 (integer, required): Requests the list of transmissions

Response

The response to this request is a JSON array with objects containing "id" and "nombre" fields.

Query Parameters

In addition to the required parameters, the request allows filtering results using specific query parameters. These parameters use prefixes to define different database operations:

Filter Prefixes

  • FILTR_ ( = ) - Exact match for a value.
  • INC_ ( IN ) - Includes any value from an array.
  • EXC_ ( NOT IN ) - Excludes any value from an array.
  • BTW_ ( BETWEEN ) - Defines a range with two values.
  • BT_ ( > ) - Greater than a specific value.
  • ST_ ( < ) - Less than a specific value.

Available Fields

  • marca_id - Camper brand identifier.
  • modelo_id - Camper model identifier.
  • ad_subtype_id - Body type identifier.
  • precio - Price of the camper.
  • combustible_id - Fuel type identifier.
  • cambio_id - Transmission type identifier.
  • estado_id - Status of the camper.
  • tipo_id - Offer type.
  • location_id - Location identifier.

estado_id Values

  • 1 - En venta (For sale).
  • 2 - Reservado (Reserved).
  • 3 - Vendido (Sold).
  • 4 - En preparación (In preparation).

tipo_id Values

  • 1 - Ocasión (Used).
  • 2 - Nuevo (New).

Example Usage

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
Header
APP-KEY {{appkey}}

Example responses

Transmissions
Response Code:
200OK
Response Body:
[
    {
        "id": "7",
        "nombre": "Automático"
    },
    {
        "id": "6",
        "nombre": "Manual"
    }
]