API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · fuel_cards

Fuel Card Schema

Schema-ID
fuel_card
Collection
fuel_cards
Permissions
  • Lesenfuel_card_view
  • Anlegenfuel_card_create
  • Ändernfuel_card_edit
  • Löschenfuel_card_delete

Felder

Fuel Card Schema

fuel_cards4 Permissions

Schema for validating fuel card / Tankkarte entities

cardNumberstringerforderlich

Card number / Kartennummer

1–50 Zeichen
providerstringerforderlich

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

1–200 Zeichen
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 Zeichennullable
pinstringoptional

Card PIN (stored for fleet manager reference)

max 20 Zeichennullable
internalCommentstringoptional

Internal comment / Interner Kommentar

max 2000 Zeichennullable
notesstringoptional

Additional notes

max 2000 Zeichennullable

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/fuel_cards — Liste, paginiert + filterbar
  • GET /api/v1/fuel_cards/<id> — Einzelne Entity
  • POST /api/v1/fuel_cards — Anlegen
  • PATCH /api/v1/fuel_cards/<id> — Teil-Update
  • DELETE /api/v1/fuel_cards/<id> — Soft-Delete
  • GET /api/v1/fuel_cards/<id>/timeline — Audit + Aktivitäten

Suche