API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · fuel_cards

Fuel Card Schema

Schema ID
fuel_card
Collection
fuel_cards
Permissions
  • Readfuel_card_view
  • Createfuel_card_create
  • Editfuel_card_edit
  • Deletefuel_card_delete

Fields

Fuel Card Schema

fuel_cards4 permissions

Schema for validating fuel card / Tankkarte entities

cardNumberstringrequired

Card number / Kartennummer

1–50 characters
providerstringrequired

Card provider (e.g. Aral, Shell, DKV, UTA)

1–200 characters
assignedVehicleIduuidoptional

Assigned vehicle ID

nullable
assignedDriverIduuidoptional

Assigned fleet driver ID

nullable
statusstringoptional

Card status

ACTIVEBLOCKEDEXPIREDCANCELLED
Default: "ACTIVE"
monthlyLimitstringoptional

Monthly spending limit in EUR

Patternnullable
expiryDatedateoptional

Card expiry date

nullable
cardTypestringoptional

Card type classification

FLEETDRIVERPOOL
Default: "FLEET"
cardNamestringoptional

Card name / Kartenname

max 100 charactersnullable
pinstringoptional

Card PIN (stored for fleet manager reference)

max 20 charactersnullable
internalCommentstringoptional

Internal comment / Interner Kommentar

max 2000 charactersnullable
notesstringoptional

Additional notes

max 2000 charactersnullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/fuel_cards — List, paginated + filterable
  • GET /api/v1/fuel_cards/<id> — Single entity
  • POST /api/v1/fuel_cards — Create
  • PATCH /api/v1/fuel_cards/<id> — Partial update
  • DELETE /api/v1/fuel_cards/<id> — Soft delete
  • GET /api/v1/fuel_cards/<id>/timeline — Audit + activities

Search