Collective Agreements
Toutes les opérations relatives à Collective Agreements.
Modèle de données
Les endpoints de ce module portent sur l'entité suivante. La référence du schéma décrit chaque champ avec son type, sa validation et ses relations :
| Entité | ID du schéma | Champs | Séquence | Autorisations |
|---|---|---|---|---|
| Collective Agreement | collective_agreement |
6 | — | collective_agreement_* |
Endpoints
| Méthode | Chemin | Opération | Description |
|---|---|---|---|
POST |
/v1/collective_agreements |
Create collective_agreement | Create a new collective_agreement in the active tenant. |
DELETE |
/v1/collective_agreements/{id} |
Delete collective_agreement | Soft delete entity. |
GET |
/v1/collective_agreements/{id} |
Get collective_agreement by id | Fetch a single collective_agreement. |
GET |
/v1/collective_agreements/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/collective_agreements/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/collective_agreements/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/collective_agreements |
List collective_agreements | List collective_agreements for the active tenant. |
PATCH |
/v1/collective_agreements/{id} |
Patch collective_agreement | JSON Merge Patch update. |
POST |
/v1/collective_agreements/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/collective_agreements/{id}/transition |
POST /v1/collective_agreements/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/collective_agreements/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/collective_agreements/{id} |
Replace collective_agreement | Full replace with optimistic locking. |