Electricity usage record list

https://api.sciener.com/v3/electricMeter/listRecords

1 Request example

POST, ContentType:application/x-www-form-urlencoded

2 Request parameters

NameTypeRequiredDescription
clientIdStringYAssigned client_id from created application
accessTokenStringYAccess token, obtain by calling get access token API
dateLongYCurrent time (timestamp, in milliseconds)
electricMeterIdStringYElectricity meter ID
dateTypeIntYDate type, 0: day, 1: month, 2: year
dateStrStringYdateType = 0 indicates a query by day, and dateStr must be accurate to the day: 2024-09-06; dateType = 1 indicates a query by month, and dateStr must be accurate to the month: 2024-09; dateType = 2 indicates a query by year, and dateStr must be accurate to the year: 2024

3 Response and example

NameTypeDescription
listJSONObjectList

Objects in the list

NameTypeDescription
dateTypeIntDate type: 0: day, 1: month, 2: year
usedKwhStringElectricity consumption
createDateStringOperation time