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

Fuel Card Transaction Schema

Schema-ID
fuel_card_transaction
Collection
fuel_card_transactions
Permissions
  • Lesenfuel_card_transaction_view
  • Anlegenfuel_card_transaction_create
  • Ändernfuel_card_transaction_edit
  • Löschenfuel_card_transaction_delete

Felder

Fuel Card Transaction Schema

fuel_card_transactions4 Permissions

Schema for validating fuel card transaction / Tankkarten-Transaktion entities

fuelCardIduuiderforderlich

Reference to the fuel card

vehicleIduuidoptional

Reference to the vehicle

nullable
driverIduuidoptional

Reference to the fleet driver

nullable
datedateerforderlich

Transaction date

amountstringerforderlich

Transaction amount in EUR as decimal string

Pattern
litersnumberoptional

Liters fueled

≥ 0nullable
pricePerLiterstringoptional

Price per liter in EUR

Patternnullable
fuelTypestringoptional

Fuel type

BENZINDIESELERDGASADBLUESTROMOTHER
nullable
locationstringoptional

Fueling location / gas station

max 200 Zeichennullable
mileageKmnumberoptional

Mileage at time of fueling

≥ 0nullable
receiptAttachmentIdstringoptional

Receipt attachment file ID

nullable
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_card_transactions — Liste, paginiert + filterbar
  • GET /api/v1/fuel_card_transactions/<id> — Einzelne Entity
  • POST /api/v1/fuel_card_transactions — Anlegen
  • PATCH /api/v1/fuel_card_transactions/<id> — Teil-Update
  • DELETE /api/v1/fuel_card_transactions/<id> — Soft-Delete
  • GET /api/v1/fuel_card_transactions/<id>/timeline — Audit + Aktivitäten

Suche