Changelog
added

Introducing Charge Record V2

๐Ÿ”น What's New?

We've introduced Charge Detail Records V2 under the Spirii API.
This new version enhances performance, consistency, and scalability while improving response structure and filtering capabilities.

๐Ÿ“Œ New Endpoint:
GET /v2/charge-records


โŒ What's Deprecated?

The old Charge Record V1 endpoint is now deprecated under the Spirii Legacy API.

๐Ÿ“Œ Deprecated Endpoint:
GET /v1/charge-records

๐Ÿ”” Action Required:
Partners using this endpoint should migrate to V2 as soon as possible.


๐Ÿ”„ Key Changes & Improvements

ChangeCharge Record V1Charge Record V2
Base Path/v1/charge-records/v2/charge-records
Data StructureFlattened response formatStructured response with nested data
FilteringLimited filtering optionsEnhanced filtering on multiple fields (e.g., start/end timestamps, CPO ID, EMP ID)
PaginationOffset-basedCursor-based for better scalability
Status FieldLimited status valuesExpanded status values for better charge session tracking
Meter ValuesBasic meter readingsMore detailed energy consumption metrics
TimestampsUnix timestampsISO 8601 format for consistency

๐Ÿ“ข Migration & Next Steps

  • All partners using V1 should transition to V2 as soon as possible.
  • The V1 endpoint will remain operational for now, but will be fully sunset at a later date (to be announced).
  • If you use V1, please update your integrations accordingly and reach out if you need support.

๐Ÿ“Œ Breaking Changes Notice:
No immediate disruptions, but if you are using V1, we strongly recommend migrating now to take advantage of the new capabilities and ensure long-term compatibility.


For any questions or migration support, please reach out to support at [email protected].