Time Accounts
Todas las operaciones de Time Accounts.
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 |
|---|---|---|---|---|
| Time Account | time_account |
14 | — | time_account_* |
Endpoints
| Método | Ruta | Operación | Descripción |
|---|---|---|---|
POST |
/v1/time_accounts |
Create time_account | Create a new time_account in the active tenant. |
DELETE |
/v1/time_accounts/{id} |
Delete time_account | Soft delete entity. |
GET |
/v1/time_accounts/{id} |
Get time_account by id | Fetch a single time_account. |
GET |
/v1/time_accounts/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/time_accounts/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/time_accounts/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/time_accounts |
List time_accounts | List time_accounts for the active tenant. |
PATCH |
/v1/time_accounts/{id} |
Patch time_account | JSON Merge Patch update. |
POST |
/v1/time_accounts/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/time_accounts/{id}/transition |
POST /v1/time_accounts/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/time_accounts/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/time_accounts/{id} |
Replace time_account | Full replace with optimistic locking. |