API Test
Pass device reference ID + duration, get period usage as kWh and units.
Request
Endpoint: /api/usage/by-ref
Example
curl -s "http://localhost:3000/api/usage/by-ref?referenceId=YOUR_REF&duration=7d"
Response
Result appears here after you run a request.
No response yet.