3.264.0 release notes
about 2 hours ago by ReadMe API
- ⚠️ Breaking changes
- Made
userIdoptional in create-type booking request responses fromGET /public-api/resources/booking-requests/v1.0,POST /public-api/resources/booking-requests/v1.0, andGET /public-api/resources/booking-requests/v1.0/{bookingRequest}. Consumers must handle its omission when no local user is associated with the request;userIdremains required when submitting a create-type request. - Changed
partnerIdvalidation onPATCH /public-api/resources/partner-invites/v1.0/{partnerInvite}to reject partners outside the API token's operator when the token is operator-scoped. - Changed booking listing visibility on
GET /public-api/resources/bookings/v1.0to require booking read permission and bookings to be enabled in the requesting operator context, while applying operator and partner access restrictions. Requests without the required visibility return no bookings.
- Made
- ✨ New features
- Added the
booking_changednotification type for subscriptions throughPOST /public-api/notifications/v2.0andPUT /public-api/notifications/v2.0/{notification}, and for resending failed notifications throughPOST /public-api/actions/notifications/v1.0/{notification}/resend. Booking change callbacks includenotification,action,bookingId,status,lastUpdatedAt, and an optionalfailureReason. - Added an optional
errorobject to the200response fromPOST /public-api/actions/charge-point/v1.0/{chargePoint}/send-custom-ocppwhen the charge point returns an OCPP call error. The object containscode,description, anddetails. - Added the optional
taxBreakdownresponse field toGET /public-api/resources/partner-revenues/v1.2,GET /public-api/resources/partner-expenses/v1.2, andPOST /public-api/actions/partner-revenue/v1.0/{partnerRevenue}/set-custom-fields. It splits the revenue's partner share or the expense's total amount by tax rate, withtaxPercentageandamount.withoutTax/amount.withTaxfor each entry, and is omitted when no breakdown was recorded.
- Added the
- 🔧 Improvements
- Expanded the
notificationsresponse values to includebooking_changedonGET /public-api/notifications/v2.0,POST /public-api/notifications/v2.0,GET /public-api/notifications/v2.0/{notification}, andPUT /public-api/notifications/v2.0/{notification}. Expanded the same field to includebooking_changed,cdr.processed,CoOperatorInsightChangedNotification, andSignedFirmwareStatusNotificationonGET /public-api/notifications/v1.0,POST /public-api/notifications/v1.0,GET /public-api/notifications/v1.0/{notification}, andPUT /public-api/notifications/v1.0/{notification}. - Changed
ocpiData.totalEnergyin responses fromGET /public-api/resources/cdrs/v2.0andGET /public-api/resources/cdrs/v2.0/{cdr}to use the recorded energy value in kWh. - Changed booking detail visibility on
GET /public-api/resources/bookings/v1.0/{booking}to allow operator-scoped access through either the booking's user or its location, subject to booking read permission and applicable partner and installation-company restrictions.
- Expanded the
