API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

Fuel Cards

All operations for Fuel Cards.

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
Fuel Card fuel_card 12 — fuel_card_*

Endpoints

Method Path Operation Description
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.

Search