| Endpoint | Corps/paramètres | Autorisation |
|---|---|---|
POST /contracts/:id/workflow/transition | note, transitionCode, toStageCode | contract_edit edit + workflowAutomation |
POST /contracts/:id/workflow/lock | locked, note | admin edit + workflowAutomation |
GET /contracts/:id/workflow/events | — | contract_view view |
API locataire
Workflow
Avancer le cycle de vie d’un contrat et verrouiller les modifications.
Les endpoints de workflow sont sous un contrat et exigent workflowAutomation lorsque c’est indiqué.