Skip to main content

Session History and Details

List User’s Charging Sessions

Response includes comprehensive session data:

Get Single Session Details

Response provides the same detailed session object with complete station information, pricing breakdown, and invoice links.

Patch Single Session Details

Rate the charging session:
Response provides the same detailed session object with complete station information, pricing breakdown, and invoice links.

Start-Stop-CDR Flow

The complete charging lifecycle consists of starting a session, monitoring progress, stopping the session, and receiving the final Charge Detail Record (CDR).

Start Charging Session

Initiate a charging session by providing the EVSE ID and payment method:
Response:

Stop Charging Session

End the charging session manually by providing the session ID:

CDR Processing and Final Receipt

After the charging session ends (either manually stopped or automatically), the system receives a Charge Detail Record (CDR) from the charging network that contains the final consumption and cost data. This process happens automatically in the backend:
  1. CDR Reception: The charging station operator sends consumption data
  2. Session Update: Final energy consumption, duration, and costs are calculated
  3. Payment Processing: Pre-authorized amount is captured based on actual consumption
  4. Invoice Generation: Detailed invoice with breakdown is created
  5. Receipt Availability: Session data includes final costs and invoice links
Retrieve the final session details with complete CDR data:
CDR-Enhanced Response:

Session Status Tracking

The charging session lifecycle is managed through several key fields that change as the session progresses from start to completion: Session Lifecycle States:
  1. Session Initiated (Start Command Sent):
  1. Active Charging (Energy Consumption Updates):
  1. Stop Command Sent (Manual or Automatic):
  1. CDR Received and Processed (Final State):
Recommendations:
  • Poll every 10-30 seconds while is_active: true for real-time updates
  • Continue polling after is_active: false until end_time is populated but with extended period
  • Session is complete when end_time is not null
  • Check error handling guide for Start Charging Session and Stop Charging Session.