This endpoint sums theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/sheeplettuce/Monitor/llms.txt
Use this file to discover all available pages before exploring further.
costo values of all levantamiento_concepto records attached to a levantamiento and returns the total repair estimate. If the levantamiento has no concepts yet, the total is 0.
Endpoint
Administrador, Operador, Tecnico) may call this endpoint.
The total only reflects concepts that have already been added. To get an updated estimate after adding or removing concepts, simply call this endpoint again — no caching is involved.
Path Parameters
The numeric primary key of the levantamiento whose concepts should be summed. Must parse as a valid integer.
Request Example
Response
200 — Success
Returns an object with the levantamiento ID and the calculated total.Error Responses
| Status | Body | Description |
|---|---|---|
400 | { "error": "id inválido" } | The :id path segment is not a valid integer. |
401 | — | Missing or invalid Authorization header. |
404 | { "error": "Levantamiento no encontrado" } | No levantamiento exists with the given ID. |