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