Mobilia icon

Mobilia

Trabaja con la API pública de Mobilia

Agentes → Listar agentes

AI-generated

Summary

Retrieves a paginated list of agents from the Mobilia platform with optional sorting, filtering, and pagination controls.

Inputs

  • query_collection_agentesGetMany_pagination — Controls sorting, pagination size, and page number. Options include sorting by Agent ID, Username, or Email; setting the page number; and specifying results per page (max 100).
  • query_agentesGetMany_Busqueda — A search text used to filter agents.
  • agentAdvancedIdentityFilters — Advanced filters applied after retrieval to ensure results are consistent across pages. Options include filtering by minimum/maximum Agent ID, Name, or Email.
  • propertyAdvancedJsonRules — Expert rules for specific field filtering using JSON paths and operators (e.g., {"path":"caracteristicas.panelSolar","operator":"equals","value":true}).
  • returnAll — If true, retrieves all agents; if false, uses pagination controls.
  • simplifyResponse — If true, unwraps common response envelopes like 'datos' or 'elementos'.
  • splitIntoItems — If true, splits array responses into separate workflow items.

Output shape

A list of items, each containing a single agent record.

If 'returnAll' is false, pagination is handled automatically. Advanced filters are applied client-side after retrieval to ensure coherency.

Examples

Example 1: List all agents sorted by username in descending order

set 'OrdenarPor' to 'NombreUsuario', 'Ordenacion' to 'Descendente', and 'returnAll' to true

Example 2: Search for agents containing 'María' in their name

enter 'María' in the 'Búsqueda' field

Example 3: Retrieve the first page of agents with 50 results per page

set 'NumeroPagina' to 1, 'TamanoPagina' to 50, and 'returnAll' to false

Links

Discussion