Mobilia icon

Mobilia

Trabaja con la API pública de Mobilia

Grupos → Listar grupos de inmuebles

AI-generated

Summary

Retrieves a list of property groups from the Mobilia platform.

Inputs

  • returnAll — Whether to fetch all available property groups or only up to a specified limit.
  • simplifyResponse — Whether to unwrap common response envelopes (such as 'datos' or 'elementos') into the root data structure.
  • splitIntoItems — Whether to split array responses into separate items.

Output shape

an array of property group items

The shape depends on the 'simplifyResponse' setting. If disabled, the raw response envelope (e.g., containing a 'datos' or 'elementos' key) is returned.

Examples

Example 1: Fetch a paginated list of groups

Set 'returnAll' to false and specify a limit to retrieve a subset of groups.

Example 2: Get the full dataset with simplified output

Set 'returnAll' to true and 'simplifyResponse' to true to receive a flat array of group objects.

Links

Discussion