HomeGuidesAPI ReferenceChangelog
Terms of Use
Changelog

3.176.0 release notes

  1. New features
    1. Added a new Energy Coupon Templates resource. Consumers can now list, create, read, update, and deactivate templates via GET /public-api/resources/energy-coupon-templates/v1.0, POST /public-api/resources/energy-coupon-templates/v1.0, GET /public-api/resources/energy-coupon-templates/v1.0/{energyCouponTemplate}, PATCH /public-api/resources/energy-coupon-templates/v1.0/{energyCouponTemplate}, and POST /public-api/actions/energy-coupon-template/v1.0/{energyCouponTemplate}/deactivate. Templates support fields such as code, name, energyWh, maxRedemptionCount, validityType, validityDurationDays, couponValidFrom, couponValidTo, templateValidFrom, templateValidTo, redemptionRules (oncePerUser, oncePerEmail, oncePerPhoneNumber, oncePerDevice, newUsersOnly), restrictions (personalChargePointsOnly, evseType, countryRestriction, partnerRestriction), externalId, and tags. The listing endpoint supports filtering by status, code, externalId, templateValidFrom, templateValidTo, createdAfter, and createdBefore.
    2. Added POST /public-api/actions/energy-coupon/v1.0/redeem-code to redeem an energy coupon code on behalf of a user. The request body accepts code and userId and returns the resulting energy coupon.
    3. Added GET /public-api/resources/sessions/v1.0/{session}/timeline-snapshot to retrieve a finished session's timeline snapshot, including time series readings (energyKwh, powerKw, voltageV, currentA, temperatureC, socPercent, currentOfferedA, powerOfferedKw, energyExportKwh, powerExportKw, currentExportA, frequencyHz, powerFactor, phases, extra), an events collection, and a has flag map indicating which series are present.
    4. Added the optional filter.energyCouponTemplateId query parameter to GET /public-api/resources/energy-coupons/v1.0 to filter coupons by the template they were issued from.