Battery for user
Refresh battery data for user
Updates battery with newest data from vendor system for the user.
GET
/
v1.0.0
/
users
/
{userId}
/
batteries
/
{batteryId}
/
refresh
Authorizations
X-API-KEY
string
headerrequiredApiKey used for authorization and authentication
Path Parameters
userId
string
requiredUser ID
batteryId
string
requiredBattery ID
Response
200 - application/json
Object of battery response.
lastUpdated
string
The timestamp of the last update of any variable of the battery.
chargeState
object
Object of charge state data of a battery.
locationId
string
The location ID of the battery.
isOnline
boolean
requiredIndicates if the battery is reachable trough the vendor system.
id
string
requiredThe ID of the battery.
userId
string
requiredThe ID of the user.
staticData
object
requiredObject of static data of a home energy device.