3.277.0 release notes
about 4 hours ago by ReadMe API
- ⚠️ Breaking changes
- Changed ID tag and RFID tag validation to enforce a maximum of 255 characters:
idLabelonPOST /public-api/resources/id-tags/v2.0andPATCH /public-api/resources/id-tags/v2.0/{idTag}, andrfidLabelandrfidTagUidonPOST /public-api/resources/rfid-tags/v1.0andPATCH /public-api/resources/rfid-tags/v1.0/{rfidTag}. Longer values are rejected. - Removed
offlinefrom the accepted values forpaymentMethod.bankTransferTypeonPOST /public-api/resources/transactions/v1.0. - Changed translated bank detail validation on
POST /public-api/resources/partners/v2.0andPATCH /public-api/resources/partners/v2.0/{partner}to limit each translation inbankDetails.translatedBankName,bankDetails.translatedBankAddress, andbankDetails.translatedBankAccountHolderto 255 characters when the corresponding bank detail field is enabled. - Changed partner category name validation on
POST /public-api/resources/partner-categories/v1.0andPATCH /public-api/resources/partner-categories/v1.0/{partnerCategory}to reject four-byte Unicode characters, such as many emoji, inname[].translation. - Changed
roleIdvalidation onPOST /public-api/resources/partners/v2.0/{partner}/adminsandPATCH /public-api/resources/partners/v2.0/{partner}/admins/{admin}to reject roles that the authenticated administrator cannot assign. These requests now return a validation error forroleId. - Changed tariff type validation on
PUT /public-api/resources/tariffs/v1.0/{tariff}andPATCH /public-api/resources/tariffs/v1.0/{tariff}to reject incompatibletypechanges when the tariff is referenced by a markup discount tariff. - Changed bulk tariff group assignment on
POST /public-api/actions/evse/v1.0/bulk-assign-tariff-groupto require permission to maintain charge points and access to the selected tariff group. Requests matching no accessible EVSEs now return a validation error instead of an accepted response.
- Changed ID tag and RFID tag validation to enforce a maximum of 255 characters:
- ✨ New features
- Added
POST /public-api/actions/churn-record/v1.0/record-exitto record an exit for a user, partner, or personal charge point usingsubject,exitedOn, andchurnReason, with an optionalexternalReference. AddedPOST /public-api/actions/churn-record/v1.0/{churnRecord}/set-reasonto set or replace the reason on an existing exit record. - Added the optional
churnReasonrequest object toPOST /public-api/actions/users/v1.0/{user}/change-status,POST /public-api/actions/users/v1.0/{user}/cancel-subscription,POST /public-api/actions/users/v1.0/{user}/terminate-subscription, andPOST /public-api/actions/charge-point/v1.0/{chargePoint}/change-owner. Only operator and global tokens may supply it; it applies when disabling a user, cancelling or terminating a subscription, or removing or replacing a personal charge point's current owner, and accepts eitherreasonIdorcustomReasonwithexitType. - Added the optional
userGroupIdsarray toPOST /public-api/resources/partner-invites/v2.0andPATCH /public-api/resources/partner-invites/v2.0/{partnerInvite}, and added it to responses from these endpoints andGET /public-api/resources/partner-invites/v2.0andGET /public-api/resources/partner-invites/v2.0/{partnerInvite}. IDs must be distinct and belong to the invite's partner; changing groups on an accepted invite without changing its partner returns409, and changing the partner requires clearing or replacing groups that belong to the previous partner. - Added the optional
revenueSharing.enableSessionFeeExpenses,revenueSharing.enableSessionFeeExpensesWithoutTax, andrevenueSharing.handlingFeeBasisfields toPOST /public-api/resources/partner-contracts/v1.0,PATCH /public-api/resources/partner-contracts/v1.0/{partnerContract}, andPUT /public-api/resources/partner-contracts/v1.0/{partnerContract}. These configure session fees as expenses for payment facilitation contracts and whether the handling fee usesamount_with_taxoramount_without_tax. - Added
revenueSharing.enableSessionFeeExpenses,revenueSharing.enableSessionFeeExpensesWithoutTax, andrevenueSharing.handlingFeeBasisto partner contract responses fromGETandPOST /public-api/resources/partner-contracts/v1.0,GET,PATCH, andPUT /public-api/resources/partner-contracts/v1.0/{partnerContract}, andPOST /public-api/actions/partner-contract/v1.0/{partnerContract}/disable,POST /public-api/actions/partner-contract/v1.0/{partnerContract}/reactivate, andPOST /public-api/actions/partner-contract/v1.0/{partnerContract}/start-offboarding. - Added
paymentFacilitationFeePerKwhAc,paymentFacilitationFeePerKwhDc,paymentFacilitationFeePerSessionAc,paymentFacilitationFeePerSessionDc, andpaymentFacilitationHandlingFeeundersubtotals.expensesin responses fromGET /public-api/resources/partner-settlement-reports/v1.1andGET /public-api/resources/partner-settlement-reports/v1.1/{partnerSettlementReport}. - Added
creditedByPartnerInvoiceIdandcreditedByPartnerInvoiceNumberto partner revenue responses fromGET /public-api/resources/partner-revenues/v1.2andPOST /public-api/actions/partner-revenue/v1.0/{partnerRevenue}/set-custom-fieldsto identify the document crediting a revenue record. - Added
expectedCreditNoteCountto the response fromPOST /public-api/actions/partner-settlement-report/v1.0/{partnerSettlementReport}/issue-partner-invoice. ChangedexpectedDocumentCountto include credit notes as well as invoices. - Added support for the
session.billingStatus.changednotification event when subscribing withPOST /public-api/notifications/v2.0, updating withPUT /public-api/notifications/v2.0/{notification}, or resending withPOST /public-api/actions/notifications/v1.0/{notification}/resend. The event may also appear innotificationsarrays returned byGETandPOST /public-api/notifications/v1.0,GETandPUT /public-api/notifications/v1.0/{notification},GETandPOST /public-api/notifications/v2.0, andGETandPUT /public-api/notifications/v2.0/{notification}.
- Added
- 🔧 Improvements
- Expanded
filter[origin]onGET /public-api/resources/partner-expenses/v1.0,GET /public-api/resources/partner-expenses/v1.1, andGET /public-api/resources/partner-expenses/v1.2to acceptpayment-facilitation-fee-per-kwh-ac,payment-facilitation-fee-per-kwh-dc,payment-facilitation-fee-per-session-ac,payment-facilitation-fee-per-session-dc, andpayment-facilitation-handling-fee. These values may also appear in theoriginresponse field on the v1.1 and v1.2 listing endpoints andPOST /public-api/actions/partner-expense/v1.0/{partnerExpense}/set-custom-fields. - Expanded
ocpiData.versionin responses fromGET /public-api/resources/cdrs/v2.0andGET /public-api/resources/cdrs/v2.0/{cdr}to include2.2.1and2.3.0. Changed incomplete CDR responses to omit unavailableocpiData.authMethod,ocpiData.currency,ocpiData.totalCost,ocpiData.totalEnergy, andocpiData.totalTimefields rather than fail to return the record. - Changed listing responses to respect the authenticated administrator's access on
GET /public-api/resources/authorizations/v2.0,GET /public-api/resources/authorizations/v2.1,GET /public-api/resources/electricity-rates/v1.0,GET /public-api/resources/electricity-rates/v2.0,GET /public-api/resources/security-events/v2.0, andGET /public-api/resources/security-events-log/v2.0. Records outside that access are no longer included. - Changed
GET /public-api/resources/partner-settlement-reports/v1.0/{partnerSettlementReport}/recordsandGET /public-api/resources/partner-settlement-reports/v1.1/{partnerSettlementReport}/recordsto return only payment records. - Changed
POST /public-api/resources/transactions/v1.0to ignoreinvoiceDetailsandinvoiceRequiredwhen invoicing is disabled for the authenticated ad hoc payment integration. - Changed
failureReasonin transaction responses fromGETandPOST /public-api/resources/transactions/v1.0,GETandPATCH /public-api/resources/transactions/v1.0/{transaction}, andPOST /public-api/actions/transaction/v1.0/{transaction}/set-custom-fieldsto return recognized payment failure codes without appended diagnostic details. Values containing sensitive technical diagnostics are replaced withpayment_error. - Changed partner revenue responses from
GET /public-api/resources/partner-revenues/v1.0to populateelectricityCost,remainingRevenue,operatorShare,partnerShare, andtotalAmountfor revenue corrections, including signed totals for reversals. ChangedtotalAmountin responses fromGET /public-api/resources/partner-expenses/v1.0to use the expense amount for session fee expenses. - Changed
GET /public-api/resources/tariffs/v1.0to validatefilter[uuid]as a string and apply it consistently to exposed tariffs. - Changed charge point request validation on
POST /public-api/resources/charge-points/v2.0andPATCH /public-api/resources/charge-points/v2.0/{chargePoint}to use the authenticated administrator's operator when creating a charge point and the charge point's existing operator when updating it.
- Expanded
