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