Complaints
Alle operaties rond Complaints.
Datamodel
De endpoints van deze module werken op de volgende entiteit. De schemareferentie toont elk veld met type, validatie en relaties:
| Entiteit | Schema-ID | Velden | Volgnummer | Permissions |
|---|---|---|---|---|
| Complaint | complaint |
55 | — | complaint_* |
Endpoints
| Methode | Pad | Operatie | Beschrijving |
|---|---|---|---|
POST |
/v1/complaints |
Create complaint | Create a new complaint in the active tenant. |
DELETE |
/v1/complaints/{id} |
Delete complaint | Soft delete entity. |
GET |
/v1/complaints/{id} |
Get complaint by id | Fetch a single complaint. |
GET |
/v1/complaints/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/complaints/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/complaints/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/complaints |
List complaints | List complaints for the active tenant. |
PATCH |
/v1/complaints/{id} |
Patch complaint | JSON Merge Patch update. |
POST |
/v1/complaints/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/complaints/{id}/convert-to-ticket |
POST /v1/complaints/{id}/convert-to-ticket | CodeMeta OS API endpoint. |
POST |
/v1/complaints/{id}/transition |
POST /v1/complaints/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/complaints/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/complaints/{id} |
Replace complaint | Full replace with optimistic locking. |