Locations
Todas las operaciones de Locations.
Modelo de datos
Los endpoints de este módulo trabajan sobre la siguiente entidad. La referencia del esquema enumera cada campo con tipo, validación y relaciones:
| Entidad | ID del esquema | Campos | Secuencia | Permisos |
|---|---|---|---|---|
| location | location |
28 | — | location_* |
Endpoints
| Método | Ruta | Operación | Descripción |
|---|---|---|---|
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. |