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

Fuel Card Schema

Schema-ID
fuel_card
Collection
fuel_cards
Permissions
  • Lezenfuel_card_view
  • Aanmakenfuel_card_create
  • Wijzigenfuel_card_edit
  • Verwijderenfuel_card_delete

Velden

Fuel Card Schema

fuel_cards4 permissions

Schema for validating fuel card / Tankkarte entities

cardNumberstringvereist

Card number / Kartennummer

1–50 tekens
providerstringvereist

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

1–200 tekens
assignedVehicleIduuidoptioneel

Assigned vehicle ID

nullable
assignedDriverIduuidoptioneel

Assigned fleet driver ID

nullable
statusstringoptioneel

Card status

ACTIVEBLOCKEDEXPIREDCANCELLED
Default: "ACTIVE"
monthlyLimitstringoptioneel

Monthly spending limit in EUR

Patternnullable
expiryDatedateoptioneel

Card expiry date

nullable
cardTypestringoptioneel

Card type classification

FLEETDRIVERPOOL
Default: "FLEET"
cardNamestringoptioneel

Card name / Kartenname

max. 100 tekensnullable
pinstringoptioneel

Card PIN (stored for fleet manager reference)

max. 20 tekensnullable
internalCommentstringoptioneel

Internal comment / Interner Kommentar

max. 2000 tekensnullable
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_cards — Lijst, gepagineerd + filterbaar
  • GET /api/v1/fuel_cards/<id> — Enkele entity
  • POST /api/v1/fuel_cards — Aanmaken
  • PATCH /api/v1/fuel_cards/<id> — Gedeeltelijke update
  • DELETE /api/v1/fuel_cards/<id> — Soft-delete
  • GET /api/v1/fuel_cards/<id>/timeline — Audit + activiteiten

Zoeken