API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · fuel_card_transactions

Fuel Card Transaction Schema

Schema-ID
fuel_card_transaction
Collection
fuel_card_transactions
Permissions
  • Lezenfuel_card_transaction_view
  • Aanmakenfuel_card_transaction_create
  • Wijzigenfuel_card_transaction_edit
  • Verwijderenfuel_card_transaction_delete

Velden

Fuel Card Transaction Schema

fuel_card_transactions4 permissions

Schema for validating fuel card transaction / Tankkarten-Transaktion entities

fuelCardIduuidvereist

Reference to the fuel card

vehicleIduuidoptioneel

Reference to the vehicle

nullable
driverIduuidoptioneel

Reference to the fleet driver

nullable
datedatevereist

Transaction date

amountstringvereist

Transaction amount in EUR as decimal string

Pattern
litersnumberoptioneel

Liters fueled

≥ 0nullable
pricePerLiterstringoptioneel

Price per liter in EUR

Patternnullable
fuelTypestringoptioneel

Fuel type

BENZINDIESELERDGASADBLUESTROMOTHER
nullable
locationstringoptioneel

Fueling location / gas station

max. 200 tekensnullable
mileageKmnumberoptioneel

Mileage at time of fueling

≥ 0nullable
receiptAttachmentIdstringoptioneel

Receipt attachment file ID

nullable
notesstringoptioneel

Additional notes

max. 2000 tekensnullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/fuel_card_transactions — Lijst, gepagineerd + filterbaar
  • GET /api/v1/fuel_card_transactions/<id> — Enkele entity
  • POST /api/v1/fuel_card_transactions — Aanmaken
  • PATCH /api/v1/fuel_card_transactions/<id> — Gedeeltelijke update
  • DELETE /api/v1/fuel_card_transactions/<id> — Soft-delete
  • GET /api/v1/fuel_card_transactions/<id>/timeline — Audit + activiteiten

Zoeken