Mobilia icon

Mobilia

Trabaja con la API pública de Mobilia

Petición Personalizada

AI-generated

Summary

Retrieves real estate listings from the Mobilia API using advanced filters, custom API requests, or standard operations, returning paginated data.

Inputs

  • returnAll — When true, fetches all pages of results; otherwise, limits to the first page.
  • simplifyResponse — When true, unwraps common response envelopes like 'datos' or 'elementos' to return the raw data directly.
  • splitIntoItems — When true, splits array responses into separate workflow items.
  • customMethod — HTTP method for Custom Request operations: GET, POST, PUT, or DELETE.
  • customPath — Relative API path for Custom Request operations (e.g., /api/v1/clientes/{referencia}).
  • pathParametersJson — JSON object containing path parameters for dynamic routing (e.g., {"referencia": 1234}).
  • queryParametersJson — JSON object containing query parameters; arrays are sent as multiple filters.
  • bodyJson — JSON object for POST or PUT requests.
  • propertyAdvancedJsonRules — Array of JSON rule objects to apply advanced logic (e.g., {"path": "precioVenta", "operator": "max", "value": 450000}).

Output shape

A list of items, each containing a filtered real estate property or custom API response object.

Filters are applied client-side after fetching records to ensure consistent results across pages. The 'Simplificar Respuesta' option controls unwrapping of standard response wrappers.

Examples

Example 1: Fetch all active properties with a price between 250,000 and 450,000 EUR.

Set 'returnAll' to true, configure price range filters in 'Contexto De Precio', and enable 'Simplificar Respuesta'.

Example 2: Execute a custom POST request to create a new client.

Select 'Custom Request', set 'customMethod' to 'POST', enter the API path (e.g., '/api/v1/clientes'), and provide the request body in 'JSON Del Body'.

Example 3: Retrieve a specific property using its reference ID.

Use 'Custom Request' with 'customMethod' 'GET', path '/api/v1/inmuebles/REF-001', and 'simplifyResponse' set to true.

Links

Discussion