Mobilia icon

Mobilia

Trabaja con la API pública de Mobilia

Tareas → Listar tareas

AI-generated

Summary

Retrieves a paginated list of tasks from Mobilia with filtering options for date ranges, agents, types, and status, as well as advanced filters applied after retrieval.

Inputs

  • query_collection_tareasGetMany_filters — Date range filters to search for tasks. Includes 'FechaDesde' (minimum date) and 'FechaHasta' (maximum date).
  • query_collection_tareasGetMany_filters.IdAgente — Filter tasks by a specific agent ID.
  • query_collection_tareasGetMany_filters.IdTipo — Filter tasks by a specific task type ID.
  • query_collection_tareasGetMany_filters.IdEstadoTarea — Filter tasks by a specific task state ID.
  • query_collection_tareasGetMany_pagination — Controls sorting and pagination. Options include 'OrdenarPor' (date fields), 'NumeroPagina', 'TamanoPagina' (max 100), and 'Ordenacion' (ascending/descending).
  • query_tareasGetMany_Busqueda — Free text search for tasks.
  • taskAdvancedIdentityFilters — Filters applied locally after retrieving records, including 'taskIdMinLocal', 'taskIdMaxLocal', 'taskSubjectLocal', and 'taskCommentsLocal'.
  • taskAdvancedRelationFilters — Local filters for relations: 'taskAgentIdLocal', 'taskStateIdLocal', 'taskTypeIdLocal', and reference filters for client, property, request, demand, and operation.
  • taskAdvancedStatusFilters — Local filters for status: 'taskStateTextLocal' (by name) and 'taskSyncLocal' (synced with calendar).
  • propertyAdvancedJsonRules — Expert rules for filtering based on JSON paths (e.g., character panel solar).
  • returnAll — If true, retrieves all pages of results instead of stopping at a limit.
  • splitIntoItems — Splits array responses into separate items.
  • simplifyResponse — Unwraps common response envelopes such as 'datos' or 'elementos'.

Output shape

a list of task items

When advanced filters are used, the node may traverse all pages to ensure results are coherent. Data is simplified by default (unwrap envelopes).

Examples

Example 1: List tasks from a specific date range

Set 'FechaDesde' and 'FechaHasta' in the Filtros collection.

Example 2: Retrieve all tasks regardless of page limit

Set 'returnAll' to true.

Example 3: Filter by task state name

Use 'taskStateTextLocal' in the Filtros Avanzados De Estado collection.

Links

Discussion