Time tracking allows you to record the exact duration each technician spends working on a pendiente. A session (tiempo) has an openDocumentation 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.
horaInicio and is closed by setting horaFin. Multiple sessions can be open simultaneously if more than one technician is working on the same order.
Base path: All session endpoints are nested under /api/pendientes.
Session lifecycle
PUT /tiempos/{id}/cerrar-ultimo closes the most recent open session for the given pendiente, not necessarily the session identified by {id}. Verify which session will be closed before calling this endpoint if multiple sessions are open.GET /api/pendientes//tiempos
List all time sessions recorded for a specific work order, ordered byhoraInicio ascending.
Path parameters
ID of the pendiente whose sessions you want to retrieve.
Response — 200 OK
Returns an array ofPendienteTiempoResponse objects.
Session ID.
Parent work order ID.
ID of the technician who owns this session.
ISO 8601 datetime when the session started.
ISO 8601 datetime when the session ended.
null if the session is still open.Free-text description of the work performed during this session.
Example
cURL
POST /api/pendientes/tiempos
Start a new time session for a work order. The session’shoraInicio is set to the current server time.
Request body
ID of the work order this session belongs to.
ID of the technician starting the session.
Optional description of the planned work. Can be updated later with
PUT /tiempos/{id}.Response — 200 OK
Returns the newly createdPendienteTiempoResponse with horaFin: null.
Example
cURL
PUT /api/pendientes/tiempos/
Update an existing session — for example, to correct the description or adjust timestamps.Path parameters
ID of the session to update.
Request body
Send only the fields you want to update. All fields are optional.Updated description of work performed.
Corrected start time in ISO 8601 format.
Corrected end time in ISO 8601 format. Setting this closes the session.
Example
cURL
PUT /api/pendientes/tiempos//cerrar-ultimo
Close the most recent open session associated with the pendiente. SetshoraFin to the current server time.
Path parameters
ID used to identify the pendiente context. The server closes the latest open session for this pendiente.
Response — 200 OK
Returns the updated session withhoraFin populated.
Example
cURL
DELETE /api/pendientes/tiempos/
Delete a time session. Use this to remove sessions created by mistake.Path parameters
ID of the session to delete.
Response — 200 OK
Returns no body on success.cURL