Every pendiente moves through a defined state lifecycle. This page documents the endpoints that drive those transitions: changing state, assigning a technician, postponing to a future date, and reading the currentDocumentation 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.
estadoTecnico field.
State lifecycle overview
The diagram below shows the typical progression of a work order:Not all transitions are valid from every state. The API enforces valid transitions server-side and returns a
400 Bad Request if an invalid transition is attempted.EstadoPendiente: REGISTRADO, ASIGNADO, EN_PROGRESO, PAUSADO, REVISION, POR_VALIDAR, OBSERVADO, FINALIZADO, POSTERGADO, CANCELADO.
PUT /api/pendientes//estado
Change the state of a work order. The new state is passed as a query parameter.Path parameters
ID of the pendiente whose state is being changed.
Query parameters
The target
EstadoPendiente value. Must be a permitted transition from the current state. One of: REGISTRADO, ASIGNADO, EN_PROGRESO, PAUSADO, REVISION, POR_VALIDAR, OBSERVADO, FINALIZADO, POSTERGADO, CANCELADO.Response — 200 OK
Returns the updatedPendienteResponse with the new state reflected.
Examples
PUT /api/pendientes//asignar
Assign a technician to a work order. The employee ID is passed as a query parameter.Path parameters
ID of the pendiente to assign.
Query parameters
ID of the technician (employee) to assign to this work order.
Response — 200 OK
Returns the updatedPendienteResponse with the assigned technician and updated state.
Example
cURL
PUT /api/pendientes//postergar
Postpone a work order to a future date with an explanatory reason. The state transitions toPOSTERGADO.
Path parameters
ID of the pendiente to postpone.
Request body
New scheduled datetime in ISO 8601 format (e.g.
2026-07-10T09:00:00). Must be in the future.Optional ID of the employee recording the postponement.
Response — 200 OK
Returns the updatedPendienteResponse with estado: "POSTERGADO" and the new fechaPendiente.
Example
cURL
GET /api/pendientes//estado-tecnico
Update theestadoTecnico (network configuration sub-state) for a work order. Despite the HTTP method, this endpoint changes the technical state and returns the updated pendiente. The new state is passed as a query parameter.
This endpoint uses
GET with a @RequestParam for the new state. It updates estadoTecnico — the PPPoE/VLAN configuration sub-state — independently of the main estado lifecycle.Path parameters
ID of the pendiente.
Query parameters
The target
EstadoTecnico value. One of: OK, PENDIENTE_PPPoE, PENDIENTE_VLAN, PENDIENTE_PPPoE_Y_VLAN.Response — 200 OK
Returns the updatedPendienteResponse with the new estadoTecnico reflected.
Example
cURL