Travel Allowances
All operations for Travel Allowances.
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 |
|---|---|---|---|---|
| Travel Allowance | travel_allowance |
8 | — | travel_allowance_* |
Endpoints
| Method | Path | Operation | Description |
|---|---|---|---|
POST |
/v1/travel_allowances |
Create travel_allowance | Create a new travel_allowance in the active tenant. |
DELETE |
/v1/travel_allowances/{id} |
Delete travel_allowance | Soft delete entity. |
GET |
/v1/travel_allowances/{id} |
Get travel_allowance by id | Fetch a single travel_allowance. |
GET |
/v1/travel_allowances/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/travel_allowances/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/travel_allowances/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/travel_allowances |
List travel_allowances | List travel_allowances for the active tenant. |
PATCH |
/v1/travel_allowances/{id} |
Patch travel_allowance | JSON Merge Patch update. |
POST |
/v1/travel_allowances/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/travel_allowances/{id}/transition |
POST /v1/travel_allowances/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/travel_allowances/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/travel_allowances/{id} |
Replace travel_allowance | Full replace with optimistic locking. |