Actions44
- Agenda Actions
- Agentes Actions
- Aplicaciones Cliente Actions
- Campañas Actions
- Clientes Actions
- Cuentas Actions
- Estados Administrativos Actions
- Grupos Actions
- Inmuebles Actions
- Promociones Actions
- Solicitudes Actions
- Status Actions
- Tareas Actions
- Visitas Actions
Estados Administrativos → Listar estados administrativos
AI-generatedSummary
Lists administrative states from the Mobilia API, returning an array of items that can be simplified or split.
Inputs
- returnAll — If true, retrieves all available administrative states; if false, retrieves only a limited set.
- splitIntoItems — If true, splits the resulting array of administrative states into separate workflow items.
- simplifyResponse — If true, unwraps common response envelopes (like 'datos' or 'elementos') to expose the administrative state data directly.
Output shape
A list of items, each containing administrative state data (likely an object with properties like ID and name).
Data structure depends on the API response and the 'simplifyResponse' setting. If 'returnAll' is false, the result may be paginated.
Examples
Example 1: Retrieve a simplified list of all administrative states without splitting into items.
returnAll: true, splitIntoItems: false, simplifyResponse: true
Example 2: Fetch the first page of administrative states and process each state as a separate item.
returnAll: false, splitIntoItems: true, simplifyResponse: true