Release Notes: Public API of AMPECO Charge 3.145.0
about 16 hours ago by ReadMe API
- ✨ New features
- Added new
POST /public-api/actions/tax/v1.0/validate-vatendpoint to validate EU VAT numbers against the official VIES service. Accepts acountryCodeandvatNumberin the request body, and returns the companynameandaddresswhen available. - Added new
PATCH /public-api/resources/partner-contracts/v1.0/{partnerContract}endpoint for partial updates to partner contracts. Supports updating contract details, access permissions, revenue sharing configuration, and monthly platform fees. - Added the optional
localerequest property toPOST /public-api/actions/transactions/v1.0/{transaction}/issue-invoice. When bilingual invoicing is enabled for the operator, this controls the secondary language of the generated invoice. - Added the optional
allowChargingOutsideWorkingHoursboolean property to theworkingHoursobject on Location v2.0 endpoints (POST /public-api/resources/locations/v2.0,GET /public-api/resources/locations/v2.0,GET /public-api/resources/locations/v2.0/{location},PATCH /public-api/resources/locations/v2.0/{location}). When enabled, charging sessions can start outside working hours even though the location appears as closed. - Added the optional nullable
companyNameproperty to User endpoints on both v1.0 and v1.1 (GET /public-api/resources/users/v1.0,POST /public-api/resources/users/v1.0,GET /public-api/resources/users/v1.0/{user},PATCH /public-api/resources/users/v1.0/{user}, and equivalent v1.1 endpoints). Available ascompany_namein request bodies andcompanyNamein responses.
- Added new
- 🔧 Improvements
- Expanded the notification type enum with the new
FirmwareStatusNotificationvalue across all Notifications v1.0 and v2.0 endpoints. Consumers can now subscribe to and receive firmware status change notifications. - Expanded the
keyResource/resourceTypeenum on Issues v1.0 endpoints (GET /public-api/resources/issues/v1.0,POST /public-api/resources/issues/v1.0,PATCH /public-api/resources/issues/v1.0/{issue}) with the newintegrationvalue. Issues can now reference integration resources.
- Expanded the notification type enum with the new