This endpoint lets any user record a revision comment for a storage location. The server timestamps the revision automatically and updates the location’sDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/AndresLopezCorrales/Goods-Inventory/llms.txt
Use this file to discover all available pages before exploring further.
last_revision_date. It is called at the end of the department member inventory check flow, after the user has reviewed all items at a location.
Request
Method:POSTPath:
/api/revisionesAuth: None
Content-Type:
application/json
Body Parameters
The
id_location of the storage location being revised. Must correspond to an existing location record.A free-text comment describing the outcome of the revision (e.g. the condition of items, any discrepancies noted).
Request Example
Response
201 — Created
Returned when the revision is successfully recorded.A confirmation message indicating the revision was saved.
400 — Bad Request
Returned when eitherid_location or comment is missing from the request body.
A description of the validation error.
Side Effects
Submitting a revision performs two write operations:- Inserts a new
Revisionrecord withid_location, the providedcomment, and a server-generateddate_time_revisiontimestamp. - Updates the corresponding
Locationrecord, settinglast_revision_dateto the same timestamp.
GET /api/ubicaciones/{responsable_id} will reflect the new last_revision_date and last_revision values for the revised location.