Mobilia icon

Mobilia

Trabaja con la API pública de Mobilia

Promociones → Listar promociones

AI-generated

Summary

Fetches a paginated list of promotions from the Mobilia API, applying optional image settings, sorting, and advanced filters for availability, classification, location, and media content.

Inputs

  • MarcaAguaImagenes — Apply a watermark to returned images (true/false).
  • DescripcionImagenes — Include image descriptions in the response (true/false).
  • OrdenarPor — Field to sort results by: Referencia, FechaUltimaModificacion, or AnoConstruccion.
  • NumeroPagina — Page number to retrieve.
  • TamanoPagina — Number of results per page (max 100).
  • Ordenacion — Sort direction: Ascendente or Descendente.
  • promotionAvailableLocal — Filter by availability (true/false).
  • promotionPublishWebLocal — Filter by web publication status (true/false).
  • promotionFeaturedLocal — Filter by featured status (true/false).
  • promotionPoolLocal — Filter by pool presence (true/false).
  • promotionGardenLocal — Filter by garden presence (true/false).
  • promotionGarageLocal — Filter by garage presence (true/false).
  • promotionStorageLocal — Filter by storage presence (true/false).
  • promotionTypeLocal — Filter by promotion type.
  • promotionCommercializationTypeLocal — Filter by commercialization type.
  • promotionVpoTypeLocal — Filter by VPO type.
  • promotionTitleLocal — Filter by web title.
  • promotionTownLocal — Filter by town.
  • promotionProvinceLocal — Filter by province.
  • promotionStreetLocal — Filter by street.
  • promotionPostalCodeLocal — Filter by postal code.
  • promotionYearMinLocal — Filter by construction year (min).
  • promotionYearMaxLocal — Filter by construction year (max).
  • promotionPhotosMinLocal — Filter by minimum number of photos.
  • promotionVideosMinLocal — Filter by minimum number of videos.
  • promotionFilesMinLocal — Filter by minimum number of documents.
  • promotionPropertyReferenceLocal — Filter by property references included in the promotion.
  • promotionPropertiesMinLocal — Filter by minimum number of associated properties.
  • returnAll — Whether to fetch all pages until exhausted.
  • simplifyResponse — Whether to unwrap common response envelopes (e.g., 'datos' or 'elementos').

Output shape

A list of promotion items, each containing fields for reference, name, availability, and media details.

If 'returnAll' is true, the node iterates through all pages. Advanced filters are applied post-retrieval across pages to ensure consistency.

Examples

Example 1: Retrieve the first page of available residential promotions in Málaga, sorted by construction year in descending order.

OrdenarPor: AnoConstruccion, Ordenacion: Descendente, promotionAvailableLocal: true, promotionTypeLocal: Residencial, promotionProvinceLocal: Málaga, returnAll: false

Example 2: Fetch all published promotions with at least one photo and pool.

promotionPublishWebLocal: true, promotionPhotosMinLocal: 1, promotionPoolLocal: true, returnAll: true

Links

Discussion