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
Campañas → Listar campañas
AI-generatedSummary
Retrieves a list of Mobilia campaigns from the API.
Inputs
- returnAll — If true, returns all available campaigns; if false, applies the API's default pagination limit.
- splitIntoItems — If true, splits the response array into separate workflow items.
- simplifyResponse — If true, unwraps common response envelopes (e.g., datos or elementos) to return the raw data.
Output shape
A list of campaign records or a single campaign object depending on the API response structure and simplification settings.
The actual shape depends on the 'simplifyResponse' setting and the API's response envelope (e.g., 'datos' or 'elementos'). The API enforces a default limit if 'returnAll' is false.
Examples
Example 1: List all available campaigns without pagination limits.
returnAll = true, splitIntoItems = true, simplifyResponse = true
Example 2: Retrieve the first page of campaigns using default settings.
returnAll = false, splitIntoItems = true, simplifyResponse = true
Example 3: Get a single campaign object without array splitting.
returnAll = false, splitIntoItems = false, simplifyResponse = true