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