Session Flow
Requested Session:
- A session is created via API call to the central system with an
autoStartvalue offalseorundefined. This may also be done via a mobile app or other remote system. - The session is in the
INITIALIZEDstatus. The central system will then exchange communication with the station to start a charge. - The station acknowledges the request to start a charge. The session status changes to
CONFIRMED. - The station starts the charge. The session status changes to
ACTIVE. If the station denies the request or does not start a charge within two minutes of the session being created, the session status changes toDENIED. - The active session collects meter readings at regular intervals.
- The station stops the transaction. The session enters the
PROCESSINGstage. - The central system calculates the total cost of the session using the meter readings collected during the
ACTIVEstage. - The session is marked for
Manual Reviewif it fails any of the validations or checks. Otherwise, it enters theSANITY CHECKstage. - In the
SANITY CHECKstage, the session is validated for validity of the various components, such as the total session cost and energy. If the session fails any of the sanity checks, it is flagged forManual Review. - In the
MANUAL REVIEWstage, the session is manually reviewed by a support specialist to determine the cause of the failure and to correct the session's cost and energy values. Once the session has been reviewed, it transitions to theCOMPLETEstage. - The session reaches the
COMPLETEstage once it has been successfully processed and has passed all the validations and checks. This phase indicates that the session is ready to be billed.
Auto Start Session:
- A session is created via API call to the central system with an
autoStartvalue oftrue. This is typically done by the station itself. - The session is initialized in the
ACTIVEstate. - The active session collects meter readings at regular intervals.
- The station stops the transaction. The session enters the
PROCESSINGstage. - The central system calculates the total cost of the session using the meter readings collected during the
ACTIVEstage. - The session is marked for
Manual Reviewif it fails any of the validations or checks. Otherwise, it enters theSANITY CHECKstage. - In the
SANITY CHECKstage, the session is validated for validity of the various components, such as the total session cost and energy. If the session fails any of the sanity checks, it is flagged forManual Review. - In the
MANUAL REVIEWstage, the session is manually reviewed by a support specialist to determine the cause of the failure and to correct the session's cost and energy values. Once the session has been reviewed, it transitions to theCOMPLETEstage. - The session reaches the
COMPLETEstage once it has been successfully processed and has passed all the validations and checks. This phase indicates that the session is ready to be billed.
