GET
/
v1.0.0
/
chargers
/
{chargerId}
/
refresh
curl --request GET \
  --url https://api.energy-hub.io/v1.0.0/chargers/{chargerId}/refresh \
  --header 'X-API-KEY: <api-key>'
{
  "lastUpdated": "2023-11-07T05:31:56Z",
  "chargeState": {
    "chargeRate": 6.512,
    "lastUpdated": "2023-11-07T05:31:56Z",
    "chargeCurrentMax": 12,
    "isPlugged": true,
    "activePhases": 1,
    "chargingState": "UNPLUGGED"
  },
  "location": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "isOnline": true,
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "userId": "896f9d5a-b618-48a2-98ae-957059bf1bc9",
  "staticData": {
    "lastUpdated": "2023-11-07T05:31:56Z",
    "vendor": "EASEE",
    "name": "My charger",
    "model": "Wallbox"
  }
}

Authorizations

X-API-KEY
string
header
required

API key used for authorization and authentication.

Path Parameters

chargerId
string
required

Charger ID

Response

200
application/json
Successful operation

Object of charger response.

isOnline
boolean
required

Indicates if the charger is reachable trough the vendor system.

id
string
required

The ID of the charger.

userId
string
required

The ID of the user.

lastUpdated
string

The timestamp of the last update of any field in the charger data.

chargeState
object

Object of charge state data of a charger.

location
string

Object of the location of the charger.

staticData
object

Object of static data of a charger.