3.266.0 release notes
about 1 hour ago by ReadMe API
- ⚠️ Breaking changes
- Added a 255-character limit to
name,businessName,address,city, andregion, and to each translation intranslatedName,translatedAddress,translatedCity, andtranslatedRegion, onPOST /public-api/resources/partners/v2.0andPATCH /public-api/resources/partners/v2.0/{partner}. Requests exceeding these limits are rejected. - Changed charge point ownership validation to reject partners and partner contracts outside the caller's accessible scope on
POST /public-api/resources/charge-points/v1.0,PATCH /public-api/resources/charge-points/v1.0/{chargePoint},POST /public-api/resources/charge-points/v2.0, andPATCH /public-api/resources/charge-points/v2.0/{chargePoint}. This applies toownerPartnerIdandownerPartnerContractIdin v1.0, andpartner.id,partner.contractId, and the legacypartner.contactIdin v2.0. - Changed
userGroupIdsvalidation to reject groups outside the caller's operator and partner access scope onPOST /public-api/resources/users/v1.0,PATCH /public-api/resources/users/v1.0/{user},POST /public-api/resources/users/v1.1, andPATCH /public-api/resources/users/v1.1/{user}. - Changed
restrictions.partnerRestriction.partnerIdsvalidation to require partners to belong to the coupon or template's operator onPOST /public-api/resources/energy-coupons/v1.0,POST /public-api/resources/energy-coupon-templates/v1.0, andPATCH /public-api/resources/energy-coupon-templates/v1.0/{energyCouponTemplate}. - Changed
partnerIdvalidation to reject partners outside the caller's accessible scope onPOST /public-api/resources/id-tags/v2.0,PATCH /public-api/resources/id-tags/v2.0/{idTag}, andPATCH /public-api/resources/partner-invites/v1.0/{partnerInvite}. - Changed
emailvalidation to prevent assigning a platform-staff email address when creating a partner administrator throughPOST /public-api/resources/partners/v2.0/{partner}/admins, or when updating an administrator whose current address is not a platform-staff address throughPATCH /public-api/resources/partners/v2.0/{partner}/admins/{admin}.
- Added a 255-character limit to
- ✨ New features
- Added
PATCH /public-api/resources/admins/v1.0/{admin}to update administrator profiles, roles, locale, IP allowlists, site-manager location assignments, and account expiration dates. Email, password, status, and organizational ownership cannot be changed through this endpoint. - Added
POST /public-api/actions/admin/v1.0/{admin}/activateandPOST /public-api/actions/admin/v1.0/{admin}/deactivateto manage administrator account status. Successful requests return the updated administrator with status202; transitions that conflict with the account's current state return409. - Added
status,adminType,expiresOn,locale,whitelistedIps,jobTitle,department,phone,address,postCode,city,region,country,internalNotes,locationIds,signInMethods,isPasswordTwoFactorProtected,createdAt, andupdatedAtto administrator responses onGET /public-api/resources/admins/v1.0andGET /public-api/resources/admins/v1.0/{admin}. Optional fields are omitted when unavailable or not applicable. - Added the experimental
GET /public-api/resources/evses/v2.1/{evse}/effective-tariffsendpoint to retrieve applicable tariffs with calculated pricing, including derived prices and time-of-use energy price periods where available. Useaudience=all,audience=ad_hoc, oraudience=userwith the correspondingoperatorIdoruserId; this endpoint's schema and behavior may change without a version bump while experimental. - Added the optional boolean
reimbursement.autoAssignPoliciesEnabledto requests onPOST /public-api/resources/partners/v2.0andPATCH /public-api/resources/partners/v2.0/{partner}, and to their responses,GET /public-api/resources/partners/v2.0,GET /public-api/resources/partners/v2.0/{partner}, andPOST /public-api/actions/partner/v1.0/{partner}/set-custom-fields. It defaults tofalseand controls automatic reimbursement-policy assignment for subsequent invite acceptances, policy assignments, and charge point ownership changes, without retroactively changing existing assignments. - Added the
taxCountryresponse property andfilter[taxCountry]query filter toGET /public-api/resources/partner-expenses/v1.2andGET /public-api/resources/partner-revenues/v1.2. Also addedtaxCountryto the response fromPOST /public-api/actions/partner-revenue/v1.0/{partnerRevenue}/set-custom-fields. - Added the optional
filter[primaryOnly]query filter toGET /public-api/resources/locations/v2.0,GET /public-api/resources/charge-points/v2.0,GET /public-api/resources/evses/v2.1, andGET /public-api/resources/roaming-cpos/v1.0. When multi-connection roaming support is enabled, setting it totruereturns only primary records rather than duplicate representations received through multiple roaming connections. - Added
filter[status],filter[adminType],filter[roleId], andfilter[email]toGET /public-api/resources/admins/v1.0. Email matching is exact and case-insensitive, and filters combine using AND.
- Added
- 🔧 Improvements
- Expanded
filter[origin]withhome-charging-reimbursementandhome-charging-reimbursement-feeonGET /public-api/resources/partner-expenses/v1.0,GET /public-api/resources/partner-expenses/v1.1, andGET /public-api/resources/partner-expenses/v1.2, and withhome-charging-reimbursementonGET /public-api/resources/partner-revenues/v1.0andGET /public-api/resources/partner-revenues/v1.1. The corresponding reimbursement origins can now appear in v1.1 expense and revenue responses, and both expense origins can appear in v1.2 expense responses. - Changed home-charging reimbursement serialization on
GET /public-api/resources/partner-expenses/v1.0andGET /public-api/resources/partner-revenues/v1.0to return reimbursement amounts correctly. Revenue records without a charging session omitchargingSessionId,startedAt,duration,chargePointName, andstartedAtLocal, returnauthorizationasnull, and use the revenue's currency. - Expanded
billingStatuswithdroppedin responses fromGET /public-api/resources/sessions/v1.0,GET /public-api/resources/sessions/v1.0/{session}, andPOST /public-api/actions/session/v1.0/{session}/set-custom-fields. Also addeddroppedas an accepted value forfilter[billingStatus]on the session listing endpoint. - Expanded
failureReasonwithno_valid_authorized_tokenin responses fromGET /public-api/resources/bookings/v1.0andGET /public-api/resources/bookings/v1.0/{booking}. - Changed
PATCH /public-api/resources/transactions/v1.0/{transaction}to preserve the existing amount excluding tax when no associated purchase order is available andtotalAmountremains unchanged at the currency's precision. Also preserved an existing order association when no replacement purchase order is available. - Changed charge point ownership validation errors to identify the request fields consumers can correct on
POST /public-api/resources/charge-points/v1.0,PATCH /public-api/resources/charge-points/v1.0/{chargePoint},POST /public-api/resources/charge-points/v2.0, andPATCH /public-api/resources/charge-points/v2.0/{chargePoint}. Errors now useownerPartnerIdandownerPartnerContractIdin v1.0, andpartner.id,partner.contractId, or the submitted legacypartner.contactIdin v2.0. - Changed electricity rate
namevalidation onPOST /public-api/resources/electricity-rates/v2.0andPATCH /public-api/resources/electricity-rates/v2.0/{electricityRate}to reject unsupported four-byte Unicode characters, such as emoji, as validation errors rather than allowing a storage failure. - Changed
POST /public-api/resources/tariffs/v1.0/{tariff}/scheduled-changesto sanitizedescriptionandadditionalInformationbefore storing scheduled pricing changes.
- Expanded
