Collective Agreements
All operations for Collective Agreements.
Data model
The endpoints of this module work on the following entity. The schema reference lists every field with type, validation and relationships:
| Entity | Schema ID | Fields | Sequence | Permissions |
|---|---|---|---|---|
| Collective Agreement | collective_agreement |
6 | — | collective_agreement_* |
Endpoints
| Method | Path | Operation | 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. |