A pendiente is the central resource of the system — a field work order assigned to one or more technicians. Each pendiente has a type (avería, instalación, traslado, etc.), a state lifecycle, and links to a client, location, and responsible employees. This page covers the core CRUD operations. For state transitions see State Management, and for type-specific data see Work Order Types.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CLINTONARMANDO/apiregistropendientes/llms.txt
Use this file to discover all available pages before exploring further.
All endpoints under
/api/pendientes require a valid Authorization: Bearer <token> header. See Authentication for how to obtain a token.GET /api/pendientes/
Retrieve a single work order by its internal ID.Path parameters
The numeric ID of the pendiente.
Response — 200 OK
Returns aPendienteResponse object. See the filter endpoint for the full field list — the same structure is returned here.
cURL
POST /api/pendientes/filtrar
Search and paginate work orders using any combination of filter criteria. Returns a SpringPage<PendienteResponse>.
Pagination and sorting are controlled via query parameters on the URL. Filter criteria are sent in the request body.
Query parameters (pagination/sorting)
Zero-based page index.
Number of results per page.
Sort field and direction, comma-separated. E.g.
fechaPendiente,asc or fechaCreacion,desc.Request body (filter criteria)
Filter to work orders belonging to a specific client ID.
Filter by the user (not employee) associated with the work order.
Filter by the technician (employee ID) the work order is assigned to.
Filter by the employee who created the work order.
Filter by one or more states. E.g.
["ASIGNADO", "EN_PROGRESO"]. Valid values: REGISTRADO, ASIGNADO, EN_PROGRESO, PAUSADO, REVISION, POR_VALIDAR, OBSERVADO, FINALIZADO, POSTERGADO, CANCELADO.Filter by one or more technical sub-states. Valid values:
OK, PENDIENTE_PPPoE, PENDIENTE_VLAN, PENDIENTE_PPPoE_Y_VLAN.Filter to work orders scheduled for a specific date (ISO 8601 datetime).
Work order type. One of:
AVERIA, INSTALACION_INTERNET, INSTALACION_CAMARAS, RECOJO_DISPOSITIVOS, TRASLADO.Priority level. One of:
BAJA, MEDIA, URGENTE, MUY_URGENTE.Geographic zone. One of:
ZONA_RURAL, JULIACA, PUNO, CHUCUITO, PLATERIA, ACORA, ILAVE, JULI, POMATA, CHACACHACA, YONGUYO, ZEPITA, DESAGUADERO.Optional partial text search against the work order title/description.
Response — 200 OK
Returns a SpringPage wrapper with the following shape:
Array of work orders matching the filter criteria.
Total number of records matching the filter, across all pages.
Total number of pages.
Current page index (zero-based).
Page size used for this response.
Examples
POST /api/pendientes/
Create a new work order. The order is created inREGISTRADO state.
Request body
ID of the client this work order is for.
Work order type. One of:
AVERIA, INSTALACION_INTERNET, INSTALACION_CAMARAS, RECOJO_DISPOSITIVOS, TRASLADO.Priority. One of:
BAJA, MEDIA, URGENTE, MUY_URGENTE.Geographic zone where the work will be performed.
Company brand. One of:
SIMAX, WINEX, OTRO.Street address for the field visit.
Scheduled datetime in ISO 8601 format (e.g.
2026-06-15T09:00:00).ID of the employee creating this work order.
Response — 200 OK
Returns the newly createdPendienteResponse object.
Example
cURL
DELETE /api/pendientes/
Soft-delete a work order. The record is not removed from the database; it is marked as deleted and excluded from normal queries.Path parameters
The ID of the pendiente to delete.
cURL
POST /api/pendientes/filtros
Returns the available enum options for filter dropdowns. Use this endpoint to populate UI filter controls dynamically rather than hard-coding enum values in the client.Response — 200 OK
Returns an object with arrays of valid values for each filterable field.All valid
EstadoPendiente values.All valid
TipoPendiente values.All valid
PrioridadPendiente values.All valid
LugarPendiente values.All valid
EmpresaPendiente values.cURL