updateUserLocation
Update a location of a user
Authorizations:
path Parameters
| userId required | string |
| id required | string |
Request Body schema: application/json
| name | string |
object (Coordinates) | |
| countryCode | string ISO 3166-1 alpha-2 country code |
| postalCode | string Postal code |
| streetAddress | string Street address |
| city | string City |
object (TariffInfo) Tariff information |
Responses
Request samples
- Payload
{- "name": "string",
- "coordinates": {
- "latitude": 59.23655,
- "longitude": 18.09419
}, - "countryCode": "SE",
- "postalCode": "11130",
- "streetAddress": "Slottsbacken 1",
- "city": "Stockholm",
- "tariffInfo": {
- "electricalUtilityProvider": "string",
- "meterId": "string",
- "tariff": "string"
}
}updateUserLocationTariffInfo
Updates tariff information in specified location
Authorizations:
path Parameters
| userId required | string |
| id required | string |
Request Body schema: application/json
| electricalUtilityProvider | string |
| meterId | string |
| tariff | string |
Responses
Request samples
- Payload
{- "electricalUtilityProvider": "string",
- "meterId": "string",
- "tariff": "string"
}addUserLocation
Add a new location for a user
Authorizations:
path Parameters
| userId required | string |
Request Body schema: application/json
| name | string |
object (Coordinates) | |
| countryCode | string ISO 3166-1 alpha-2 country code |
| postalCode | string Postal code |
| streetAddress | string Street address |
| city | string City |
object (TariffInfo) Tariff information |
Responses
Request samples
- Payload
{- "name": "string",
- "coordinates": {
- "latitude": 59.23655,
- "longitude": 18.09419
}, - "countryCode": "SE",
- "postalCode": "11130",
- "streetAddress": "Slottsbacken 1",
- "city": "Stockholm",
- "tariffInfo": {
- "electricalUtilityProvider": "string",
- "meterId": "string",
- "tariff": "string"
}
}saveUserData
Authorizations:
path Parameters
| userId required | string |
Request Body schema: application/json
| electricalUtilityProvider | string |
| meterId | string |
| tariff | string |
Responses
Request samples
- Payload
{- "electricalUtilityProvider": "string",
- "meterId": "string",
- "tariff": "string"
}Response samples
- 200
{- "chargingBehavior": "SMART_CHARGE_OFF",
- "readyTime": "07:00",
- "weekDaySpecificReadyTimes": {
- "MONDAY": "08:00"
}, - "targetSoC": {
- "value": 0,
- "unit": "PERCENT"
}, - "locationId": "string",
- "minimalSoC": {
- "value": 0,
- "unit": "PERCENT"
}, - "batteryCapacity": 0,
- "efficiency": 0,
- "currentSoC": {
- "value": 0,
- "unit": "PERCENT"
}, - "associatedDeviceId": "string",
- "minimumEnergyTransfer": {
- "value": 0,
- "unit": "kWh"
}, - "targetEnergyTransfer": {
- "value": 0,
- "unit": "kWh"
}
}putOCPPChargerPreferences
Authorizations:
path Parameters
| deviceId required | string |
Request Body schema: application/json
| chargingBehavior | string Enum: "SMART_CHARGE_OFF" "SMART_CHARGE_ON" |
| readyTime | string |
object | |
object (BatterySoCEntry) | |
| locationId | string Id of the location where the charger is located |
object (BatterySoCEntry) | |
| batteryCapacity | number <double> |
| efficiency | number <double> |
object (BatterySoCEntry) | |
| associatedDeviceId | string |
object (EnergyTransferEntry) | |
object (EnergyTransferEntry) |
Responses
Request samples
- Payload
{- "chargingBehavior": "SMART_CHARGE_OFF",
- "readyTime": "07:00",
- "weekDaySpecificReadyTimes": {
- "MONDAY": "08:00"
}, - "targetSoC": {
- "value": 0,
- "unit": "PERCENT"
}, - "locationId": "string",
- "minimalSoC": {
- "value": 0,
- "unit": "PERCENT"
}, - "batteryCapacity": 0,
- "efficiency": 0,
- "currentSoC": {
- "value": 0,
- "unit": "PERCENT"
}, - "associatedDeviceId": "string",
- "minimumEnergyTransfer": {
- "value": 0,
- "unit": "kWh"
}, - "targetEnergyTransfer": {
- "value": 0,
- "unit": "kWh"
}
}Response samples
- 200
{- "chargingBehavior": "SMART_CHARGE_OFF",
- "previousChargingBehavior": "SMART_CHARGE_OFF",
- "chargingLocationIds": [
- "string"
], - "chargingLocations": [
- {
- "locationId": "string",
- "coordinates": {
- "latitude": 59.23655,
- "longitude": 18.09419
}, - "countryCode": "SE",
- "postalCode": "12346",
- "spotPriceAreaId": "SE3",
- "id": "string"
}
], - "defaultSpotPriceAreaId": "SE3",
- "readyTime": "07:00",
- "weekDaySpecificReadyTimes": {
- "MONDAY": "08:00"
}, - "targetSoC": {
- "value": 0,
- "unit": "PERCENT"
}, - "minimalSoC": {
- "value": 0,
- "unit": "PERCENT"
}, - "batteryCapacity": 0
}updateEvPreferences
Authorizations:
path Parameters
| deviceId required | string |
Request Body schema: application/json
| chargingBehavior | string Enum: "SMART_CHARGE_OFF" "SMART_CHARGE_AT_LOCATION" "SMART_CHARGE_ANYWHERE" |
| chargingLocationIds | Array of strings |
Array of objects (ChargingLocation) Deprecated to be removed, use | |
| defaultSpotPriceAreaId | string |
| readyTime | string |
object | |
object (BatterySoCEntry) | |
object (BatterySoCEntry) | |
| batteryCapacity | number <double> |
Responses
Request samples
- Payload
{- "chargingBehavior": "SMART_CHARGE_OFF",
- "chargingLocationIds": [
- "string"
], - "chargingLocations": [
- {
- "locationId": "string",
- "coordinates": {
- "latitude": 59.23655,
- "longitude": 18.09419
}, - "countryCode": "SE",
- "postalCode": "12346",
- "spotPriceAreaId": "SE3",
- "id": "string"
}
], - "defaultSpotPriceAreaId": "SE3",
- "readyTime": "07:00",
- "weekDaySpecificReadyTimes": {
- "MONDAY": "08:00"
}, - "targetSoC": {
- "value": 0,
- "unit": "PERCENT"
}, - "minimalSoC": {
- "value": 0,
- "unit": "PERCENT"
}, - "batteryCapacity": 0
}registerCharger
Authorizations:
header Parameters
| X-User-Id required | string |
Request Body schema: application/json
| name | string |
| vendor | string Value: "WALLBOX" |
| vendorDeviceId | string |
| autoSetupOCPPConnection | boolean |
Responses
Request samples
- Payload
{- "name": "string",
- "vendor": "WALLBOX",
- "vendorDeviceId": "string",
- "autoSetupOCPPConnection": true
}getHeatingPreferences
get smart heating device preferences
Authorizations:
path Parameters
| deviceId required | string |
Responses
Response samples
- 200
- 400
- 404
{- "minComfortLimit": 19.5,
- "maxComfortLimit": 20.5,
- "heatingSchedule": {
- "timeZoneId": "Europe/Stockholm",
- "entries": [
- {
- "dayOfWeek": "MONDAY",
- "time": "string",
- "minComfortTemp": 19.5,
- "maxComfortTemp": 20.5,
- "id": "string"
}
]
}, - "heatingBehavior": "SMART_HEATING_ON",
- "location": {
- "countryCode": "SE",
- "postalCode": "12346"
}, - "spotPriceAreaId": "SE3"
}patchHeatingPreferences
update smart heating device preferences
Authorizations:
path Parameters
| deviceId required | string |
Request Body schema: application/json
heating preferences with temperatures expressed in degrees Celsius
| minComfortLimit | number minimum comfort limit temperature in degrees Celsius |
| maxComfortLimit | number maximum comfort limit temperature in degrees Celsius |
object (HeatingSchedule) | |
| heatingBehavior | string Enum: "SMART_HEATING_ON" "SMART_HEATING_OFF" |
object (HeaterLocation) |
Responses
Request samples
- Payload
{- "minComfortLimit": 19.5,
- "maxComfortLimit": 20.5,
- "heatingSchedule": {
- "timeZoneId": "Europe/Stockholm",
- "entries": [
- {
- "dayOfWeek": "MONDAY",
- "time": "string",
- "minComfortTemp": 19.5,
- "maxComfortTemp": 20.5,
- "id": "string"
}
]
}, - "heatingBehavior": "SMART_HEATING_ON",
- "location": {
- "countryCode": "SE",
- "postalCode": "12346"
}
}Response samples
- 200
[- {
- "id": "string",
- "type": "VEHICLE",
- "integration": "SMARTCAR",
- "createdAt": "2019-08-24T14:15:22Z",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "settings": {
- "property1": { },
- "property2": { }
}, - "associatedToCharger": true,
- "associatedChargerIds": [
- "string"
]
}
]Response samples
- 200
{- "id": "string",
- "type": "VEHICLE",
- "integration": "SMARTCAR",
- "createdAt": "2019-08-24T14:15:22Z",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "settings": {
- "property1": { },
- "property2": { }
}, - "associatedToCharger": true,
- "associatedChargerIds": [
- "string"
]
}getHeatingSessions
Get smart heating device historical sessions
Authorizations:
path Parameters
| deviceId required | string |
Responses
Response samples
- 200
- 400
- 404
[- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "endDateTime": "2019-08-24T14:15:22Z",
- "status": "ACTIVE",
- "steeringPeriods": {
- "property1": 0,
- "property2": 0
}, - "spotPriceAreaId": "SE3",
- "timeZone": "Europe/Stockholm"
}
]getHeatingSchedule
Get smart heating device schedule
Authorizations:
path Parameters
| deviceId required | string |
Responses
Response samples
- 200
- 400
- 404
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "steeringPeriods": {
- "property1": 0,
- "property2": 0
}, - "spotPriceAreaId": "string"
}Response samples
- 200
[- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "endDateTime": "2019-08-24T14:15:22Z",
- "status": "ACTIVE",
- "hourlyCharges": {
- "property1": 0,
- "property2": 0
}, - "spotPriceAreaId": "SE3",
- "readyTime": "2019-08-24T14:15:22Z",
- "timeZone": "Europe/Stockholm"
}
]Response samples
- 200
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "hourlyCharges": {
- "property1": 0,
- "property2": 0
}, - "spotPriceAreaId": "SE3",
- "readyTime": "2019-08-24T14:15:22Z",
- "timeZone": "Europe/Stockholm"
}Response samples
- 200
{- "statusTimestamp": "2019-08-24T14:15:22Z",
- "status": "AVAILABLE",
- "errorCode": "string",
- "vendorId": "string",
- "vendorErrorCode": "string",
- "heartbeatTimestamp": "2019-08-24T14:15:22Z",
- "measurement": {
- "timestamp": "2019-08-24T14:15:22Z",
- "value": 0,
- "unit": "string"
}, - "firmwareVersion": "string"
}getHeatPumpStatus
Get HeatPumpStatus for device
Authorizations:
path Parameters
| deviceId required | string |
Responses
Response samples
- 200
- 404
{- "timestamp": "string",
- "lastActivityDate": "string",
- "connectionStatus": "string",
- "hasAlarmed": true,
- "roomTemperature": "string",
- "exhaustAir": "string",
- "compressorTimeFactor": "string"
}registerAccount
Provide Wallbox account credentials to be exchanged for tokens which are stored so that Wallbox operations can be done on behalf of the user
Authorizations:
query Parameters
object (ContinuationObject) |
header Parameters
| X-User-Id required | string |
Request Body schema: application/json
| username | string |
| password | string |
Responses
Request samples
- Payload
{- "username": "string",
- "password": "string"
}registerAccount_1
Authorizations:
query Parameters
object (ContinuationObject) |
header Parameters
| X-User-Id required | string |
Request Body schema: application/json
| redirectUrl | string <uri> |
| brand | string |
| region | string |
| deviceType | string |
| brandSubset | Array of strings |
| excludeBrands | Array of strings |
| devMode | boolean |
Responses
Request samples
- Payload
{- "brand": "string",
- "region": "string",
- "deviceType": "string",
- "brandSubset": [
- "string"
], - "excludeBrands": [
- "string"
], - "devMode": true
}Get spot prices for given area id
Authorizations:
path Parameters
| areaId required | string Example: SE3 spot price area id |
query Parameters
| startDateTime | string |
| endDateTime | string |
Responses
Response samples
- 200
- 404
{- "2023-01-05T21:00:00Z": 0.0123,
- "2023-01-05T22:00:00Z": 0.0234
}Set spot prices for given area id for testing purposes
Authorizations:
path Parameters
| areaId required | string Example: SE3 spot price area id |
Request Body schema: application/json
Hourly energy prices per MWh in Euros
| property name* additional property | number |
Responses
Request samples
- Payload
{- "2023-01-05T21:00:00Z": 12.3,
- "2023-01-05T22:00:00Z": 23.4
}