Time Accounts
All operations for Time Accounts.
Data model
The endpoints of this module work on the following entity. The schema reference lists every field with type, validation and relationships:
| Entity | Schema ID | Fields | Sequence | Permissions |
|---|---|---|---|---|
| Time Account | time_account |
14 | — | time_account_* |
Endpoints
| Method | Path | Operation | Description |
|---|---|---|---|
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. |