Notes (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.
notas) are timestamped annotations attached to a work order. They capture free-text observations, the state of the order at the time of writing, and optional images taken in the field. Every time a technician records progress or an issue, a nota is the right place to store it.
Base path: /api/notas
All note endpoints require a valid
Authorization: Bearer <token> header.POST /api/notas
Create a new note on a work order. Notes are linked to both the pendiente and the employee who wrote them, and they capture the current state of the order for historical context.Request body
ID of the work order this note belongs to.
ID of the employee authoring the note.
The note text. Supports free-form content — describe observations, actions taken, or next steps.
Snapshot of the work order’s state at the time of writing. One of:
REGISTRADO, ASIGNADO, EN_PROGRESO, PAUSADO, REVISION, POR_VALIDAR, OBSERVADO, FINALIZADO, POSTERGADO, CANCELADO.Response — 200 OK
Returns the createdPendienteNotaResponse:
Note ID.
Parent work order ID.
Author employee ID.
Note text.
Work order state captured at creation time.
ISO 8601 timestamp of creation.
Array of images attached to this note (empty on creation, populated via the upload endpoint).
Example
cURL
GET /api/notas/
Retrieve a single note by ID, including its attached images.Note ID.
cURL
PUT /api/notas/
Update an existing note’s text or state snapshot.ID of the note to update.
POST /api/notas with the values you want to update.
cURL
DELETE /api/notas/
Soft-delete a note. The record is retained in the database but excluded from normal queries.ID of the note to delete.
cURL
GET /api/notas/pendiente/
List all notes for a work order, ordered byfechaCreacion ascending. Each note includes its attached images.
ID of the work order whose notes you want to retrieve.
cURL
POST /api/notas//imagenes/upload
Upload one or more images to an existing note. This endpoint usesmultipart/form-data encoding — not JSON. Use this to attach photos taken in the field (e.g. before/after shots of the installation).
ID of the note to attach images to.
One or more image files. Use the field name
files for each file part. Supported formats depend on server configuration (typically JPEG, PNG).Response — 200 OK
Returns an array ofPendienteNotaImagenResponse objects for the newly uploaded images.
Image ID.
Parent note ID.
Public URL to access the stored image.
Examples
GET /api/notas//imagenes
Retrieve all images attached to a specific note.Note ID.
Response — 200 OK
Returns an array ofPendienteNotaImagenResponse objects.
cURL
PUT /api/notas//imagenes
Update the image records associated with a note. This endpoint accepts a JSON array of image request objects, not multipart form data.Note ID.
PendienteNotaImagenRequest objects in the request body.
cURL