3.278.0 release notes
about 5 hours ago by ReadMe API
- ⚠️ Breaking changes
- Changed request validation to reject malformed UTF-8 and characters requiring four-byte UTF-8 encoding, such as many emoji, in the following fields:
nameonPOST /public-api/resources/electricity-meters/v1.0andPATCH /public-api/resources/electricity-meters/v1.0/{electricityMeter};nameonPOST /public-api/resources/electricity-rates/v1.0andPUT /public-api/resources/electricity-rates/v1.0/{electricityRate};idLabelonPOST /public-api/resources/id-tags/v2.0andPATCH /public-api/resources/id-tags/v2.0/{idTag};descriptiononPOST /public-api/resources/installer-jobs/v1.0andPATCH /public-api/resources/installer-jobs/v1.0/{installerJob};nameandfloorLevelonPOST /public-api/resources/locations/v2.0/{location}/charging-zonesandPATCH /public-api/resources/locations/v2.0/{location}/charging-zones/{chargingZone};nameonPOST /public-api/resources/circuits/v2.0andPATCH /public-api/resources/circuits/v2.0/{circuit}; andnameandexternalIdonPOST /public-api/resources/partner-invite-corporate-billing-policies/v1.0andPATCH /public-api/resources/partner-invite-corporate-billing-policies/v1.0/{corporateBillingPolicy}. Consumers must exclude these characters from the affected fields.
- Changed request validation to reject malformed UTF-8 and characters requiring four-byte UTF-8 encoding, such as many emoji, in the following fields:
- ✨ New features
- Added the optional
correctionresponse property toGET /public-api/resources/partner-expenses/v1.2,GET /public-api/resources/partner-revenues/v1.2,POST /public-api/actions/partner-expense/v1.0/{partnerExpense}/set-custom-fields, andPOST /public-api/actions/partner-revenue/v1.0/{partnerRevenue}/set-custom-fields. This property provides correction details when an expense or revenue record reverses or replaces another record. - Added the optional
totals.alreadyPaidresponse property toGET /public-api/resources/partner-settlement-reports/v1.1andGET /public-api/resources/partner-settlement-reports/v1.1/{partnerSettlementReport}. Returned alongsidetotals.payableRevenue, it identifies revenue earned in the report's period that another report had already paid when this report was generated.
- Added the optional
- 🔧 Improvements
- Changed
PUT /public-api/resources/electricity-rates/v1.0/{electricityRate}to return422with validation details for invalid update data instead of a generic500error. - Changed
GET /public-api/resources/electricity-rates/v2.0/{electricityRate}/price-periods/dateto populate thedatefield correctly for date-specific price periods while retaining newest-date-first ordering. - Changed EVSE responses to omit
emi3Idwhen a roaming EVSE has no identifier, avoiding a failed response. This applies toGETandPOST /public-api/resources/evses/v2.1,GETandPATCH /public-api/resources/evses/v2.1/{evse},GETandPOST /public-api/resources/charge-points/v2.0/{chargePoint}/evses, andGETandPATCH /public-api/resources/charge-points/v2.0/{chargePoint}/evses/{evse}. - Changed
GET /public-api/resources/partner-expenses/v1.0to use stored payment figures fortotalAmount,subtotal,operatorDiscountPercentage, andoperatorDiscountAmountwhen available. Correction records now return the reversed amount with a negative sign when the original payment figures are available, and reimbursement and revenue-sharing records use their net amount fortotalAmount.
- Changed
