Get Inverter Historical
post
Obtain inverter historical data by device ID.
Required scopes
This endpoint requires the following scopes:
- : all privileges
- : all privileges
Authorizations
OAuth2clientCredentialsRequired
Token URL:
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
Body
snstringRequiredExample:
Device serial number
ST22****77FVstartinteger · int64OptionalExample:
Start Time(Note: EpochTime format, default recent 7 day)
1737257242000endinteger · int64OptionalExample:
End Time(Note: EpochTime format, default recent 7 day)
1737862042000currentnumberOptionalExample:
Current page number, default and minimum value is 1
1sizenumberOptionalExample:
The amount pf data presented per page, default and minimum value is 10
10Responses
200
Operation was successful
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
404
Device Does Not Exist
application/json
default
Internal error
application/json
post
/v1/device/inverter/historicalPOST /portal/v1/device/inverter/historical HTTP/1.1
Host: idaas-sandbox.hanchuess.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 131
{
"sn": "ST22****77FV",
"start": 1737257242000,
"end": 1737862042000,
"sorts": {
"field": "dataTimeTs",
"order": "desc"
},
"current": 1,
"size": 10
}{
"errno": 200,
"msg": "The operation has been successful",
"data": {
"records": [
{
"uploadAt": 1744272667975,
"runTime": 1969,
"workMode": 3,
"runStatus": 1,
"pActive": -159,
"pReactive": 0,
"pf": -1,
"pPv": 0,
"ePvTodayGen": 0,
"ePvGen": 41.4,
"pEpsActive": 44,
"pEpsReactive": 0,
"eEpsToday": 0.5,
"eEps": 65.1,
"batComStatus": 10,
"batStatus": 1,
"pBat": 95,
"tBat": 26,
"soc": 0.29,
"soh": 1,
"eBatTodayChg": 0.6,
"eBatTodayDschg": 0,
"pLoad": 239,
"pMeter": 0,
"pL1Grid": 66,
"pL2Grid": 62,
"pL3Grid": 52,
"eGridBuy": 755.8,
"eGridSell": 268.1
}
],
"current": 1,
"size": 10,
"total": 1,
"pages": 1
}
}Last updated