Trips
Alle operaties rond Trips.
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 |
|---|---|---|---|---|
| Trip | trip |
33 | — | trip_* |
Endpoints
| Methode | Pad | Operatie | Beschrijving |
|---|---|---|---|
POST |
/v1/trips |
Create trip | Create a new trip in the active tenant. |
DELETE |
/v1/trips/{id} |
Delete trip | Soft delete entity. |
GET |
/v1/trips/{id} |
Get trip by id | Fetch a single trip. |
GET |
/v1/trips/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/trips/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/trips/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/trips |
List trips | List trips for the active tenant. |
PATCH |
/v1/trips/{id} |
Patch trip | JSON Merge Patch update. |
POST |
/v1/trips/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/trips/{id}/transition |
POST /v1/trips/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/trips/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/trips/{id} |
Replace trip | Full replace with optimistic locking. |