Criar movimento de receita
Changed onCriar um movimento de receita.
O campo lucro é definido como 1 por defeito.
Plain def, NOT async def: the body is blocking pyodbc, which on the event loop stalls every other request on this worker (the 2026-07-08 reconnect-herd incident — docs/claude/10-api-patterns.md; same note on get_vehicles above and routes/toc.py::create_invoice). FastAPI runs def handlers in a threadpool. Became load-bearing when the #931 counterparty check added two more round-trips to the invoice-attach path.
Request
- Base URLhttps://api.multigest.pt (the document declares no server; this is the origin it was published from)
- URLhttps://api.multigest.pt/api/financeiro/movements/profit
- AuthAPI key in header x-api-token and API key in header x-origin-verify
Headers
Request body
Response
Successful Response
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info