WebOffice supports an API that allows you to update the tariffs in real time without having to push a configuration file to the meter or having to log into WebOffice.
Request access to the Swagger file for this API when you want to develop you application.
https://{Server}/PublicPurchasePrerequisiteApi/swagger/index.html
This requires an account in WebOffice to access this page.
The API supports:
GET | /api/LicensePlateVoucher/{dateFromUTC}/{dateToUTC} Get all license plate vouchers created within the provided date range |
GET | /api/LicensePlateVoucher/{licensePlate} Get a license plate voucher for the specified license plate |
DELETE | /api/LicensePlateVoucher/{licensePlate} Deletes a voucher for the specified License Plate. The License plate must be the main license plate attached to the voucher and not an additional license plate. |
GET | /api/LicensePlateVoucher/{licensePlate}/History/{dateFromUTC}/{dateToUTC} Get the history of a license plate voucher |
PUT | /api/LicensePlateVoucher/ Updates a license plate voucher for the in the body specified license plate |
POST | /api/LicensePlateVoucher/ Creates a license plate voucher for the in the body specified license plate |
POST | /api/LicensePlateVoucher/{licensePlate}/Usage/{usageAmount} Add a usage amount to a license plate voucher. Amount can be any non-zero value. |
POST | /api/LicensePlateVoucher/{licensePlate}/AdditionalLicensePlate/{licensePlateToAdd} Add an additional license plate to a license plate voucher. License plate to add must be unique within company. |
DELETE | /api/LicensePlateVoucher/{licensePlate}/AdditionalLicensePlate/{licensePlateToRemove} Removes an additional license plate from a license plate voucher. |
GET | /api/LicensePlateVoucher/ServiceRouting Get all service routings of type 'License Plate Voucher' |
PUT | /api/LicensePlateVoucher/ServiceRouting Update an existing service routing fallback value |