Project

General

Profile

Bug #2527

Implement New Summary API Endpoint for Station-wise Performance Report

Added by Prashant Jain about 2 hours ago. Updated about 2 hours ago.

Status:
New
Priority:
Normal
Start date:
04/27/2026
Due date:
% Done:

0%

Estimated time:

Description

Develop a new backend summary endpoint to provide aggregated station-wise performance data for reporting and dashboard purposes in EVVMS.

This endpoint should return summarized metrics per station within a selected date range, enabling business users to monitor station performance and revenue efficiently.

Objectives

Create a scalable API that provides:

Station-wise total sessions
Total energy consumed (kWh)
Total revenue
Average revenue per session
Optional comparison with previous period
API Requirements

Endpoint Example:
GET /api/reports/station-summary

Query Parameters
startDate
endDate
tenantId
stationId (optional)
groupBy (daily / weekly / monthly)
Response Structure {
"success": true,
"data": [ {
"stationId": 101,
"stationName": "Jaipur EV Hub",
"totalSessions": 120,
"totalEnergyKwh": 1800,
"totalRevenue": 36000,
"avgRevenuePerSession": 300
}
]
}

#1

Updated by Shreya Agarwal about 2 hours ago

  • Assignee changed from Shubham Sharma to Shreya Agarwal

Also available in: Atom PDF