Mobilia icon

Mobilia

Trabaja con la API pública de Mobilia

Visitas → Listar visitas

AI-generated

Summary

Retrieves a paginated list of visits from the Mobilia system, applying filters, sorting, and optional advanced filtering.

Inputs

  • query_collection_visitasGetMany_filters — A collection of filters to apply during the initial API request: FechaDesde, FechaHasta, IdAgente, IdTipo, and IdEstadoVisita.
  • query_visitasGetMany_Busqueda — Text to search within the visit records.
  • query_collection_visitasGetMany_pagination — Pagination and sorting configuration: OrdenarPor, NumeroPagina, TamanoPagina, and Ordenacion.
  • visitAdvancedIdentityFilters — Filters applied client-side after retrieval: visitIdMinLocal, visitIdMaxLocal, visitPlaceLocal, visitOperationLocal.
  • visitAdvancedRelationFilters — Filters applied client-side after retrieval: visitAgentIdLocal, visitStateIdLocal, visitTypeIdLocal, visitClientRefLocal, visitPropertyRefLocal, visitRequestRefLocal, visitDemandRefLocal.
  • visitAdvancedStatusFilters — Filter applied client-side after retrieval: visitSyncLocal (synchronized with calendar).
  • propertyAdvancedJsonRules — JSON-based custom property rules for very specific use cases.
  • returnAll — Whether to fetch all pages (ignoring pagination settings) or stop after the configured page size.
  • splitIntoItems — Whether to split the resulting array into separate items.
  • simplifyResponse — Whether to unwrap common response envelopes such as 'datos' or 'elementos'.

Output shape

an array of items, each representing a visit record

If 'returnAll' is false, the result is limited to the configured page size (default 100). Advanced filters may trigger a full-paged scan if they require data not available on the current page. The exact shape depends on the 'simplifyResponse' setting.

Examples

Example 1: Fetch the first page of visits for a specific agent

Set IdAgente to the target agent ID and enable pagination.

Example 2: Get all visits created after a specific date

Set FechaDesde in the 'Filtros' collection and enable 'returnAll'.

Example 3: Filter visits by place and operation using advanced filters

Use 'Filtros Avanzados De Identidad' to set visitPlaceLocal and visitOperationLocal.

Links

Discussion