3.257.0 release notes
about 1 hour ago by ReadMe API
- ⚠️ Breaking changes
- Changed
GET /public-api/resources/transactions/v1.0to reject filled custom field filters that are unknown, unavailable, inaccessible, or non-filterable with400, instead of silently ignoring them. Remove unsupportedfilter[customFields.<identifier>]criteria before retrying. - Changed settlement record writes to return
409witherrorCodeset topayment_tracking_managed_via_partner_invoicewhen the settlement report has at least one partner invoice:POST /public-api/resources/partner-settlement-reports/v1.0/{partnerSettlementReport}/recordsandPUTorDELETE /public-api/resources/partner-settlement-reports/v1.0/{partnerSettlementReport}/records/{PartnerSettlementRecord}. Register payments throughPOST /public-api/actions/partner-invoice/v1.0/{partnerInvoice}/register-paymentinstead. - Changed custom field updates to return
412 Precondition Failedwithout modifying values when custom fields are disabled for the tenant or target resource. This applies toPOST /public-api/actions/partner-settlement-report/v1.0/{partnerSettlementReport}/set-custom-fields,POST /public-api/actions/partner/v1.0/{partner}/set-custom-fields,POST /public-api/actions/payment-terminal/v1.0/{paymentTerminal}/set-custom-fields,POST /public-api/actions/reimbursement-record/v1.0/{reimbursementRecord}/set-custom-fields,POST /public-api/actions/reimbursement-report/v1.0/{reimbursementReport}/set-custom-fields, andPOST /public-api/actions/session/v1.0/{session}/set-custom-fields.
- Changed
- ✨ New features
- Added custom field update actions for ID tags, installer jobs, tariffs, tariff groups, user groups, users, and vehicles:
POST /public-api/actions/id-tag/v1.0/{idTag}/set-custom-fields,POST /public-api/actions/installer-job/v1.0/{installerJob}/set-custom-fields,POST /public-api/actions/tariff/v1.0/{tariff}/set-custom-fields,POST /public-api/actions/tariff-group/v1.0/{tariffGroup}/set-custom-fields,POST /public-api/actions/user-group/v1.0/USERGROUP/set-custom-fields,POST /public-api/actions/users/v1.0/{user}/set-custom-fields, andPOST /public-api/actions/vehicle/v1.0/{vehicle}/set-custom-fields. Send acustomFieldsobject keyed by field identifier; omitted identifiers remain unchanged, explicitnullclears a value, and disabled custom fields return412. - Added the optional
customFieldsresponse property to ID tag, installer job, tariff, tariff group, user group, user, and vehicle reads:GET /public-api/resources/id-tags/v2.0andGET /public-api/resources/id-tags/v2.0/{idTag};GET /public-api/resources/installer-jobs/v1.0andGET /public-api/resources/installer-jobs/v1.0/{installerJob};GET /public-api/resources/tariffs/v1.0andGET /public-api/resources/tariffs/v1.0/{tariff};GET /public-api/resources/tariff-groups/v1.0andGET /public-api/resources/tariff-groups/v1.0/{tariffGroup};GET /public-api/resources/user-groups/v1.0andGET /public-api/resources/user-groups/v1.0/USERGROUP;GET /public-api/resources/users/v1.1andGET /public-api/resources/users/v1.1/{user}; andGET /public-api/resources/vehicles/v1.0andGET /public-api/resources/vehicles/v1.0/{vehicle}. Values are keyed by field identifier, and the property is omitted when no fields apply. - Added custom field filtering to
GET /public-api/resources/id-tags/v2.0,GET /public-api/resources/installer-jobs/v1.0,GET /public-api/resources/tariffs/v1.0,GET /public-api/resources/tariff-groups/v1.0,GET /public-api/resources/user-groups/v1.0,GET /public-api/resources/users/v1.1, andGET /public-api/resources/vehicles/v1.0, usingfilter[customFields.<identifier>]and inclusivefrom/tobounds for number, date, and date-time fields. Unfilled criteria are ignored; filled unsupported criteria return400, and malformed values for supported fields return422. - Added the experimental
POST /public-api/actions/partner-invoice/v1.0/{partnerInvoice}/register-paymentendpoint, accepting requiredpaidAmountanddatefields plus an optionalnote, and returning the updated invoice with202 Accepted. Negative amounts can reverse payments, but credited invoices, credit notes, and entries that would reduce the total paid below zero return409. - Added
amountPaidto partner invoice responses fromGET /public-api/resources/partner-invoices/v1.0,GET /public-api/resources/partner-invoices/v1.0/{partnerInvoice},POST /public-api/actions/partner-invoice/v1.0/{partnerInvoice}/issue-credit-note, andPOST /public-api/actions/partner-invoice/v1.0/{partnerInvoice}/update-external-id. The field reports the total registered payments in the invoice currency and is omitted on credit notes. - Added the optional
partnerInvoiceIdresponse field toGETandPOST /public-api/resources/partner-settlement-reports/v1.0/{partnerSettlementReport}/recordsandGETandPUT /public-api/resources/partner-settlement-reports/v1.0/{partnerSettlementReport}/records/{PartnerSettlementRecord}, identifying the invoice associated with a payment record. - Added the optional Payter
operationModerequest field toPOST /public-api/resources/payment-terminals/v1.1andPATCH /public-api/resources/payment-terminals/v1.1/{paymentTerminal}, with valuesalways_onandplug_in_first, and exposed the active mode in their responses,GET /public-api/resources/payment-terminals/v1.1,GET /public-api/resources/payment-terminals/v1.1/{paymentTerminal}, andPOST /public-api/actions/payment-terminal/v1.0/{paymentTerminal}/set-custom-fields. Creation defaults toplug_in_first, updates preserve the mode when omitted,always_onrequires a single charge point rather than a charging zone andpreauthorizeAmountin the request, and explicitly selectingplug_in_firstrequirestransactionTimeoutin the request.
- Added custom field update actions for ID tags, installer jobs, tariffs, tariff groups, user groups, users, and vehicles:
- 🔧 Improvements
- Expanded
termTypewithanalyticsin responses fromGET /public-api/resources/consent-history/v1.0,GETandPOST /public-api/resources/consents/v1.0,GET /public-api/resources/terms-and-policies/v2.0, andGET /public-api/resources/terms-and-policies/v2.0/{termVersion}. The consent and consent history listing endpoints also acceptanalyticsinfilter[termType]. - Expanded the partner invite
languagevalues with Slovak (sk) and Vietnamese (vi-VN) forPOST /public-api/resources/partner-invites/v2.0and responses fromGET /public-api/resources/partner-invites/v2.0andGETandPATCH /public-api/resources/partner-invites/v2.0/{partnerInvite}. - Expanded
notifications.billing.settlementReportLanguagewith Slovak (sk) and Vietnamese (vi-VN) forPOST /public-api/resources/partners/v2.0,PATCH /public-api/resources/partners/v2.0/{partner}, and partner responses from those endpoints,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. - Changed successful user group creation on
POST /public-api/resources/user-groups/v1.0to return201 Createdrather than200 OK, matching the documented response status.
- Expanded
