Download OpenAPI specification:Download
ampcontrol.io is an AI-based optimization service accessible through an API for charging point operators (CPO), car manufacturers, and developers. It delivers a toolset to generate optimized charging profiles for electric vehicle (EV) charging stations (Smart Charging).'
The Knowledge Base provides comprehensive vocabulary, detailed descriptions, and step-by-step tutorials. It is a valuable resource for customers who want to integrate Ampcontrol into their software systems. The password for the knowledge base can be found in the User Interface of the Ampcontrol platform.
Ampcontrol's API powers its smart charging software. Behind this API is a software layer optimizing charging stations, charging networks, and electric fleets around the world to allow more electric vehicles on our roads, globally. Ampcontrol, for example, provides a REST API for load management, electric fleet charging, and public charging networks. With this API, you can connect Ampcontrol to any existing software system. Ampcontrol's resources have one or more methods that can be used over HTTP, like GET, POST, PATCH, and DELETE.
Ampcontrol supports HTTP Bearer authentication. This allows you to protect the URLs on your web server so that only you and Ampcontrol can access them. In order to authenticate, you will use your Ampcontrol authentication token:
Authorization: Bearer <token>
Let's do one simple API request with Ampcontrol. The code below shows how to create a new charging session. This will in turn create an optimization.
# example API request
import requests
import json
# You should have received your Bearer Token from our team
token = 'your_bearer_token'
headers = {
'content-type': 'application/json',
'authorization': 'Bearer ' + token
}
# If you don't have chargePoints or connectors, you can use the API to create new ones
payload = {
"chargePointId": "7f761661-39fc-5220-b167-dc550d9ad06c",
"connectorId": "9c82883b-694e-5e10-bfc2-be7f88f376ce",
}
url = "https://api.ampcontrol.io/v2/charging_sessions/"
response = requests.post(url, headers=headers, json=payload)
print(json.dumps(response.json(), indent=4))
# example API response {
"status": "success",
"data": [
{
"id": "e92f5fb6-e014-5267-9f3e-41cd72248f89",
"created": "2021-07-09T18:08:52.649578+00:00",
"updated": "2021-07-09T18:08:52.649578+00:00",
"connectorId": "9c82883b-694e-5e10-bfc2-be7f88f376ce",
"chargingRateUnit": "kW",
"vehicleId": null,
"transactionId": null,
"energyToCharge": null,
"maximumChargingTimeDate": null,
"maxChargingPowerOfVehicle": null,
"chargePointId": "7f761661-39fc-5220-b167-dc550d9ad06c"
}
],
"total": 1
}
Webhooks are user-defined HTTP callbacks triggered by an event in a web application. Ampcontrol uses webhooks to asynchronously let your application know when optimizations happen, like getting a new charging profile for your vehicle. This is optional, and you can use Ampcontrol also without using webhooks.
When the webhook event occurs, Ampcontrol makes a POST request to the URL you have configured for your webhook. Ampcontrol’s request to your application includes details of the event, like kilowatt limits for a certain charge point connector. Your application can then perform whatever logic is necessary.
Webhook requests are signed with an X-Webhook-Signature HTTP header containing the HMAC sha256 digest output of your network's webhookSecret
and the request body. This way you can optionally use the header to verify that the request comes from a trusted source.
The User-Agent
header is set to Ampcontrol Delivery Service
, firewall rules can be added to allow inbound requests containing this header on the client-side.
webhook_secret = 'my-secret-token' # this can be set on /v2/networks/ endpoint
headers = response.header
body = response.body
print(body)
"""
{
'this is a simple json reponse payload'
}
"""
print(headers)
""" {
"User-Agent": "Ampcontrol Delivery Service"
"X-Webhook-Signature": "676851448a4cda2f3c285ed2274867654c801e8a6394c351b77c713ab4ad20e4"
} """
# to validate that the payload was sent by ampcontrol we can do the following:
signature = hmac.create(
key=webhook_secret.encode("UTF-8"),
msg=body.enconde("UTF-8"),
hash_function=sha256
)
# Make sure that the HMAC library you are using returns as a string containing only hexadecimal digits.
assert signature == headers["X-Webhook-Signature"]
Ampcontrol works with digital twins of a charging network or charging location. The system differentiates the following objects: Networks, chargePoints, connectors, chargingSessions, optimizations, and vehicles (optional).
Integrating Ampcontrol into your app is simple, and you can follow these steps:
To obtain your authentication token, log in to your account and extract the token.
# replace with your own username and password
login_credentials = {
"name": "username",
"password": "password"
}
url = "https://api.ampcontrol.io/v2/users/login"
response = requests.post(url, login_credentials)
token = response.json()["data"][0]["session"]
print(response.json()["data"][0]["session"])
Ampcontrol returns a "success" message with a "session" field that contains your token.
{
"status": "success",
"data": [
{
"length": 284,
"payload": {
"chk": "4204fce9425a7011",
"company": "843c686f-5602-46ca-96c8-6b200740a37d",
"exp": "2022-03-08T17:47:49.440481+00:00",
"role": "user",
"type": "user",
"user": "0333e0c4-1989-41b7-b12f-45aa61a9093c"
},
"session": "gieIqM78mDMGosLkHfNYQSFfnKm26XEVmyFaFEuHq2Q.0nIwETO2EWNyQTOlNmZ1ADNyIiOisGajJCL5YjNxYzN2QjNxojIwhXZiwiIyV2c1JiOiUGbvJnIsIyMiV2NxIjNlFWZhNTLyUWN50yNjRTNtkTM5MTLiljYTewq1QmI6ISeuFGct92Yisrett3L.modn4rN4MGOtYGOkFWL5YWM10CMmZ2MtATS1k3hNMJeoojIyV2c1Jye.9JiN1IzUIJiOicGbhJCLiQ1VKJA4oan4elks"
}
],
"total": 1
}
To check that your integration is working correctly, make a test API request using your test token to get all your charge points.
# replace the token with your token
headers = {
'content-type': 'application/json',
'authorization': 'Bearer ' + token
}
url = "https://api.ampcontrol.io/v2/charge_points/"
response = requests.get(url, headers=headers)
print(json.dumps(response.json(), indent=4))
Ampcontrol returns a "success". If you haven't created any charge points, the data will be empty.
{
"status": "success",
"data": [],
"total": 0
}
Before using Ampcontrol, you typically have to create a new network, charge point, and connector. In this step, we create a network, using only the required data.
headers = {
'content-type': 'application/json',
'authorization': 'Bearer ' + token
}
payload = {
"name": "my first network",
"maxCapacity": 30 # maxCapacity of networks is always in kW
}
url = "https://api.ampcontrol.io/v2/networks/"
response = requests.post(url, headers=headers, json=payload)
print(json.dumps(response.json(), indent=4))
Ampcontrol returns a network object in the response of your API request.
{
"status": "success",
"data": [
{
"maxCapacity": 30.0,
"currentChargingLoad": null,
"name": "my first network",
"id": "3b87971f-e7ec-5a73-be26-cee0aafe75fe",
"created": "2021-07-10T17:21:33.462196+00:00",
"updated": "2021-07-10T17:21:33.462196+00:00",
"objective": "load_sharing",
"timeZone": "UTC",
"location": null,
"webhook": null,
"currentLimit": null
}
],
"total": 1
}
In this step, we create a charge point and a connector, using only the required data. The charge point is linked to your network.
headers = {
'content-type': 'application/json',
'authorization': 'Bearer ' + token
}
payload = {
"maxCapacity": 75, # maxCapacity of charge point is always in kW
"name": "Charger 1",
"networkId": "3b87971f-e7ec-5a73-be26-cee0aafe75fe" # the charge point is linked to the networkId
}
url = "https://api.ampcontrol.io/v2/charge_points/"
response = requests.post(url, headers=headers, json=payload)
print(json.dumps(response.json(), indent=4))
Ampcontrol returns a chargePoint object in the response of your API request.
{
"status": "success",
"data": [
{
"id": "42e56909-f84f-5852-a7ad-98f284104af4",
"created": "2021-07-10T17:27:08.404196+00:00",
"updated": "2021-07-10T17:27:08.404196+00:00",
"maxCapacity": 75.0,
"currentChargingLoad": 0.0,
"name": "Charger 1",
"networkId": "3b87971f-e7ec-5a73-be26-cee0aafe75fe",
"location": null,
"latitude": null,
"longitude": null,
"vendor": null,
"protocol": null,
"active": false,
"currentLimit": null
}
],
"total": 1
}
In this step, we create a connector, using only the required data. The connector is linked to your charge point.
headers = {
'content-type': 'application/json',
'authorization': 'Bearer ' + token
}
payload = {
"maxCapacity": 75, # maxCapacity of connectors is always in kW
"chargePointId": "42e56909-f84f-5852-a7ad-98f284104af4", # the connector is linked to the chargePointId
"connectorId": 1, # connectorId is an integer >0
"currentType": "DC", # currentType can be DC, AC_phase3_LN, or AC_phase3_LL
"voltage": 230 # Minimum voltage is 120V
}
url = "https://api.ampcontrol.io/v2/connectors/"
response = requests.post(url, headers=headers, json=payload)
print(json.dumps(response.json(), indent=4))
Ampcontrol returns a connector object in the response of your API request.
{
"status": "success",
"data": [
{
"maxCapacity": 75.0,
"currentChargingLoad": 0.0,
"name": null,
"id": "c77a41a0-be89-58a6-867b-5d61b04f2d22",
"created": "2021-07-10T17:32:15.059072+00:00",
"updated": "2021-07-10T17:32:15.059072+00:00",
"chargePointId": "42e56909-f84f-5852-a7ad-98f284104af4",
"connectorId": 1,
"currentType": "DC",
"voltage": 230.0,
"powerFactor": 1.0,
"active": false,
"currentLimit": null
}
],
"total": 1
}
In this step, we create a charging session on the created connector, using only the required data.
headers = {
'content-type': 'application/json',
'authorization': 'Bearer ' + token
}
# the charging session is linked to charge point and connector
payload = {
"chargePointId": "42e56909-f84f-5852-a7ad-98f284104af4",
"connectorId": "c77a41a0-be89-58a6-867b-5d61b04f2d22"
}
url = "https://api.ampcontrol.io/v2/charging_sessions/"
response = requests.post(url, headers=headers, json=payload)
print(json.dumps(response.json(), indent=4))
Ampcontrol returns a chargingSession object in the response of your API request.
{
"status": "success",
"data": [
{
"id": "066dad20-d289-560b-9b67-fd9bb9f52057",
"created": "2021-07-10T17:40:40.898007+00:00",
"updated": "2021-07-10T17:40:40.898007+00:00",
"connectorId": "c77a41a0-be89-58a6-867b-5d61b04f2d22",
"chargingRateUnit": "kW",
"vehicleId": null,
"transactionId": null,
"energyToCharge": null,
"maximumChargingTimeDate": null,
"maxChargingPowerOfVehicle": null,
"chargePointId": "42e56909-f84f-5852-a7ad-98f284104af4"
}
],
"total": 1
}
In this step, we receive optimization results for the created charging session.
headers = {
'content-type': 'application/json',
'authorization': 'Bearer ' + token
}
# Use the query parameter to filter by network, chargepoint, connector, or charge_session
url = "https://api.ampcontrol.io/v2/optimizations/?network=3b87971f-e7ec-5a73-be26-cee0aafe75fe"
response = requests.get(url, headers=headers)
print(json.dumps(response.json(), indent=4))
Ampcontrol returns an Optimization object in the response of your API request. In this case, the network is the limiting factor and the optimization allows 30 kW.
{
"status": "success",
"data": [
{
"id": "b87ecec4-5805-50d3-ac62-f75da4138e70",
"created": "2021-07-10T17:40:40.970125+00:00",
"updated": "2021-07-10T17:40:40.970125+00:00",
"method": "load_sharing",
"csChargingProfiles": {
"chargingProfileId": 12962,
"chargingProfileKind": "Absolute",
"chargingProfilePurpose": "TxProfile",
"chargingSchedule": {
"chargingRateUnit": "kW",
"chargingSchedulePeriod": [
{
"limit": 30.0,
"startPeriod": 0.0
},
{
"limit": 30.0,
"startPeriod": 900.0
},
{
"limit": 30.0,
"startPeriod": 1800.0
},
{
"limit": 30.0,
"startPeriod": 2700.0
},
{
"limit": 30.0,
"startPeriod": 3600.0
},
{
"limit": 30.0,
"startPeriod": 4500.0
},
{
"limit": 30.0,
"startPeriod": 5400.0
},
{
"limit": 30.0,
"startPeriod": 6300.0
},
{
"limit": 30.0,
"startPeriod": 7200.0
},
{
"limit": 30.0,
"startPeriod": 8100.0-
}
],
"duration": 9000.0
},
"stackLevel": 0.0,
"transactionId": null,
"validFrom": "2021-07-10T17:40:40.970125+00:00",
"validTo": "2021-07-10T20:10:40.970125+00:00"
},
"profile": {
"start": "2021-07-10T17:40:40.970125+00:00",
"stop": "2021-07-10T20:10:40.970125+0-0:00",
"unit": "kW",
"data": [
{
"time": "2021-07-10T17:40:40.970125+00:00",
"value": 30.0
},
{
"time": "2021-07-10T17:55:40.970125+00:00",
"value": 30.0
},
{
"time": "2021-07-10T18:10:40.970125+00:00",
"value": 30.0
},
{
"time": "2021-07-10T18:25:40.970125+00:00",
"value": 30.0
},
{
"time": "2021-07-10T18:40:40.970125+00:00",
"value": 30.0
},
{
"time": "2021-07-10T18:55:40.970125+00:00",
"value": 30.0
},
{
"time": "2021-07-10T19:10:40.970125+00:00",
"value": 30.0
},
{
"time": "2021-07-10T19:25:40.970125+00:00",
"value": 30.0
},
{
"time": "2021-07-10T19:40:40.970125+00:00",
"value": 30.0
},
{
"time": "2021-07-10T19:55:40.970125+00:00",
"value": 30.0
}
]
},
"connectorId": 1,
"connector": "c77a41a0-be89-58a6-867b-5d61b04f2d22",
"chargepointId": "42e56909-f84f-5852-a7ad-98f284104af4",
"networkId": "3b87971f-e7ec-5a73-be26-cee0aafe75fe"
}
],
"total": 1
}
Your dashboard will show the load profile.
In this step, we send a meter value from the connector to Ampcontrol. Ampcontrol uses meter values to confirm and adjust the optimization dynamically.
headers = {
'content-type': 'application/json',
'authorization': 'Bearer ' + token
}
payload = {
"chargePointId": "42e56909-f84f-5852-a7ad-98f284104af4",
"connectorId": 1,
"meterValues": [
{
"sampledValue": [
{
"context": "Sample.Periodic",
"format": "Raw",
"location": "Outlet",
"measurand": "Energy.Active.Import.Register",
"phase": "L1",
"unit": "Wh",
"value": 56790
}
],
"timestamp": "2021-07-10T17:40:56+00:00"
}
]
}
url = "https://api.ampcontrol.io/v2/meter_values/"
response = requests.post(url, headers=headers, json=payload)
print(json.dumps(response.json(), indent=4))
Ampcontrol returns a meterValue object in the response of your API request.
{
"status": "success",
"data": [
{
"chargePointId": "42e56909-f84f-5852-a7ad-98f284104af4",
"connectorId": 1,
"meterValues": [
{
"timestamp": "2021-07-10T17:40:56+00:00",
"sampledValue": [
{
"context": "Sample.Periodic",
"format": "Raw",
"location": "Outlet",
"measurand": "Energy.Active.Import.Register",
"phase": "L1",
"unit": "Wh",
"value": 56790
}
]
}
]
}
],
"total": 1
}
In this step, we stop the same charging session. This is typically the step when the vehicle leaves the charge point.
headers = {
'content-type': 'application/json',
'authorization': 'Bearer ' + token
}
# we use the charging session ID which Ampcontrol sent after the POST
url = "https://api.ampcontrol.io/v2/charging_sessions/066dad20-d289-560b-9b67-fd9bb9f52057"
response = requests.delete(url, headers=headers)
print(json.dumps(response.json(), indent=4))
Ampcontrol returns a chargingSession object in the response of your API request.
{
"status": "success",
"data": [
{
"id": "066dad20-d289-560b-9b67-fd9bb9f52057",
"created": "2021-07-10T17:40:40.898007+00:00",
"updated": "2021-07-10T20:25:30.749445+00:00",
"connectorId": "c77a41a0-be89-58a6-867b-5d61b04f2d22",
"chargingRateUnit": "kW",
"vehicleId": null,
"transactionId": null,
"energyToCharge": null,
"maximumChargingTimeDate": null,
"maxChargingPowerOfVehicle": null,
"chargePointId": "42e56909-f84f-5852-a7ad-98f284104af4"
}
],
"total": 1
}
In this step, we create a vehicle. All fields are optional. The vehicle is not related to a specific network and can be used across networks.
headers = {
'content-type': 'application/json'
'authorization': 'Bearer ' + token
}
payload = {
"name": "Bus 2", # name can be defined by customer
"VIN": "4Y1SL65848Z411439", # Vehicle identification number (VIN) is the identifying code for the vehicle
"batteryCapacity": 100, # batteryCapacity is always in kWh, is an integer >0
"maxChargingPower": 11.5, # maxChargingPower is in kW and defines the upper limit of the vehicle's power input
"targetStateOfCharge": 100 # targetStateOfCharge is in percentage (%)
}
url = "https://api.ampcontrol.io/v2/vehicles/"
response = requests.post(url, headers=headers, data=payload)
print(json.dumps(response.json(), indent=4))
Ampcontrol returns a Vehicle object in the response of your API request.
{
"status": "success",
"data": [
{
"name": "Bus 2",
"id": "4e389086-efa1-57d4-981b-a63f25630cb8",
"created": "2021-08-12T13:05:42.982026+00:00",
"updated": "2021-08-12T13:05:42.982026+00:00",
"VIN": "4Y1SL65848Z411439",
"customerVehicleId": null,
"stateOfCharge": 0.0,
"targetStateOfCharge": 100.0,
"maxChargingPower": 11.5,
"batteryCapacity": 100.0,
"location": null,
"departureTime": null,
"active": false
}
],
"total": 1
}
In this step, we update a vehicle. We send a target state of charge, the current state of charge and a departure time for the existing vehicle.
headers = {
'content-type': 'application/json'
'authorization': 'Bearer ' + token
}
payload = {
"departureTime": "2020-08-13T06:00:00+00:00", # departure time can be used for the next charging session
"stateOfCharge": 15.5, # previous targetStateOfCharge will be replaced
"targetStateOfCharge": 90.0 # stateOfCharge can be updated also during the charging session
}
url = "https://api.ampcontrol.io/v2/vehicles/4e389086-efa1-57d4-981b-a63f25630cb8" # we add the vehicleId int the URL
# we use the PATCH method
response = requests.patch(url, headers=headers, data=payload)
print(json.dumps(response.json(), indent=4))
Ampcontrol returns an updated Vehicle object in the response of your API request.
{
"status": "success",
"data": [
{
"name": "Bus 2",
"id": "4e389086-efa1-57d4-981b-a63f25630cb8",
"created": "2021-08-12T13:05:42.982026+00:00",
"updated": "2021-08-12T13:15:24.175699+00:00",
"VIN": "4Y1SL65848Z411439",
"customerVehicleId": null,
"stateOfCharge": 15.5,
"targetStateOfCharge": 90.0,
"maxChargingPower": 11.5,
"batteryCapacity": 100.0,
"location": null,
"departureTime": "2020-08-13T06:00:00.000000+00:00",
"active": false
}
],
"total": 1
}
In this step, we create a new charging session on the created connector, using vehicle data. This allows fleet optimizations. (note: the network's objective has to be set on "fleet" for this functionality).
headers = {
'content-type': 'application/json'
'authorization': 'Bearer ' + token
}
# the charging session is linked to charge point, connector, vehicle payload = {
"chargePointId": "3121d5bc-e6b1-5fc0-baa2-a232e89d5b5c",
"connectorId": "8b3041c7-6b7c-5c55-9d43-d3a0666dd40e",
"vehicleId": "4e389086-efa1-57d4-981b-a63f25630cb8"
}
url = "https://api.ampcontrol.io/v2/charging_sessions/"
response = requests.patch(url, headers=headers, data=payload)
print(json.dumps(response.json(), indent=4))
Ampcontrol returns a chargingSession object in the response of your API request.
{
"status": "success",
"data": [
{
"id": "bb4f07b5-c419-5efd-9640-870729ae4be3",
"created": "2021-08-12T13:23:30.736521+00:00",
"updated": "2021-08-12T13:23:30.736521+00:00",
"connectorId": "8b3041c7-6b7c-5c55-9d43-d3a0666dd40e",
"chargingRateUnit": "kW",
"vehicleId": "4e389086-efa1-57d4-981b-a63f25630cb8",
"transactionId": null,
"energyToCharge": null,
"maximumChargingTimeDate": null,
"maxChargingPowerOfVehicle": null,
"chargePointId": "3121d5bc-e6b1-5fc0-baa2-a232e89d5b5c",
"active": true,
"sessionStart": "2021-08-12T13:23:30.757062+00:00",
"sessionEnd": null
}
],
"total": 1
}
If you want optimization profiles to be sent via a POST request to an endpoint of your choice, you can set
the network's webhook parameter when creating or updating the network (POST/PATCH). To avoid a malicious source
from making requests to your webhook, an additional webhookSecret
parameter must be provided. Webhook events
are signed with an X-Webhook-Signature HTTP header. This string contains the HMAC sha256 digest output of your
webhook secret and request body. One thing to keep in mind is that if the POST request to your webhook endpoint
returns a 404 response, then the charging session associated with the optimization profiles will be ended.
headers = {
'content-type': 'application/json',
'authorization': 'Bearer ' + token
}
payload = {
"webhook": "https://example.com/custom-webhook/"
"webhookSecret": "some-secret-string"
}
url = "https://api.ampcontrol.io/v2/networks/3b87971f-e7ec-5a73-be26-cee0aafe75fe"
response = requests.patch(url, headers=headers, json=payload)
print(json.dumps(response.json(), indent=4))
Ampcontrol then returns the updated network object in the response of your API request.
{
"status": "success",
"data": [
{
"maxCapacity": 30.0,
"currentChargingLoad": null,
"name": "my first network",
"id": "3b87971f-e7ec-5a73-be26-cee0aafe75fe",
"created": "2021-07-10T17:21:33.462196+00:00",
"updated": "2021-07-10T17:21:33.462196+00:00",
"objective": "load_sharing",
"timeZone": "UTC",
"location": null,
"webhook": "https://example.com/custom-webhook/"
"currentLimit": null
}
],
"total": 1
}
Queries and returns the alerts corresponding to a network. A default 24 hours range will be applied if start or alert are not specified.
network required | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
charger | string <uuid> Example: charger=f0adb0c5-31b7-4a36-8052-de019a1a1638 Filter alerts by charger's uuid |
connector | string <uuid> Example: connector=f32ae6f5-b640-46fc-82c4-99c5cbedde37 Filter alerts by connector's uuid |
name | Array of strings (alert_name_schema_enum) Items Enum: "METER_VALUE_LIMIT_VIOLATION" "UNEXPECTED_CONNECTOR_AND_PHASE_COMBINATION" "CHARGER_DISCONNECTED" "INVALID_ID_TAGS" "OCPP_MESSAGE_OUT_OF_SYNC" "CALL_ERROR" "CHARGE_POINT_HIGH_INTERNAL_TEMPERATURE" "SUSPENDED_EVSE" "SUSPENDED_EV" "UNAVAILABLE" "FAULTED" "CONNECTOR_LOCK_FAILURE" "EV_COMMUNICATION_ERROR" "GROUND_FAILURE" "HIGH_TEMPERATURE" "INTERNAL_ERROR" "LOCAL_LIST_CONFLICT" "OVER_CURRENT_FAILURE" "OVER_VOLTAGE" "POWER_METER_FAILURE" "POWER_SWITCH_FAILURE" "READER_FAILURE" "RESET_FAILURE" "UNDER_VOLTAGE" "WEAK_SIGNAL" "VENDOR_ERROR_CODE" "INCORRECT_SETTINGS" Filter by alert name. This will override the 'category' and 'urgency' fields. |
category | Array of strings (alert_category_schema_enum) Items Enum: "Charge Point" "Connector" "Vehicle" "IdTag" "Operations" "Maintenance" "System Error" "Settings Error" "Hardware" "Software" Filter by alert categories. |
urgency | Array of strings (alert_urgency_schema_enum) Items Enum: "Very High" "High" "Medium" "Low" "Very Low" Filter by alert urgency. |
status | Array of strings (alert_status_schema_enum) Items Enum: "Triggered" "Acknowledged" "Resolved" "Pending" Filter by alert status. |
sort | Array of strings[^(start|end|urgency|name):(desc|asc)$] Sort by specific values. Defaults to 'start' in descending order.
Uses the following pattern |
isActive | boolean Example: isActive=true Filter by alert active status. |
vehicleId | string <uuid> Example: vehicleId=f32ae6f5-b640-46fc-82c4-99c5cbedde37 Filter alerts by vehicle uuid |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
{- "status": "success",
- "data": [
- {
- "id": "a6d66da8-a10a-40a1-ae42-c06a457b4582",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerId": "f0adb0c5-31b7-4a36-8052-de019a1a1638",
- "connectorId": "684ce4d6-6267-490f-b7f1-4ad0874d2453",
- "vehicleId": "801fda4b-593a-4589-9afb-5b970aea1a7b",
- "chargeSessionId": "74b1499d-2552-42b0-9930-b7326a84aed0",
- "start": "2022-10-11T08:19:00",
- "end": "2022-10-11T14:30:00",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "statusUpdated": "2020-10-11T08:19:00+00:00",
- "name": "callError",
- "active": true,
- "status": "Triggered",
- "urgency": "Medium",
- "category": "Operations",
- "notes": "string",
- "action": "string",
- "description": "string",
- "details": {
- "errorCodes": [
- "012252",
- "552"
]
}, - "notificationsCount": 0,
- "eventsCount": 0
}
], - "total": 1
}
{- "status": "success",
- "data": [
- {
- "id": "a6d66da8-a10a-40a1-ae42-c06a457b4582",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerId": "f0adb0c5-31b7-4a36-8052-de019a1a1638",
- "connectorId": "684ce4d6-6267-490f-b7f1-4ad0874d2453",
- "vehicleId": "801fda4b-593a-4589-9afb-5b970aea1a7b",
- "chargeSessionId": "74b1499d-2552-42b0-9930-b7326a84aed0",
- "start": "2022-10-11T08:19:00",
- "end": "2022-10-11T14:30:00",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "statusUpdated": "2020-10-11T08:19:00+00:00",
- "name": "callError",
- "active": true,
- "status": "Triggered",
- "urgency": "Medium",
- "category": "Operations",
- "notes": "string",
- "action": "string",
- "description": "string",
- "details": {
- "errorCodes": [
- "012252",
- "552"
]
}, - "notificationsCount": 0,
- "eventsCount": 0
}
], - "total": 1
}
Modifies and returns the corresponding alert
status | string Enum: "Triggered" "Acknowledged" "Resolved" Change the status of the alert |
notes | string Add notes and information for this alert |
{- "status": "Triggered",
- "notes": "string"
}
{- "status": "success",
- "data": [
- {
- "id": "a6d66da8-a10a-40a1-ae42-c06a457b4582",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerId": "f0adb0c5-31b7-4a36-8052-de019a1a1638",
- "connectorId": "684ce4d6-6267-490f-b7f1-4ad0874d2453",
- "vehicleId": "801fda4b-593a-4589-9afb-5b970aea1a7b",
- "chargeSessionId": "74b1499d-2552-42b0-9930-b7326a84aed0",
- "start": "2022-10-11T08:19:00",
- "end": "2022-10-11T14:30:00",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "statusUpdated": "2020-10-11T08:19:00+00:00",
- "name": "callError",
- "active": true,
- "status": "Triggered",
- "urgency": "Medium",
- "category": "Operations",
- "notes": "string",
- "action": "string",
- "description": "string",
- "details": {
- "errorCodes": [
- "012252",
- "552"
]
}, - "notificationsCount": 0,
- "eventsCount": 0
}
], - "total": 1
}
Add baseloads
networkId required | string <uuid> (uuid) |
required | Array of objects |
{- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "baseloadMeterValues": [
- {
- "timestamp": "2022-01-03T20:10:00+00:00",
- "unit": "kWh",
- "value": 123.4
}, - {
- "timestamp": "2022-01-03T15:10:00+00:00",
- "unit": "kWh",
- "value": 321
}
]
}
{- "status": "success",
- "data": [
- [
- {
- "id": "f2458fc2-8ca0-4c05-bc8e-89401bb8f954",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "timestamp": "2022-01-03T20:10:00.000000+00:00",
- "type": "actual",
- "unit": "kWh",
- "value'": 123.4
}, - {
- "id": "0586a650-90c4-44b9-97d7-5bf2e56ec198",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "timestamp": "2022-01-03T15:10:00.000000+00:00",
- "type": "actual",
- "unit": "kWh",
- "value": 321
}
]
], - "total": 2
}
List baseloads for a network
network required | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
{- "status": "success",
- "data": [
- {
- "id": "03cef2b6-d5e5-4430-b77f-5dcfcc1d81d1",
- "networkId'": "2e4a6799-6355-5dba-b78e-230acb1ed9e6",
- "timestamp'": "2022-01-20T22:59:51.281710+00:00",
- "type'": "actual",
- "unit'": "kWh",
- "value'": 10
}, - {
- "id": "95b89505-7015-4879-b6ed-3d57c28f9e9c",
- "networkId'": "2e4a6799-6355-5dba-b78e-230acb1ed9e6",
- "timestamp'": "2022-01-20T22:59:51.284271+00:00",
- "type'": "actual",
- "unit'": "kWh",
- "value'": 20
}, - {
- "id": "ee8affef-f5ea-4a37-a8b6-4b32aa3c1a3d",
- "networkId'": "2e4a6799-6355-5dba-b78e-230acb1ed9e6",
- "timestamp'": "2022-01-20T22:59:51.285539+00:00",
- "type'": "actual",
- "unit'": "kWh",
- "value'": 45.5
}, - {
- "id": "1479ef56-ad29-49ea-aee3-88d286d01ba3",
- "networkId'": "2e4a6799-6355-5dba-b78e-230acb1ed9e6",
- "timestamp'": "2022-01-20T22:59:51.286762+00:00",
- "type'": "actual",
- "unit'": "kWh",
- "value'": 15.75
}, - {
- "id": "837cf997-e3d2-42ed-a865-808d942cad76",
- "networkId'": "2e4a6799-6355-5dba-b78e-230acb1ed9e6",
- "timestamp'": "2022-01-20T22:59:51.287961+00:00",
- "type'": "actual",
- "unit'": "kWh",
- "value'": 15.3
}
], - "total": 5
}
Create a maximum capacity time range for a network or charger. Submitted capacity cannot be less than the network.maxCapacity. Either networkId or chargePointId must be provided. Submitting a maximum capacity for a charger is under development an won't affect optimizations.
networkId | string <uuid> (uuid) |
chargePointId | string <uuid> (uuid) |
required | Array of objects <= 100 items |
{- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "maxCapacityIntervals": [
- {
- "type": "utilityLimit",
- "maxCapacity": 22,
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00"
}
]
}
{- "status": "success",
- "data": [
- {
- "type": "utilityLimit",
- "maxCapacity": 22,
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
], - "total": 1
}
Fetch all maximum capacities for a network. Either network or charger must be provided as a query parameter.
network | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network ID. |
chargepoint | string <uuid> (uuid) Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by charger ID. |
start | string <date-time> (datetime_utc_now) Default: "Current time" Example: start=2020-10-11T08:19:00+00:00 Date-time interval limit: 7 days |
end | string <date-time> (datetime_utc_12) Default: "Current time + 12 hours" Example: end=2020-10-11T08:19:00+00:00 Date-time interval limit: 7 days |
{- "status": "success",
- "data": [
- {
- "type": "utilityLimit",
- "maxCapacity": 22,
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
], - "total": 1
}
Fetch an specific variable maximum capacities
capacity_uuid required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Capacity UUID. |
{- "status": "success",
- "data": [
- {
- "type": "utilityLimit",
- "maxCapacity": 22,
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
], - "total": 1
}
Update a max capacity time range for a network.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
type | string Value: "utilityLimit" Purpose of the capacity limitation |
maxCapacity | number <float> In kW (Kilowatt). Maximum allowed power on this resource. |
start | string <date-time> Default: "Current time" The start date-time of the maximum allowed power period. |
end | string <date-time> Default: "Current time + 24 hours" The end date-time of the maximum allowed power period. |
{- "type": "utilityLimit",
- "maxCapacity": 22,
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00"
}
{- "status": "success",
- "data": [
- {
- "type": "utilityLimit",
- "maxCapacity": 22,
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
], - "total": 1
}
Delete a max capacity.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "type": "utilityLimit",
- "maxCapacity": 22,
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
], - "total": 1
}
The cdrData
array shows the full Charging Detail Record for the charging session including the exact charge periods, tariffs, total energy, duration and price.
List CDRs
network | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
chargepoint | string <uuid> (uuid) Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint. |
connector | string <uuid> (uuid) Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by connector. |
cdr | string CDR ID. |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
export | boolean Default: false Return CDR data with export format |
{- "status": "success",
- "total": 0,
- "data": [
- {
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargepointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargingSessionId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "cdrId": "string",
- "cdrSessionId": "string",
- "startDate": "2020-10-11T08:19:00+00:00",
- "endDate": "2020-10-11T08:19:00+00:00",
- "cdrData": { },
- "pending": true
}
]
}
Add a charge point.
maxCapacity required | number <float> >= 0 Maximum allowed power on this resource in kW (Kilowatt). |
name required | string <string> <= 40 characters Deprecated This field is optional. If provided, it will be duplicated to the "customName" field. We recommend using "customName" for clarity, and "name" will be phased out in future updates. |
networkId required | string <uuid> (uuid) |
allowAllIdTags | boolean or null The default value is set to True. When set to True, any id tag is accepted when a vehicle connects. |
customName required | string or null <= 40 characters |
firmwareVersion | string or null <= 50 characters Charge point firmware version. |
latitude | number or null <float> <= 90 characters >= -90 Charge point location Latitude, + is North, - is South. |
location | string or null <= 128 characters |
longitude | number or null <float> [ -180 .. 180 ] Charge point location Longitude, + is East, - is West. |
modelName | string or null Charge point model name. |
ocppId | any or null <string> |
ocppStatus | string (charger_ocpp_status) Enum: "Available" "Faulted" "Unavailable" Value from OCPP StatusNotification message. |
ocppStatusUpdate | string <date-time> (datetime) ISO 8601. |
onlineStatus | string or null Enum: "OFFLINE" "ONLINE" Whether the Charge point is connected to the CMS or not. |
onlineStatusUpdate | string <date-time> (datetime) ISO 8601. |
orientation | number <float> [ 0 .. 360 ] Default: 0 The orientation angle of the charge point in degrees. This value can range from 0 to 360, representing a full circle. The reference point for the orientation is North, with 0 degrees pointing in that direction. |
object (charge_point_position) Position and orientation on Fleet Management view. | |
protocol | string or null <= 255 characters |
securityProfile | integer or null (securityProfile) [ 1 .. 3 ] Deprecated [Not Implemented] Charge point security profile. Consult OCPP documentation for more details. [Warning] The security profile MUST be updated through OCPP messages under normal operations. |
source | string or null Enum: "CMS" "UI" Intended for internal use. If charge point is to be created through an API integration, leave this field empty. |
subNetworkId | string <uuid> UUID of the parent sub_network, if null, the sub_network is directly attached to the network. |
vendor | string or null Charge Point vendor name. |
powerSplit | boolean or null Indicates whether a charge point with multiple connectors has the capability to distribute power among those connectors simultaneously. This parameter is irrelevant if the charge point has only one connector. |
paymentTerminalID | string or null Payment terminal ID. |
shareToPublicMaps | boolean or null When true, this charger's location and status will be shared to public charging maps. Consider this if you want to open your charger to public access. When setting this field to |
publicGuestRates | Array of strings or null <uuid> Charging fees that will be displayed to public charging maps. Use with |
password | string or null Deprecated [Not Implemented] Charge point password used to authenticate with CMS. This is not mandatory. [Warning] The password MUST be updated through OCPP messages under normal operations. Contact the manufacturer if the default password is unknown. |
{- "maxCapacity": 22,
- "name": "EVSE 1",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "allowAllIdTags": true,
- "customName": "12",
- "firmwareVersion": "V1.02.23rc2",
- "latitude": 32.2431,
- "location": "New York",
- "longitude": 115.793,
- "modelName": "EX-1193-1A11",
- "ocppId": "CHARGER-123",
- "ocppStatus": "Available",
- "ocppStatusUpdate": "2020-10-11T08:19:00",
- "onlineStatus": "ONLINE",
- "onlineStatusUpdate": "2020-10-11T08:19:00",
- "orientation": 30.2,
- "position": {
- "orientation": "horizontal",
- "x": -1,
- "y": 4
}, - "protocol": "OCPP 1.6",
- "securityProfile": 1,
- "source": "CMS",
- "subNetworkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vendor": "Vendor Name",
- "powerSplit": true,
- "paymentTerminalID": "00000001",
- "shareToPublicMaps": true,
- "publicGuestRates": [
- "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
], - "password": "string"
}
{- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "EVSE 1",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "allowAllIdTags": true,
- "customName": "12",
- "firmwareVersion": "V1.02.23rc2",
- "latitude": 32.2431,
- "location": "New York",
- "longitude": 115.793,
- "modelName": "EX-1193-1A11",
- "ocppId": "CHARGER-123",
- "ocppStatus": "Available",
- "ocppStatusUpdate": "2020-10-11T08:19:00",
- "onlineStatus": "ONLINE",
- "onlineStatusUpdate": "2020-10-11T08:19:00",
- "orientation": 30.2,
- "position": {
- "orientation": "horizontal",
- "x": -1,
- "y": 4
}, - "protocol": "OCPP 1.6",
- "securityProfile": 1,
- "source": "CMS",
- "subNetworkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vendor": "Vendor Name",
- "powerSplit": true,
- "paymentTerminalID": "00000001",
- "shareToPublicMaps": true,
- "publicGuestRates": [
- "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
], - "maxCapacity": 22,
- "active": true,
- "current": "AC",
- "currentChargingLoad": 11.93,
- "currentLimit": 100,
- "lastSessionStarted": "2021-12-17T22:30:27.629927+00:00",
- "meterType": "Meter Type I",
- "numberOfConnectors": 1,
- "serialNumber": "00000001",
- "variableCapacity": true
}
], - "status": "success",
- "total": 1
}
List charge points.
object (is_active) Filter by active status | |
allow_all_id_tags | boolean filter by charge_points that have allowAllIdTags set to specified True/False. |
current | string Enum: "AC" "DC" "Mix" Filter by connector current type |
custom_name | string Filter by customName |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
name | string Deprecated Filter by charger name. Ampcontrol will soon move supporting “customName” instead, as the user centric naming parameter. |
network | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
online_status | string Enum: "ONLINE" "OFFLINE" Filter by online status. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
order | string Deprecated Enum: "ascending" "descending" Specify an ordering for the sorting parameter. Default is |
powerSplit | boolean Indicates whether a charge point with multiple connectors has the capability to distribute power among those connectors simultaneously. This parameter is irrelevant if the charge point has only one connector. |
search | string This is a string search that compares to a number of different string like customName, serialNumber, ocppId, vendor, firmwareVersion, or id (charger point id). |
sort | string`^(custom_name|name|active|max_capacity|curre... Example: sort=custom_name:desc Sort by specific values. Defaults to 'active' in descending order. Accepted values: |
sort_by | string Deprecated Enum: "custom_name" "name" "active" "max_capacity" "current_charging_load" "last_session_started" Sort by a given field. (Deprecated: use |
updated | string <date-time> Example: updated=2020-10-11T08:19:00+00:00 Returns objects updated after the specified timestamp. |
vendor | string Filter by charger vendor |
share_to_public_maps | boolean Filter by charge_point that have |
{- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "EVSE 1",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "allowAllIdTags": true,
- "customName": "12",
- "firmwareVersion": "V1.02.23rc2",
- "latitude": 32.2431,
- "location": "New York",
- "longitude": 115.793,
- "modelName": "EX-1193-1A11",
- "ocppId": "CHARGER-123",
- "ocppStatus": "Available",
- "ocppStatusUpdate": "2020-10-11T08:19:00",
- "onlineStatus": "ONLINE",
- "onlineStatusUpdate": "2020-10-11T08:19:00",
- "orientation": 30.2,
- "position": {
- "orientation": "horizontal",
- "x": -1,
- "y": 4
}, - "protocol": "OCPP 1.6",
- "securityProfile": 1,
- "source": "CMS",
- "subNetworkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vendor": "Vendor Name",
- "powerSplit": true,
- "paymentTerminalID": "00000001",
- "shareToPublicMaps": true,
- "publicGuestRates": [
- "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
], - "maxCapacity": 22,
- "active": true,
- "current": "AC",
- "currentChargingLoad": 11.93,
- "currentLimit": 100,
- "lastSessionStarted": "2021-12-17T22:30:27.629927+00:00",
- "meterType": "Meter Type I",
- "numberOfConnectors": 1,
- "serialNumber": "00000001",
- "variableCapacity": true
}
], - "status": "success",
- "total": 1
}
Get a charge point.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID as uuid4. This represents a unique identifier for the resource. |
{- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "EVSE 1",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "allowAllIdTags": true,
- "customName": "12",
- "firmwareVersion": "V1.02.23rc2",
- "latitude": 32.2431,
- "location": "New York",
- "longitude": 115.793,
- "modelName": "EX-1193-1A11",
- "ocppId": "CHARGER-123",
- "ocppStatus": "Available",
- "ocppStatusUpdate": "2020-10-11T08:19:00",
- "onlineStatus": "ONLINE",
- "onlineStatusUpdate": "2020-10-11T08:19:00",
- "orientation": 30.2,
- "position": {
- "orientation": "horizontal",
- "x": -1,
- "y": 4
}, - "protocol": "OCPP 1.6",
- "securityProfile": 1,
- "source": "CMS",
- "subNetworkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vendor": "Vendor Name",
- "powerSplit": true,
- "paymentTerminalID": "00000001",
- "shareToPublicMaps": true,
- "publicGuestRates": [
- "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
], - "maxCapacity": 22,
- "active": true,
- "current": "AC",
- "currentChargingLoad": 11.93,
- "currentLimit": 100,
- "lastSessionStarted": "2021-12-17T22:30:27.629927+00:00",
- "meterType": "Meter Type I",
- "numberOfConnectors": 1,
- "serialNumber": "00000001",
- "variableCapacity": true
}
], - "status": "success",
- "total": 1
}
Update a charge point.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID as uuid4. This represents a unique identifier for the resource. |
name | string <string> <= 40 characters Deprecated This field is optional. If provided, it will be duplicated to the "customName" field. We recommend using "customName" for clarity, and "name" will be phased out in future updates. |
networkId | string <uuid> (uuid) |
allowAllIdTags | boolean or null The default value is set to True. When set to True, any id tag is accepted when a vehicle connects. |
customName | string or null <= 40 characters |
firmwareVersion | string or null <= 50 characters Charge point firmware version. |
latitude | number or null <float> <= 90 characters >= -90 Charge point location Latitude, + is North, - is South. |
location | string or null <= 128 characters |
longitude | number or null <float> [ -180 .. 180 ] Charge point location Longitude, + is East, - is West. |
modelName | string or null Charge point model name. |
ocppId | any or null <string> |
ocppStatus | string (charger_ocpp_status) Enum: "Available" "Faulted" "Unavailable" Value from OCPP StatusNotification message. |
ocppStatusUpdate | string <date-time> (datetime) ISO 8601. |
onlineStatus | string or null Enum: "OFFLINE" "ONLINE" Whether the Charge point is connected to the CMS or not. |
onlineStatusUpdate | string <date-time> (datetime) ISO 8601. |
orientation | number <float> [ 0 .. 360 ] Default: 0 The orientation angle of the charge point in degrees. This value can range from 0 to 360, representing a full circle. The reference point for the orientation is North, with 0 degrees pointing in that direction. |
object (charge_point_position) Position and orientation on Fleet Management view. | |
protocol | string or null <= 255 characters |
securityProfile | integer or null (securityProfile) [ 1 .. 3 ] Deprecated [Not Implemented] Charge point security profile. Consult OCPP documentation for more details. [Warning] The security profile MUST be updated through OCPP messages under normal operations. |
source | string or null Enum: "CMS" "UI" Intended for internal use. If charge point is to be created through an API integration, leave this field empty. |
subNetworkId | string <uuid> UUID of the parent sub_network, if null, the sub_network is directly attached to the network. |
vendor | string or null Charge Point vendor name. |
powerSplit | boolean or null Indicates whether a charge point with multiple connectors has the capability to distribute power among those connectors simultaneously. This parameter is irrelevant if the charge point has only one connector. |
paymentTerminalID | string or null Payment terminal ID. |
shareToPublicMaps | boolean or null When true, this charger's location and status will be shared to public charging maps. Consider this if you want to open your charger to public access. When setting this field to |
publicGuestRates | Array of strings or null <uuid> Charging fees that will be displayed to public charging maps. Use with |
maxCapacity | number <float> >= 0 Maximum allowed power on this resource in kW (Kilowatt). |
password | string or null Deprecated [Not Implemented] Charge point password used to authenticate with CMS. This is not mandatory. [Warning] The password MUST be updated through OCPP messages under normal operations. Contact the manufacturer if the default password is unknown. |
meterType | string or null Charge Point meter type. |
serialNumber | string or null Charge Point serial number. |
{- "name": "EVSE 1",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "allowAllIdTags": true,
- "customName": "12",
- "firmwareVersion": "V1.02.23rc2",
- "latitude": 32.2431,
- "location": "New York",
- "longitude": 115.793,
- "modelName": "EX-1193-1A11",
- "ocppId": "CHARGER-123",
- "ocppStatus": "Available",
- "ocppStatusUpdate": "2020-10-11T08:19:00",
- "onlineStatus": "ONLINE",
- "onlineStatusUpdate": "2020-10-11T08:19:00",
- "orientation": 30.2,
- "position": {
- "orientation": "horizontal",
- "x": -1,
- "y": 4
}, - "protocol": "OCPP 1.6",
- "securityProfile": 1,
- "source": "CMS",
- "subNetworkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vendor": "Vendor Name",
- "powerSplit": true,
- "paymentTerminalID": "00000001",
- "shareToPublicMaps": true,
- "publicGuestRates": [
- "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
], - "maxCapacity": 22,
- "password": "string",
- "meterType": "Meter Type I",
- "serialNumber": "00000001"
}
{- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "EVSE 1",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "allowAllIdTags": true,
- "customName": "12",
- "firmwareVersion": "V1.02.23rc2",
- "latitude": 32.2431,
- "location": "New York",
- "longitude": 115.793,
- "modelName": "EX-1193-1A11",
- "ocppId": "CHARGER-123",
- "ocppStatus": "Available",
- "ocppStatusUpdate": "2020-10-11T08:19:00",
- "onlineStatus": "ONLINE",
- "onlineStatusUpdate": "2020-10-11T08:19:00",
- "orientation": 30.2,
- "position": {
- "orientation": "horizontal",
- "x": -1,
- "y": 4
}, - "protocol": "OCPP 1.6",
- "securityProfile": 1,
- "source": "CMS",
- "subNetworkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vendor": "Vendor Name",
- "powerSplit": true,
- "paymentTerminalID": "00000001",
- "shareToPublicMaps": true,
- "publicGuestRates": [
- "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
], - "maxCapacity": 22,
- "active": true,
- "current": "AC",
- "currentChargingLoad": 11.93,
- "currentLimit": 100,
- "lastSessionStarted": "2021-12-17T22:30:27.629927+00:00",
- "meterType": "Meter Type I",
- "numberOfConnectors": 1,
- "serialNumber": "00000001",
- "variableCapacity": true
}
], - "status": "success",
- "total": 1
}
Delete a charge point.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID as uuid4. This represents a unique identifier for the resource. |
{- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "EVSE 1",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "allowAllIdTags": true,
- "customName": "12",
- "firmwareVersion": "V1.02.23rc2",
- "latitude": 32.2431,
- "location": "New York",
- "longitude": 115.793,
- "modelName": "EX-1193-1A11",
- "ocppId": "CHARGER-123",
- "ocppStatus": "Available",
- "ocppStatusUpdate": "2020-10-11T08:19:00",
- "onlineStatus": "ONLINE",
- "onlineStatusUpdate": "2020-10-11T08:19:00",
- "orientation": 30.2,
- "position": {
- "orientation": "horizontal",
- "x": -1,
- "y": 4
}, - "protocol": "OCPP 1.6",
- "securityProfile": 1,
- "source": "CMS",
- "subNetworkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vendor": "Vendor Name",
- "powerSplit": true,
- "paymentTerminalID": "00000001",
- "shareToPublicMaps": true,
- "publicGuestRates": [
- "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
], - "maxCapacity": 22,
- "active": true,
- "current": "AC",
- "currentChargingLoad": 11.93,
- "currentLimit": 100,
- "lastSessionStarted": "2021-12-17T22:30:27.629927+00:00",
- "meterType": "Meter Type I",
- "numberOfConnectors": 1,
- "serialNumber": "00000001",
- "variableCapacity": true
}
], - "status": "success",
- "total": 1
}
Request an optimization. This will not remote start a charger, it will have no direct affect on the charger operations.
required | integer or string Connector UUID or Connector ID, typically 1-4. |
chargePointId required | string <uuid> (uuid) |
chargingRateUnit | string (chargingRateUnit) Deprecated Default: "W" Enum: "W" "kW" "A" Sets the unit of the optimization result profiles (limits). The chargingRateUnit does not affect other request input parameters (e.g energyToCharge). |
idTag | string Id tag value used when starting the session (this might be an RFID tag or a credit card token) |
energyToCharge | number <float> (energyToCharge) Energy to be delivered during the charging session (kWh). |
maxChargingPowerOfVehicle | number <float> (maxChargingPowerOfVehicle) In kW (Kilowatt). Maximum input power of the vehicle. If null, the maxCapacity of the connector will be used in calculations. |
maximumChargingTimeDate | string <date-time> (datetime_utc) ISO 8601 in UTC. |
meterStart | number >= 0 In kWh (Kilowatt-hour), energy meter value reading of the charger at the start of the charging session. |
ocppTransactionStart | string <date> Timestamp of the StartTransaction ocpp message. If the ocppTransactionStart timestamp is present on session create, the sessionStart timestamp will be set to the same value. |
paymentInfo | string (paymentInfo) Payment provider identifier |
priority | number <integer> (priority) [ 0 .. 5 ] Priority of the charging session. Default value is 3.
|
remoteStopOnCompletion | boolean (remoteStopOnCompletion) This parameter configures if the session will automatically be remote stopped once the session completion criteria (e.g. the specified energyToCharge was succesfully charged) are fulfilled. Note: this remote stopping functionality is only supported when using the AmpCMS. |
transactionId | number <int64> (transactionId) If set, transactionId will be returned as part of the optimizations. Usually defined by the central charging management system (e.g. OCPP backend). |
vehicleId | string <uuid> (uuid) |
{- "connectorId": 1,
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargingRateUnit": "W",
- "idTag": "FHH92JFNMSK93",
- "energyToCharge": 80,
- "maxChargingPowerOfVehicle": 22,
- "maximumChargingTimeDate": "2020-10-11T08:19:00+00:00",
- "meterStart": 12.2,
- "ocppTransactionStart": "2021-12-17T22:30:27.629927+00:00",
- "paymentInfo": "string",
- "priority": 5,
- "remoteStopOnCompletion": true,
- "transactionId": 1,
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "active": true,
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerName": "Charger001",
- "chargingRateUnit": "W",
- "connectorId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorName": "Connector001",
- "energyConsumption": 80,
- "energyToCharge": 80,
- "expectedEnd": "2021-12-18T22:15:27.718989+00:00",
- "expectedTimeTo80": "2021-12-18T22:15:27.718989+00:00",
- "firstEnergyMeterValue": 40,
- "idTag": "FHH92JFNMSK93",
- "idTagId": 1,
- "idTagCustomGroup": "Custom Group 1",
- "otherIdTags": [
- "id-tag-1",
- "id-tag-2"
], - "lastEnergyMeterValue": 60,
- "maximumChargingTimeDate": "2020-10-11T08:19:00+00:00",
- "maxChargingPowerOfVehicle": 22,
- "plugInTime": "2023-02-15T13:44:40.860480",
- "plugOutTime": "2023-02-15T14:44:40.860480",
- "priority": 5,
- "sessionStart": "2021-12-17T22:30:27.629927+00:00",
- "sessionEnd": "2021-12-18T22:15:27.718989+00:00",
- "ocppTransactionStop": "2021-12-17T22:30:27.629927+00:00",
- "paymentInfo": "string",
- "remoteStopOnCompletion": true,
- "startSoC": 22,
- "stopSoC": 85,
- "SoCMeterValueUpdate": "2023-01-24T11:53:27.629927+00:00",
- "transactionId": 1,
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vehicleName": "VehicleName",
- "chargingDuration": "02:00:00",
- "totalCost": 37.2,
- "energyRateCost": 35.1,
- "idleTimeCost": 2.1,
- "currency": "EUR",
- "guestRateId": "2a39d3cc-ca9b-4670-bf33-f0f60a9183fc",
- "totalSupplyCost": 37.2,
- "plannedRouteId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
], - "total": 1
}
List the current active charging sessions. In order to see ended sessions start and end query parameters are required.
At least one of network
, vehicle
or transaction_id
is required.
network | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
chargepoint | Array of strings <uuid> (uuid) [ items <uuid > ] Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint IDs. |
status | string Enum: "Available" "Preparing" "Charging" "SuspendedEVSE" "SuspendedEV" "Finishing" "Reserved" "Unavailable" "Faulted" Filter by OCPP chargepoint status |
connector | Array of strings <uuid> (uuid) [ items <uuid > ] Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by connector IDs. |
vehicle | Array of strings <uuid> (uuid) [ items <uuid > ] Example: vehicle=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by vehicle IDs (this UUID was returned by |
idTag | Array of any List of Id tag values used when starting the charging session (this might be an RFID tag or a credit card token) |
transaction_id | integer Example: transaction_id=92813645 Filter charging sessions by transaction ID |
active | boolean Deprecated Default: false Filter charging sessions by active status |
isActive | boolean Default: null Filter charging sessions by active status |
priority | Array of integers Example: priority=1 Filter charging sessions by priority |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
updated | string <date-time> (datetime) Example: updated=2020-10-11T08:19:00 Filters charging sessions with an updated timestamp greater than or equal to the specified value. |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
search | string This is a free text search that compares to a number of different fields like chargerName, connectorId, connectorName, idTag, vehicleName, transactionId, or id (charge session id). |
sort | string`^(chargerName|connectorId|connectorName|char... Example: sort=chargerName:desc Sort by specific values. Defaults to 'isActive' in descending order. Accepted values:
|
chargingDuration | string Example: chargingDuration=>=300 Filter by the chargingDuration of the charging session. The possible values are: <300 (less than 5 minutes), >=300 (greater than or equal to 5 minutes), >=1800 (greater than or equal to 30 minutes), >=3600 (greater than or equal to 1 hour), >=10800 (greater than or equal to 3 hours), >=21600 (greater than or equal to 6 hours). |
energyConsumption | string Example: energyConsumption=>=40 Filter by the energy consumption of the charging session in kWh (Kilowatt-hour). The possible values are: <20 (less than 20 kWh), >=20 (greater than or equal to 20 kWh), >=40 (greater than or equal to 40 kWh), >=100 (greater than or equal to 100 kWh), >=200 (greater than or equal to 200 kWh). |
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "active": true,
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerName": "Charger001",
- "chargingRateUnit": "W",
- "connectorId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorName": "Connector001",
- "energyConsumption": 80,
- "energyToCharge": 80,
- "expectedEnd": "2021-12-18T22:15:27.718989+00:00",
- "expectedTimeTo80": "2021-12-18T22:15:27.718989+00:00",
- "firstEnergyMeterValue": 40,
- "idTag": "FHH92JFNMSK93",
- "idTagId": 1,
- "idTagCustomGroup": "Custom Group 1",
- "otherIdTags": [
- "id-tag-1",
- "id-tag-2"
], - "lastEnergyMeterValue": 60,
- "maximumChargingTimeDate": "2020-10-11T08:19:00+00:00",
- "maxChargingPowerOfVehicle": 22,
- "plugInTime": "2023-02-15T13:44:40.860480",
- "plugOutTime": "2023-02-15T14:44:40.860480",
- "priority": 5,
- "sessionStart": "2021-12-17T22:30:27.629927+00:00",
- "sessionEnd": "2021-12-18T22:15:27.718989+00:00",
- "ocppTransactionStop": "2021-12-17T22:30:27.629927+00:00",
- "paymentInfo": "string",
- "remoteStopOnCompletion": true,
- "startSoC": 22,
- "stopSoC": 85,
- "SoCMeterValueUpdate": "2023-01-24T11:53:27.629927+00:00",
- "transactionId": 1,
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vehicleName": "VehicleName",
- "chargingDuration": "02:00:00",
- "totalCost": 37.2,
- "energyRateCost": 35.1,
- "idleTimeCost": 2.1,
- "currency": "EUR",
- "guestRateId": "2a39d3cc-ca9b-4670-bf33-f0f60a9183fc",
- "totalSupplyCost": 37.2,
- "plannedRouteId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
], - "total": 1
}
Get charging session details.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "active": true,
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerName": "Charger001",
- "chargingRateUnit": "W",
- "connectorId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorName": "Connector001",
- "energyConsumption": 80,
- "energyToCharge": 80,
- "expectedEnd": "2021-12-18T22:15:27.718989+00:00",
- "expectedTimeTo80": "2021-12-18T22:15:27.718989+00:00",
- "firstEnergyMeterValue": 40,
- "idTag": "FHH92JFNMSK93",
- "idTagId": 1,
- "idTagCustomGroup": "Custom Group 1",
- "otherIdTags": [
- "id-tag-1",
- "id-tag-2"
], - "lastEnergyMeterValue": 60,
- "maximumChargingTimeDate": "2020-10-11T08:19:00+00:00",
- "maxChargingPowerOfVehicle": 22,
- "plugInTime": "2023-02-15T13:44:40.860480",
- "plugOutTime": "2023-02-15T14:44:40.860480",
- "priority": 5,
- "sessionStart": "2021-12-17T22:30:27.629927+00:00",
- "sessionEnd": "2021-12-18T22:15:27.718989+00:00",
- "ocppTransactionStop": "2021-12-17T22:30:27.629927+00:00",
- "paymentInfo": "string",
- "remoteStopOnCompletion": true,
- "startSoC": 22,
- "stopSoC": 85,
- "SoCMeterValueUpdate": "2023-01-24T11:53:27.629927+00:00",
- "transactionId": 1,
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vehicleName": "VehicleName",
- "chargingDuration": "02:00:00",
- "totalCost": 37.2,
- "energyRateCost": 35.1,
- "idleTimeCost": 2.1,
- "currency": "EUR",
- "guestRateId": "2a39d3cc-ca9b-4670-bf33-f0f60a9183fc",
- "totalSupplyCost": 37.2,
- "plannedRouteId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
], - "total": 1
}
Update or close a charging session. One of priority
, meterStop
, ocppTransactionStop
, paymentInfo
, energyToCharge
, vehicleId
, startSoC
remoteStopOnCompletion
is required. Submitting a meterStop
or ocppTransactionStop
value will end the charging session. priority
cannot be set if the charging session is being closed
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
energyToCharge | number <float> (energyToCharge) Energy to be delivered during the charging session (kWh). |
meterStop | number In kWh (Kilowatt-hour), energy meter value reading of the charger at the end of the charging session. If set, the session will be closed. |
ocppTransactionStop | string <date> (ocppTransactionStop) Timestamp of the StopTransaction ocpp message. If set, the session will be closed and the sessionEnd will be updated with the same timestamp. |
paymentInfo | string (paymentInfo) Payment provider identifier |
priority | number <integer> (priority) [ 0 .. 5 ] Priority of the charging session. Default value is 3.
|
remoteStopOnCompletion | boolean (remoteStopOnCompletion) This parameter configures if the session will automatically be remote stopped once the session completion criteria (e.g. the specified energyToCharge was succesfully charged) are fulfilled. Note: this remote stopping functionality is only supported when using the AmpCMS. |
vehicleId | string <uuid> (uuid) |
startSoC | number <float> [ 0 .. 100 ) |
{- "energyToCharge": 80,
- "meterStop": 12.2,
- "ocppTransactionStop": "2021-12-17T22:30:27.629927+00:00",
- "paymentInfo": "string",
- "priority": 5,
- "remoteStopOnCompletion": true,
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "startSoC": 22
}
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "active": true,
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerName": "Charger001",
- "chargingRateUnit": "W",
- "connectorId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorName": "Connector001",
- "energyConsumption": 80,
- "energyToCharge": 80,
- "expectedEnd": "2021-12-18T22:15:27.718989+00:00",
- "expectedTimeTo80": "2021-12-18T22:15:27.718989+00:00",
- "firstEnergyMeterValue": 40,
- "idTag": "FHH92JFNMSK93",
- "idTagId": 1,
- "idTagCustomGroup": "Custom Group 1",
- "otherIdTags": [
- "id-tag-1",
- "id-tag-2"
], - "lastEnergyMeterValue": 60,
- "maximumChargingTimeDate": "2020-10-11T08:19:00+00:00",
- "maxChargingPowerOfVehicle": 22,
- "plugInTime": "2023-02-15T13:44:40.860480",
- "plugOutTime": "2023-02-15T14:44:40.860480",
- "priority": 5,
- "sessionStart": "2021-12-17T22:30:27.629927+00:00",
- "sessionEnd": "2021-12-18T22:15:27.718989+00:00",
- "ocppTransactionStop": "2021-12-17T22:30:27.629927+00:00",
- "paymentInfo": "string",
- "remoteStopOnCompletion": true,
- "startSoC": 22,
- "stopSoC": 85,
- "SoCMeterValueUpdate": "2023-01-24T11:53:27.629927+00:00",
- "transactionId": 1,
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vehicleName": "VehicleName",
- "chargingDuration": "02:00:00",
- "totalCost": 37.2,
- "energyRateCost": 35.1,
- "idleTimeCost": 2.1,
- "currency": "EUR",
- "guestRateId": "2a39d3cc-ca9b-4670-bf33-f0f60a9183fc",
- "totalSupplyCost": 37.2,
- "plannedRouteId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
], - "total": 1
}
Delete / Complete a charging session. Typically triggered by a connector unplug event.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "active": true,
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerName": "Charger001",
- "chargingRateUnit": "W",
- "connectorId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorName": "Connector001",
- "energyConsumption": 80,
- "energyToCharge": 80,
- "expectedEnd": "2021-12-18T22:15:27.718989+00:00",
- "expectedTimeTo80": "2021-12-18T22:15:27.718989+00:00",
- "firstEnergyMeterValue": 40,
- "idTag": "FHH92JFNMSK93",
- "idTagId": 1,
- "idTagCustomGroup": "Custom Group 1",
- "otherIdTags": [
- "id-tag-1",
- "id-tag-2"
], - "lastEnergyMeterValue": 60,
- "maximumChargingTimeDate": "2020-10-11T08:19:00+00:00",
- "maxChargingPowerOfVehicle": 22,
- "plugInTime": "2023-02-15T13:44:40.860480",
- "plugOutTime": "2023-02-15T14:44:40.860480",
- "priority": 5,
- "sessionStart": "2021-12-17T22:30:27.629927+00:00",
- "sessionEnd": "2021-12-18T22:15:27.718989+00:00",
- "ocppTransactionStop": "2021-12-17T22:30:27.629927+00:00",
- "paymentInfo": "string",
- "remoteStopOnCompletion": true,
- "startSoC": 22,
- "stopSoC": 85,
- "SoCMeterValueUpdate": "2023-01-24T11:53:27.629927+00:00",
- "transactionId": 1,
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vehicleName": "VehicleName",
- "chargingDuration": "02:00:00",
- "totalCost": 37.2,
- "energyRateCost": 35.1,
- "idleTimeCost": 2.1,
- "currency": "EUR",
- "guestRateId": "2a39d3cc-ca9b-4670-bf33-f0f60a9183fc",
- "totalSupplyCost": 37.2,
- "plannedRouteId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
], - "total": 1
}
Delete / Complete a charging session. Typically triggered by a connector unplug event.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
transaction_id required | integer Example: 92813645 Transaction ID |
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "active": true,
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerName": "Charger001",
- "chargingRateUnit": "W",
- "connectorId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorName": "Connector001",
- "energyConsumption": 80,
- "energyToCharge": 80,
- "expectedEnd": "2021-12-18T22:15:27.718989+00:00",
- "expectedTimeTo80": "2021-12-18T22:15:27.718989+00:00",
- "firstEnergyMeterValue": 40,
- "idTag": "FHH92JFNMSK93",
- "idTagId": 1,
- "idTagCustomGroup": "Custom Group 1",
- "otherIdTags": [
- "id-tag-1",
- "id-tag-2"
], - "lastEnergyMeterValue": 60,
- "maximumChargingTimeDate": "2020-10-11T08:19:00+00:00",
- "maxChargingPowerOfVehicle": 22,
- "plugInTime": "2023-02-15T13:44:40.860480",
- "plugOutTime": "2023-02-15T14:44:40.860480",
- "priority": 5,
- "sessionStart": "2021-12-17T22:30:27.629927+00:00",
- "sessionEnd": "2021-12-18T22:15:27.718989+00:00",
- "ocppTransactionStop": "2021-12-17T22:30:27.629927+00:00",
- "paymentInfo": "string",
- "remoteStopOnCompletion": true,
- "startSoC": 22,
- "stopSoC": 85,
- "SoCMeterValueUpdate": "2023-01-24T11:53:27.629927+00:00",
- "transactionId": 1,
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vehicleName": "VehicleName",
- "chargingDuration": "02:00:00",
- "totalCost": 37.2,
- "energyRateCost": 35.1,
- "idleTimeCost": 2.1,
- "currency": "EUR",
- "guestRateId": "2a39d3cc-ca9b-4670-bf33-f0f60a9183fc",
- "totalSupplyCost": 37.2,
- "plannedRouteId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
], - "total": 1
}
Get profiles for all active charging sessions.
network required | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
{- "status": "success",
- "data": [
- {
- "sessionStart": [
- "2021-06-28T10:06:56.770264+00:00",
- "2021-06-28T10:21:56.770264+00:00"
], - "sessionEnd": [
- null,
- "2021-06-28T17:00:00+00:00"
]
}
], - "total": 1
}
ABOUT CONFIGURATION'S SETUP
We use both query parameters and json body to use the available endpoints, and at each level (customer, network and chargepoint level) we expect different behaviours.
Whenever using v2/configurations/?customer={customer_uuid}
, inside the data
component
of the response, we expect to get the fields deliveryOptions
, integrations
and
ampCmsOptions
, in the following structure by default:
{
"deliveryOptions": {
"presets": {
"TxProfile": {
"ampcontrol-default-TxProfile": {
"settings": {
"timeZone": "utc",
"stackLevel": 2,
"numberPhases": false,
"chargingRateUnit": null,
"timestampsFormat": "default",
"useTransactionId": true,
"limitDeliveryType": "All",
"chargingProfileKind": "Absolute",
"useChargingProfileId": true,
"chargingProfilePurpose": "TxProfile"
},
"isDefault": true
},
"ampcontrol-squential-TxProfile": {
"settings": {
"timeZone": "utc",
"stackLevel": 2,
"numberPhases": false,
"chargingRateUnit": null,
"timestampsFormat": "default",
"useTransactionId": true,
"limitDeliveryType": "Sequential",
"chargingProfileKind": "Absolute",
"useChargingProfileId": true,
"chargingProfilePurpose": "TxProfile"
},
"isDefault": false
},
"ampcontrol-sequential-ampere-TxProfile": {
"settings": {
"timeZone": "utc",
"stackLevel": 2,
"numberPhases": false,
"chargingRateUnit": "A",
"timestampsFormat": "default",
"useTransactionId": true,
"limitDeliveryType": "Sequential",
"chargingProfileKind": "Absolute",
"useChargingProfileId": true,
"chargingProfilePurpose": "TxProfile"
},
"isDefault": false
},
"ampcontrol-default-TxProfile-number-phases": {
"settings": {
"timeZone": "utc",
"stackLevel": 2,
"numberPhases": true,
"chargingRateUnit": null,
"timestampsFormat": "default",
"useTransactionId": true,
"limitDeliveryType": "All",
"chargingProfileKind": "Absolute",
"useChargingProfileId": true,
"chargingProfilePurpose": "TxProfile"
},
"isDefault": false
},
"ampcontrol-sequential-ampere-number-phases-TxProfile": {
"settings": {
"timeZone": "utc",
"stackLevel": 2,
"numberPhases": true,
"chargingRateUnit": "A",
"timestampsFormat": "default",
"useTransactionId": true,
"limitDeliveryType": "Sequential",
"chargingProfileKind": "Absolute",
"useChargingProfileId": true,
"chargingProfilePurpose": "TxProfile"
},
"isDefault": false
}
},
"TxDefaultProfile": {
"ampcontrol-default-TxDefaultProfile": {
"settings": {
"timeZone": "utc",
"stackLevel": 1,
"numberPhases": false,
"chargingRateUnit": null,
"timestampsFormat": "default",
"useTransactionId": true,
"limitDeliveryType": "All",
"chargingProfileKind": "Absolute",
"useChargingProfileId": true,
"chargingProfilePurpose": "TxDefaultProfile"
},
"isDefault": true
},
"ampcontrol-squential-TxDefaultProfile": {
"settings": {
"timeZone": "utc",
"stackLevel": 1,
"numberPhases": false,
"chargingRateUnit": null,
"timestampsFormat": "default",
"useTransactionId": true,
"limitDeliveryType": "Sequential",
"chargingProfileKind": "Absolute",
"useChargingProfileId": true,
"chargingProfilePurpose": "TxDefaultProfile"
},
"isDefault": false
},
"ampcontrol-sequential-ampere-TxDefaultProfile": {
"settings": {
"timeZone": "utc",
"stackLevel": 1,
"numberPhases": false,
"chargingRateUnit": "A",
"timestampsFormat": "default",
"useTransactionId": true,
"limitDeliveryType": "Sequential",
"chargingProfileKind": "Absolute",
"useChargingProfileId": true,
"chargingProfilePurpose": "TxDefaultProfile"
},
"isDefault": false
},
"ampcontrol-default-TxDefaultProfile-number-phases": {
"settings": {
"timeZone": "utc",
"stackLevel": 1,
"numberPhases": true,
"chargingRateUnit": null,
"timestampsFormat": "default",
"useTransactionId": true,
"limitDeliveryType": "All",
"chargingProfileKind": "Absolute",
"useChargingProfileId": true,
"chargingProfilePurpose": "TxDefaultProfile"
},
"isDefault": false
},
"ampcontrol-sequential-ampere-number-phases-TxDefaultProfile": {
"settings": {
"timeZone": "utc",
"stackLevel": 1,
"numberPhases": true,
"chargingRateUnit": "A",
"timestampsFormat": "default",
"useTransactionId": true,
"limitDeliveryType": "Sequential",
"chargingProfileKind": "Absolute",
"useChargingProfileId": true,
"chargingProfilePurpose": "TxDefaultProfile"
},
"isDefault": false
}
}
},
"TxProfile": "ampcontrol-default-TxProfile",
"TxDefaultProfile": "ampcontrol-default-TxDefaultProfile"
},
"integrations": {
"webfleet": {
"connected" : true,
"base_url": "https://csv.webfleet.com",
"user_name": "my-username",
"account": "account",
"password": "my-password",
"api_key": "my-api-key"
},
"geotab": {
"connected": False,
"base_url": "https://my.geotab.com/",
"database": "test_db",
"user_name": "test_user",
"password": "test_password",
}
},
"ampCmsOptions": {
"feature": "off",
"secret": "unregistered",
"targetCmsUrl": null,
"defaultNetworkId": null
}
}
For deliveryOptions
:
Contains the the pre-defined configurations to which the other
elements in further levels (network or chargepoint) will refer to when declaring the
TxProfile
and TxDefaultProfile
.
Inside deliveryOptions->presets
you will find a isDefault
boolean key that indicates if
for all the further levels of configurations, this specific profile will be applied
by default, in case no particular configuration is specified, once again, in further
levels.
For integrations
:
Contains the integration(s) info that this particular customer (or simmilarly for network and
chargepoint) have.
For ampCmsOptions
:
Contains the authentication and usage specifications for a connection stablished through the AmpCMS service
From using v2/configurations/?network={network_uuid}
we expect a response like:
{
"alerts": true,
"idTagPriority": false,
"integrations": {
"shelly": {
"base_url": "https://www.dummy-url.com",
"device_id": "DEVICE_ABC",
"auth_key": "my-auth-key"
},
},
"deliveryOptions": {
"TxProfile": "ampcontrol-default-TxProfile",
"TxDefaultProfile": "ampcontrol-default-TxDefaultProfile"
},
"chargingRules": null,
"alertOptions": {
"callError": {
"enabled": true,
"urgency": "High",
"category": ["List", "of", "categories"],
"notifications": {
"enabled": false
},
"description": "This is a description of the alert.",
"action": "Suggested action to take"
}
}
}
alerts
sets the boolean that toggles on/off alertsìdTagPriority
...integrations
contains the integration authentication details of our partnersdeliveryOptions
, just as explained above for customers, points to a specific
configuration set by its name, depending of the profile type that it refers to.
If no specific type is set, the endpoint should return an empty string:"deliveryOptions": {
"TxProfile": "",
"TxDefaultProfile": "",
}
chargingRules
...alertOptions
Contains the configuration for alerts and notification, Example:"alertOptions": {
"callError": {
"enabled": true,
"urgency": "High",
"category": ["List", "of", "categories"],
"notifications": {
"enabled": false
},
"description": "This is a description of the alert.",
"action": "Suggested action to take"
}
}
Using v2/configurations/?chargepoint={chargepoint_uuid}
sets the
configuration of the following fields:
{
"deliveryOptions": {
"TxProfile": "ampcontrol-default-TxProfile",
"TxDefaultProfile": "ampcontrol-default-TxDefaultProfile"
}
}
Similar to the network's level of configuration
Finally, use ``2/configurations/?user={user_uuid}` to set the configuration of the following fields:
{
"notificationChannels": {
"smsNotifications": false,
"emailNotifications": false
}
}
Creates Configuration object
customer | string <uuid> Example: customer=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by customer uuid. Only by this parameter it is possible to fetch |
network | string <uuid> Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network uuid. |
chargepoint | string <uuid> Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint uuid. |
user | string <uuid> Example: user=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by user uuid. |
Any JSON-serializable object
{- "alerts": false,
- "integrations": {
- "geotab": {
- "connected": false,
- "database": "test_db",
- "user_name": "test_user",
- "password": "test_password"
}
}, - "alertOptions": {
- "callError": {
- "enabled": true,
- "notifications": {
- "enabled": false
}, - "urgency": "Critical",
- "action": "Action to take"
}
}
}
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "alerts": true,
- "alertOptions": {
- "chargingRulesRemoteStopError": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "meterValueLimitViolation": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "unexpectedConnectorAndPhaseCombination": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "chargerDisconnected": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ],
- "triggerDuration": 0
}, - "chargingSessionNotStarted": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "chargingSessionInterrupted": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "outOfSyncOCPPMessages": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "chargePointHighInternalTemperature": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "callError": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "suspendedEVSE": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "suspendedEV": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "unavailable": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "faulted": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "connectorLockFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "evCommunicationError": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "groundFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "highTemperature": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "internalError": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "localListConflict": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "overCurrentFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "overVoltage": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "powerMeterFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "powerSwitchFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "readerFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "resetFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "underVoltage": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "weakSignal": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "vendorErrorCode": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "incorrectSettings": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}
}, - "integrations": {
- "geotab_integration": {
- "connected": true,
- "database": "database",
- "user_name": "geotab_user",
- "password": "string"
}, - "webfleet_integration": {
- "connected": false,
- "user_name": "string",
- "account": "string",
- "password": "string",
- "api_key": "string"
}
}, - "deliveryOptions": {
- "presets": {
- "TxProfile": {
- "ampcontrol-default-TxProfile": {
- "settings": {
- "chargingProfileId": true,
- "chargingProfileKind": "Absolute",
- "chargingProfilePurpose": "TxProfiles",
- "chargingRateUnit": null,
- "limitDeliveryType": "All",
- "stackLevel": 2,
- "transactionId": true,
- "timestampsFormat": "TimestampWithoutTimeZone",
- "timeZone": "UTC"
}, - "isDefault": true
}
}, - "TxDefaultProfile": {
- "ampcontrol-default-TxDefaultProfile": {
- "settings": {
- "chargingProfileId": true,
- "chargingProfileKind": "Absolute",
- "chargingProfilePurpose": "TxDefaultProfiles",
- "chargingRateUnit": null,
- "limitDeliveryType": "All",
- "stackLevel": 1,
- "transactionId": true,
- "timestampsFormat": "TimestampWithoutTimeZone",
- "timeZone": "UTC"
}, - "isDefault": true
}
}
}, - "TxProfile": "ampcontrol-default-TxProfile",
- "TxDefaultProfile": "ampcontrol-default-TxDefaultProfile"
}
}
], - "total": 1
}
Returns Configuration object
customer | string <uuid> Example: customer=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by customer uuid. Only by this parameter it is possible to fetch |
network | string <uuid> Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network uuid. |
chargepoint | string <uuid> Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint uuid. |
user | string <uuid> Example: user=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by user uuid. |
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "alerts": true,
- "alertOptions": {
- "chargingRulesRemoteStopError": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "meterValueLimitViolation": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "unexpectedConnectorAndPhaseCombination": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "chargerDisconnected": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ],
- "triggerDuration": 0
}, - "chargingSessionNotStarted": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "chargingSessionInterrupted": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "outOfSyncOCPPMessages": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "chargePointHighInternalTemperature": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "callError": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "suspendedEVSE": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "suspendedEV": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "unavailable": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "faulted": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "connectorLockFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "evCommunicationError": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "groundFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "highTemperature": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "internalError": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "localListConflict": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "overCurrentFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "overVoltage": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "powerMeterFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "powerSwitchFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "readerFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "resetFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "underVoltage": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "weakSignal": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "vendorErrorCode": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "incorrectSettings": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}
}, - "integrations": {
- "geotab_integration": {
- "connected": true,
- "database": "database",
- "user_name": "geotab_user",
- "password": "string"
}, - "webfleet_integration": {
- "connected": false,
- "user_name": "string",
- "account": "string",
- "password": "string",
- "api_key": "string"
}
}, - "deliveryOptions": {
- "presets": {
- "TxProfile": {
- "ampcontrol-default-TxProfile": {
- "settings": {
- "chargingProfileId": true,
- "chargingProfileKind": "Absolute",
- "chargingProfilePurpose": "TxProfiles",
- "chargingRateUnit": null,
- "limitDeliveryType": "All",
- "stackLevel": 2,
- "transactionId": true,
- "timestampsFormat": "TimestampWithoutTimeZone",
- "timeZone": "UTC"
}, - "isDefault": true
}
}, - "TxDefaultProfile": {
- "ampcontrol-default-TxDefaultProfile": {
- "settings": {
- "chargingProfileId": true,
- "chargingProfileKind": "Absolute",
- "chargingProfilePurpose": "TxDefaultProfiles",
- "chargingRateUnit": null,
- "limitDeliveryType": "All",
- "stackLevel": 1,
- "transactionId": true,
- "timestampsFormat": "TimestampWithoutTimeZone",
- "timeZone": "UTC"
}, - "isDefault": true
}
}
}, - "TxProfile": "ampcontrol-default-TxProfile",
- "TxDefaultProfile": "ampcontrol-default-TxDefaultProfile"
}
}
], - "total": 1
}
Updates Configuration object
customer | string <uuid> Example: customer=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by customer uuid. Only by this parameter it is possible to fetch |
network | string <uuid> Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network uuid. |
chargepoint | string <uuid> Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint uuid. |
user | string <uuid> Example: user=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by user uuid. |
Any JSON-serializable object
{- "alerts": false,
- "integrations": {
- "geotab": {
- "connected": false,
- "database": "test_db",
- "user_name": "test_user",
- "password": "test_password"
}
}, - "alertOptions": {
- "callError": {
- "enabled": true,
- "notifications": {
- "enabled": false
}, - "urgency": "Critical",
- "action": "Action to take"
}
}
}
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "alerts": true,
- "alertOptions": {
- "chargingRulesRemoteStopError": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "meterValueLimitViolation": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "unexpectedConnectorAndPhaseCombination": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "chargerDisconnected": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ],
- "triggerDuration": 0
}, - "chargingSessionNotStarted": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "chargingSessionInterrupted": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "outOfSyncOCPPMessages": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "chargePointHighInternalTemperature": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "callError": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "suspendedEVSE": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "suspendedEV": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "unavailable": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "faulted": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "connectorLockFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "evCommunicationError": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "groundFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "highTemperature": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "internalError": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "localListConflict": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "overCurrentFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "overVoltage": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "powerMeterFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "powerSwitchFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "readerFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "resetFailure": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "underVoltage": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "weakSignal": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "vendorErrorCode": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}, - "incorrectSettings": {
- "enabled": true,
- "urgency": "Critical",
- "notifications": {
- "enabled": false
}, - "description": "string",
- "action": "string",
- "automatedActions": [
- "connectorsInoperative"
], - "category": [ ]
}
}, - "integrations": {
- "geotab_integration": {
- "connected": true,
- "database": "database",
- "user_name": "geotab_user",
- "password": "string"
}, - "webfleet_integration": {
- "connected": false,
- "user_name": "string",
- "account": "string",
- "password": "string",
- "api_key": "string"
}
}, - "deliveryOptions": {
- "presets": {
- "TxProfile": {
- "ampcontrol-default-TxProfile": {
- "settings": {
- "chargingProfileId": true,
- "chargingProfileKind": "Absolute",
- "chargingProfilePurpose": "TxProfiles",
- "chargingRateUnit": null,
- "limitDeliveryType": "All",
- "stackLevel": 2,
- "transactionId": true,
- "timestampsFormat": "TimestampWithoutTimeZone",
- "timeZone": "UTC"
}, - "isDefault": true
}
}, - "TxDefaultProfile": {
- "ampcontrol-default-TxDefaultProfile": {
- "settings": {
- "chargingProfileId": true,
- "chargingProfileKind": "Absolute",
- "chargingProfilePurpose": "TxDefaultProfiles",
- "chargingRateUnit": null,
- "limitDeliveryType": "All",
- "stackLevel": 1,
- "transactionId": true,
- "timestampsFormat": "TimestampWithoutTimeZone",
- "timeZone": "UTC"
}, - "isDefault": true
}
}
}, - "TxProfile": "ampcontrol-default-TxProfile",
- "TxDefaultProfile": "ampcontrol-default-TxDefaultProfile"
}
}
], - "total": 1
}
Create ocpp settings for current logged user's domain (customer)
secret required | string Customer's secret for ocpp connection authentication
The combination of |
feature | string Default: "cms" Enum: "off" "cms" "proxy" Specifies the mode of charger interaction management. Options:
|
targetCmsUrl | string When using |
defaultNetworkId | string <uuid> The Catch-all network. All new chargers that connect successfully to the CMS, will be created in this network. |
{- "secret": "dummy-s3cr3t",
- "feature": "proxy",
- "targetCmsUrl": "wss://dummy.cms-url.com/",
- "defaultNetworkId": "03a2c917-143b-5f68-9c63-04426bc73f36"
}
{- "status": "success",
- "total": 1,
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "secret": "dummy-s3cr3t",
- "feature": "proxy",
- "targetCmsUrl": "wss://dummy.cms-url.com/",
- "defaultNetworkId": "03a2c917-143b-5f68-9c63-04426bc73f36"
}
]
}
Fetch ocpp settings for current logged user's domain (customer)
{- "status": "success",
- "total": 1,
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "secret": "dummy-s3cr3t",
- "feature": "proxy",
- "targetCmsUrl": "wss://dummy.cms-url.com/",
- "defaultNetworkId": "03a2c917-143b-5f68-9c63-04426bc73f36"
}
]
}
Update ocpp settings for current logged user's domain (customer)
secret | string Customer's secret for ocpp connection authentication
The combination of |
feature | string Default: "cms" Enum: "off" "cms" "proxy" Specifies the mode of charger interaction management. Options:
|
targetCmsUrl | string When using |
defaultNetworkId | string <uuid> The Catch-all network. All new chargers that connect successfully to the CMS, will be created in this network. |
{- "secret": "dummy-s3cr3t",
- "feature": "proxy",
- "targetCmsUrl": "wss://dummy.cms-url.com/",
- "defaultNetworkId": "03a2c917-143b-5f68-9c63-04426bc73f36"
}
{- "status": "success",
- "total": 1,
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "secret": "dummy-s3cr3t",
- "feature": "proxy",
- "targetCmsUrl": "wss://dummy.cms-url.com/",
- "defaultNetworkId": "03a2c917-143b-5f68-9c63-04426bc73f36"
}
]
}
Fetch charge point ocpp settings.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "total": 1,
- "data": [
- {
- "secret": "dummy-s3cr3t",
- "feature": "proxy"
}
]
}
Create charge point ocpp settings
secret | string Charge point's secret for ocpp connection authentication
The combination of |
feature | string Default: "cms" Enum: "off" "cms" "proxy" Specifies the mode of charger interaction management. Options:
|
{- "secret": "dummy-s3cr3t",
- "feature": "proxy"
}
{- "status": "success",
- "total": 1,
- "data": [
- {
- "secret": "dummy-s3cr3t",
- "feature": "proxy"
}
]
}
Update ocpp settings for current logged user's domain (customer)
secret | string Charge point's secret for ocpp connection authentication
The combination of |
feature | string Default: "cms" Enum: "off" "cms" "proxy" Specifies the mode of charger interaction management. Options:
|
{- "secret": "dummy-s3cr3t",
- "feature": "proxy"
}
{- "status": "success",
- "total": 1,
- "data": [
- {
- "secret": "dummy-s3cr3t",
- "feature": "proxy"
}
]
}
The currentType
field refers to the type of the electrical connection of the connector.
It differentiates between AC (alternating currrent) single phase systems,
different types of AC three-phase systems and DC (direct current) systems.
It is used for energy calculations and conversions.
A single-phase power system consists of a two-wire AC power circuit. On the other hand, a three-phase power system consists of a three-wire AC power circuit. In such a three-phase system the three voltage phase angles are 120 degrees apart.
As a summary:
DC
: Direct currentAC_phase3_LN
: Three-phased system, voltage is measured from line to neutral AC_phase3_LL
: Three-phased system, voltage is measured from line to line AC_phase1
: Single-phased systemThe PF (power factor) of an AC power system is the ratio of the real power absorbed by the load to the apparent power flowing in the circuit. Real power represents the amount of work per time that is actually performed. The apparent power can be higher than the real power due to a non-linear load that distorts the wave shape of the current drawn from the source. If the apparent power is higher than the real power, more current flows in the circuit than would be required to transfer real power alone. A power factor magnitude of less than one indicates the voltage and current are not in phase.
Typically, the power factor ranges between 0.85 and 1.
It is required for converting to power values when only Volts and Ampéres are reported.
While creating or modifying a connector and depending on the currentType
set, the PF
will participate as follows:
Where:
currentType
is AC_phase1
or DC
currentType
is AC_phase3_LL
currentType
is AC_phase3_LN
Add connector.
chargePointId required | string <uuid> (uuid) |
connectorId required | number <int32> Connector ID, typically 1-4. |
currentType required | string (current_type) Enum: "DC" "AC_phase3_LN" "AC_phase3_LL" "AC_phase1" |
name | string |
voltage required | integer Voltage is in Volts. Must be >= 120. |
plugType | string (plug_type) Enum: "CCS1" "CCS2" "CHAdeMO" "GB/T" "Type 1" "Type 2" "Tesla" |
plugPowerLevel | string (plug_power_level) Enum: "Level 1" "Level 2" "DCFC" |
ocppStatus | string (connector_ocpp_status) Enum: "Available" "Preparing" "Charging" "SuspendedEVSE" "SuspendedEV" "Finishing" "Reserved" "Faulted" "Unavailable" Value from OCPP StatusNotification message. |
ocppStatusUpdate | string <date-time> (datetime) ISO 8601. |
ocpiStatus | string (connector_ocpi_status) Enum: "AVAILABLE" "BLOCKED" "CHARGING" "INOPERATIVE" "OUTOFORDER" "PLANNED" "REMOVED" "RESERVED" "UNKNOWN" Value from OCPI EVSE's status |
priority | number or null <integer> (connector_priority) [ 0 .. 5 ] Priority assigned to charging sessions on the connector. Default value is 3.
|
currentChargingLoad | number or null <float> Current charging load of the connector (in kW). |
maxAmperage | number or null <float> Max connector's current (in A) |
maxCapacity required | number <float> >= 0 Maximum allowed power on this resource in kW (Kilowatt). |
powerFactor | number <float> Efficiency percentage factor. For further details of its contribution in performance, check Connectors description. |
{- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorId": 1,
- "currentType": "DC",
- "name": "EVSE 1 Con 1",
- "voltage": 230,
- "plugType": "CHAdeMO",
- "plugPowerLevel": "Level 1",
- "ocppStatus": "Available",
- "ocppStatusUpdate": "2020-10-11T08:19:00",
- "ocpiStatus": "AVAILABLE",
- "priority": 5,
- "currentChargingLoad": 2.3,
- "maxAmperage": 5,
- "maxCapacity": 22,
- "powerFactor": 0.93
}
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorId": 1,
- "currentType": "DC",
- "name": "EVSE 1 Con 1",
- "voltage": 230,
- "plugType": "CHAdeMO",
- "plugPowerLevel": "Level 1",
- "ocppStatus": "Available",
- "ocppStatusUpdate": "2020-10-11T08:19:00",
- "ocpiStatus": "AVAILABLE",
- "priority": 5,
- "currentChargingLoad": 2.3,
- "maxAmperage": 5,
- "maxCapacity": 22,
- "powerFactor": 0.93,
- "evseId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "evseOcppId": 1,
- "active": true,
- "currentLimit": 100,
- "chargerName": "12"
}
], - "total": 1
}
The list of connectors.
network | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
chargepoint | Array of strings <uuid> (uuid) [ items <uuid > ] Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint. Supports multiple values e.g. |
connectorId | Array of integers Example: connectorId=2 Filter by the connectorId. Supports multiple values e.g. |
vehicle | string <uuid> (uuid) Example: vehicle=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by vehicle ID (this UUID was returned by |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
ocppStatus | Array of strings (connector_ocpp_status) Items Enum: "Available" "Preparing" "Charging" "SuspendedEVSE" "SuspendedEV" "Finishing" "Reserved" "Faulted" "Unavailable" Example: ocppStatus=Available Filter by OCPP status. Supports multiple values e.g. |
priority | Array of numbers or null <integer> (connector_priority) [ items <integer > [ 0 .. 5 ] ] Example: priority=5 Priority assigned to charging sessions on the connector. Supports multiple values e.g.
|
currentType | string Enum: "AC" "DC" Filter by connector current type |
plugType | Array of strings (plug_type) Items Enum: "CCS1" "CCS2" "CHAdeMO" "GB/T" "Type 1" "Type 2" "Tesla" Example: plugType=CHAdeMO The connector's plug type. Supports multiple values e.g. |
search | string This is a string search that compares to a number of different strings like connector name, connector Id (UUID), charger name, or charger Id (UUID). |
sort | string`^(chargerName|connectorId|currentType|maxCap... Example: sort=name:desc Sort by specific values. Defaults to 'active' in descending order. Accepted values: |
updated | string <date-time> (datetime) Example: updated=2020-10-11T08:19:00 Filters connectors with an updated timestamp greater than or equal to the specified value. |
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorId": 1,
- "currentType": "DC",
- "name": "EVSE 1 Con 1",
- "voltage": 230,
- "plugType": "CHAdeMO",
- "plugPowerLevel": "Level 1",
- "ocppStatus": "Available",
- "ocppStatusUpdate": "2020-10-11T08:19:00",
- "ocpiStatus": "AVAILABLE",
- "priority": 5,
- "currentChargingLoad": 2.3,
- "maxAmperage": 5,
- "maxCapacity": 22,
- "powerFactor": 0.93,
- "evseId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "evseOcppId": 1,
- "active": true,
- "currentLimit": 100,
- "chargerName": "12"
}
], - "total": 1
}
Get connector details.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorId": 1,
- "currentType": "DC",
- "name": "EVSE 1 Con 1",
- "voltage": 230,
- "plugType": "CHAdeMO",
- "plugPowerLevel": "Level 1",
- "ocppStatus": "Available",
- "ocppStatusUpdate": "2020-10-11T08:19:00",
- "ocpiStatus": "AVAILABLE",
- "priority": 5,
- "currentChargingLoad": 2.3,
- "maxAmperage": 5,
- "maxCapacity": 22,
- "powerFactor": 0.93,
- "evseId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "evseOcppId": 1,
- "active": true,
- "currentLimit": 100,
- "chargerName": "12"
}
], - "total": 1
}
Update a connector.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
chargePointId required | string <uuid> (uuid) |
connectorId required | number <int32> Connector ID, typically 1-4. |
currentType required | string (current_type) Enum: "DC" "AC_phase3_LN" "AC_phase3_LL" "AC_phase1" |
name | string |
voltage required | integer Voltage is in Volts. Must be >= 120. |
plugType | string (plug_type) Enum: "CCS1" "CCS2" "CHAdeMO" "GB/T" "Type 1" "Type 2" "Tesla" |
plugPowerLevel | string (plug_power_level) Enum: "Level 1" "Level 2" "DCFC" |
ocppStatus | string (connector_ocpp_status) Enum: "Available" "Preparing" "Charging" "SuspendedEVSE" "SuspendedEV" "Finishing" "Reserved" "Faulted" "Unavailable" Value from OCPP StatusNotification message. |
ocppStatusUpdate | string <date-time> (datetime) ISO 8601. |
ocpiStatus | string (connector_ocpi_status) Enum: "AVAILABLE" "BLOCKED" "CHARGING" "INOPERATIVE" "OUTOFORDER" "PLANNED" "REMOVED" "RESERVED" "UNKNOWN" Value from OCPI EVSE's status |
priority | number or null <integer> (connector_priority) [ 0 .. 5 ] Priority assigned to charging sessions on the connector. Default value is 3.
|
currentChargingLoad | number or null <float> Current charging load of the connector (in kW). |
maxAmperage | number or null <float> Max connector's current (in A) |
maxCapacity required | number <float> >= 0 Maximum allowed power on this resource in kW (Kilowatt). |
powerFactor | number <float> Efficiency percentage factor. For further details of its contribution in performance, check Connectors description. |
{- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorId": 1,
- "currentType": "DC",
- "name": "EVSE 1 Con 1",
- "voltage": 230,
- "plugType": "CHAdeMO",
- "plugPowerLevel": "Level 1",
- "ocppStatus": "Available",
- "ocppStatusUpdate": "2020-10-11T08:19:00",
- "ocpiStatus": "AVAILABLE",
- "priority": 5,
- "currentChargingLoad": 2.3,
- "maxAmperage": 5,
- "maxCapacity": 22,
- "powerFactor": 0.93
}
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorId": 1,
- "currentType": "DC",
- "name": "EVSE 1 Con 1",
- "voltage": 230,
- "plugType": "CHAdeMO",
- "plugPowerLevel": "Level 1",
- "ocppStatus": "Available",
- "ocppStatusUpdate": "2020-10-11T08:19:00",
- "ocpiStatus": "AVAILABLE",
- "priority": 5,
- "currentChargingLoad": 2.3,
- "maxAmperage": 5,
- "maxCapacity": 22,
- "powerFactor": 0.93,
- "evseId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "evseOcppId": 1,
- "active": true,
- "currentLimit": 100,
- "chargerName": "12"
}
], - "total": 1
}
Delete a connector.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorId": 1,
- "currentType": "DC",
- "name": "EVSE 1 Con 1",
- "voltage": 230,
- "plugType": "CHAdeMO",
- "plugPowerLevel": "Level 1",
- "ocppStatus": "Available",
- "ocppStatusUpdate": "2020-10-11T08:19:00",
- "ocpiStatus": "AVAILABLE",
- "priority": 5,
- "currentChargingLoad": 2.3,
- "maxAmperage": 5,
- "maxCapacity": 22,
- "powerFactor": 0.93,
- "evseId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "evseOcppId": 1,
- "active": true,
- "currentLimit": 100,
- "chargerName": "12"
}
], - "total": 1
}
Return all diagnostics.
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
chargepoint | string <uuid> Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint ID. |
user | string <uuid> Example: user=e5e28f7a-6284-4682-bfff-88a2cfae1b64 Filter by user ID. |
{- "status": "success",
- "total": 1,
- "data": [
- {
- "id": "g42b0a5f-f717-43f6-ba0a-eab4cae81bfa",
- "chargepointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2023-08-31T14-56-54.05437+00:00",
- "name": "diagnostics-report.txt",
- "status": "Completed",
- "statusUpdated": "2023-09-01T02-57-01.03502+00:00",
- "updated": "2023-09-01T02-57-01.03502+00:00",
- "userId": "e5e28f7a-6284-4682-bfff-88a2cfae1b64"
}
]
}
Request diagnostics from charger.
chargepoint | string <uuid> Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint ID. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
{- "status": "success",
- "total": 1,
- "data": [
- {
- "id": "g42b0a5f-f717-43f6-ba0a-eab4cae81bfa",
- "chargepointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2023-08-31T14-56-54.05437+00:00",
- "name": "diagnostics-report.txt",
- "status": "Completed",
- "statusUpdated": "2023-09-01T02-57-01.03502+00:00",
- "updated": "2023-09-01T02-57-01.03502+00:00",
- "userId": "e5e28f7a-6284-4682-bfff-88a2cfae1b64",
- "start": "2023-09-01T02-57-01.03502+00:00",
- "stop": "2023-09-01T02-57-01.03502+00:00"
}
]
}
Return specific diagnostics info.
diagnostics_uuid required | string <uuid> Example: 4f4f1d5f-5e0e-4c4f-bc3a-2b2b2b2b2b2b Diagnostics UUID |
{- "status": "success",
- "total": 1,
- "data": [
- {
- "id": "g42b0a5f-f717-43f6-ba0a-eab4cae81bfa",
- "chargepointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2023-08-31T14-56-54.05437+00:00",
- "name": "diagnostics-report.txt",
- "status": "Completed",
- "statusUpdated": "2023-09-01T02-57-01.03502+00:00",
- "updated": "2023-09-01T02-57-01.03502+00:00",
- "userId": "e5e28f7a-6284-4682-bfff-88a2cfae1b64"
}
]
}
Add a demand response (DR) event response record. Our algorithms support the execution of DR requests in the form of load curtailment by reducing the available variable network capacity by a given “load amount” for a certain time period, or in the form of power generation through discharging vehicles that are connected to the network by a given “discharge amount”.
networkId | string <uuid> (uuid) |
Array of objects (demand_response_write_required) |
{- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "drEvents": [
- {
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "value": 22,
- "type": "Load Amount"
}
]
}
{- "status": "success",
- "data": [
- {
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "value": 22,
- "type": "Load Amount",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00"
}
], - "total": 1
}
List DR Events for a network
network required | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
{- "status": "success",
- "data": [
- {
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "value": 22,
- "type": "Load Amount",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00"
}
], - "total": 1
}
Get DR Event
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "value": 22,
- "type": "Load Amount",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00"
}
], - "total": 1
}
Update a DR Event
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
start | string <date-time> Default: "Current time" Start of the demand response period ISO 8601. |
end | string <date-time> Default: "Current time + 24 hours" End of the demand response period ISO 8601. |
value | number <float> In kW (Kilowatt). If Load Amount, the value is the load reduction on the network. If V2G, the value is the provided power from the network. |
type | string Enum: "Load Amount" "V2G" Demand Response type |
{- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "value": 22,
- "type": "Load Amount"
}
{- "status": "success",
- "data": [
- {
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "value": 22,
- "type": "Load Amount",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00"
}
], - "total": 1
}
Delete a DR Event
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "value": 22,
- "type": "Load Amount",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00"
}
], - "total": 1
}
Queries and returns the events corresponding to a network.
A default 24 hours range will be applied if start
is not specified
network required | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
alert | string <uuid> (uuid) Example: alert=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by alert. |
category | string Enum: "Delivery" "Optimization" Optimization or delivery event logs will include a category value. |
charger | string <uuid> Example: charger=f0adb0c5-31b7-4a36-8052-de019a1a1638 Filter event source by charger's uuid |
connector | string <uuid> Example: connector=684ce4d6-6267-490f-b7f1-4ad0874d2453 Filter event source by connector's uuid |
sessionSource | string Enum: "regular" "alert" "notification" Session source for event logging |
sort | string Enum: "datetime" "urgency" "source" "category" Sort by specific values. Defaults to 'eventTime' in descending order. Accepted values: |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
{- "status": "success",
- "data": [
- {
- "id": "a6d66da8-a10a-40a1-ae42-c06a457b4582",
- "eventSessionId": "fd81d24c-80dc-4f65-98eb-9e0b7aec84d9",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerId": "f0adb0c5-31b7-4a36-8052-de019a1a1638",
- "connectorId": "684ce4d6-6267-490f-b7f1-4ad0874d2453",
- "vehicleId": "801fda4b-593a-4589-9afb-5b970aea1a7b",
- "chargeSessionId": "74b1499d-2552-42b0-9930-b7326a84aed0",
- "optimizationId": "f8853135-7960-4fbd-8cae-72cd6be42bf2",
- "meterValueId": "1467ef09-aec8-4f3a-8e94-e1506917cccb",
- "alertId": "726a30cf-b39a-e93f-8e8c-ef885372cd6b",
- "created": "2022-10-11T08:19:00",
- "updated": "2022-10-11T14:30:00",
- "eventTime": "2022-10-11T08:18:00",
- "eventType": "Vehicle SoC updated",
- "eventData": {
- "msg": "Vehicle updating used the following payload: {...}. Event execution time: 0.45 ms",
- "executionTime": "0.3ms"
}, - "eventSource": "regular",
- "status": "Triggered",
- "urgency": "Info",
- "category": "Optimization"
}
], - "total": 1
}
Modifies and returns the corresponding event
status | string Enum: "Triggered" "Acknowledged" "Resolved" "Pending" |
{- "status": "Triggered"
}
{- "status": "success",
- "data": [
- {
- "id": "a6d66da8-a10a-40a1-ae42-c06a457b4582",
- "eventSessionId": "fd81d24c-80dc-4f65-98eb-9e0b7aec84d9",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerId": "f0adb0c5-31b7-4a36-8052-de019a1a1638",
- "connectorId": "684ce4d6-6267-490f-b7f1-4ad0874d2453",
- "vehicleId": "801fda4b-593a-4589-9afb-5b970aea1a7b",
- "chargeSessionId": "74b1499d-2552-42b0-9930-b7326a84aed0",
- "optimizationId": "f8853135-7960-4fbd-8cae-72cd6be42bf2",
- "meterValueId": "1467ef09-aec8-4f3a-8e94-e1506917cccb",
- "alertId": "726a30cf-b39a-e93f-8e8c-ef885372cd6b",
- "created": "2022-10-11T08:19:00",
- "updated": "2022-10-11T14:30:00",
- "eventTime": "2022-10-11T08:18:00",
- "eventType": "Vehicle SoC updated",
- "eventData": {
- "msg": "Vehicle updating used the following payload: {...}. Event execution time: 0.45 ms",
- "executionTime": "0.3ms"
}, - "eventSource": "regular",
- "status": "Triggered",
- "urgency": "Info",
- "category": "Optimization"
}
], - "total": 1
}
Return all firmwares.
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
name | string Example: name=v1.2.3 Filter by firmware name |
filename | string Example: filename=firmware-1.2.3.bin Filter by firmware file name |
created | string <date-time> Example: created=2023-08-31T14-56-54.05437+00:00 Filter by created timestamp |
{- "status": "success",
- "total": 1,
- "data": [
- {
- "id": "g42b0a5f-f717-43f6-ba0a-eab4cae81bfa",
- "name": "v1.2.3",
- "filename": "firmware-1.2.3.bin",
- "created": "2023-08-31T14-56-54.05437+00:00",
- "updated": "2023-08-31T14-56-54.05437+00:00",
- "deleted": "2023-08-31T14-56-54.05437+00:00"
}
]
}
Store a firmware.
name | string or null Firmware name |
{- "name": "firmware-1.2.3.bin"
}
{- "status": "success",
- "total": 1,
- "data": [
- {
- "id": "g42b0a5f-f717-43f6-ba0a-eab4cae81bfa",
- "name": "v1.2.3",
- "filename": "firmware-1.2.3.bin",
- "created": "2023-08-31T14-56-54.05437+00:00",
- "updated": "2023-08-31T14-56-54.05437+00:00",
- "deleted": "2023-08-31T14-56-54.05437+00:00"
}
]
}
Return specific firmware info.
firmware_uuid required | string <uuid> Example: 4f4f1d5f-5e0e-4c4f-bc3a-2b2b2b2b2b2b Firmware UUID |
{- "status": "success",
- "total": 1,
- "data": [
- {
- "id": "g42b0a5f-f717-43f6-ba0a-eab4cae81bfa",
- "name": "v1.2.3",
- "filename": "firmware-1.2.3.bin",
- "created": "2023-08-31T14-56-54.05437+00:00",
- "updated": "2023-08-31T14-56-54.05437+00:00",
- "deleted": "2023-08-31T14-56-54.05437+00:00"
}
]
}
Get KPIs for several metrics such as connectivity and uptime.
Time filters
All KPI endpoints have a start and end query parameters to indicate the evaluation period. Default: last week.
If only start
is specified, end
will be set to start
+ 1 week.
If only end
is specified, start
will be set to end
- 1 week.
Get network connectivity KPI.
network required | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
{- "status": "success",
- "data": [
- {
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "value": 100,
- "total_time": 1000,
- "total_downtime": 0
}
], - "total": 1
}
Get charge points connectivity KPI.
network | string <uuid> Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network uuid. |
chargepoint | string <uuid> Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint uuid. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
{- "status": "success",
- "data": [
- {
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "value": 100,
- "total_time": 1000,
- "total_downtime": 0
}
], - "total": 1
}
Get network uptime KPI.
network required | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
{- "status": "success",
- "data": [
- {
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "value": 100,
- "total_time": 1000,
- "total_downtime": 0
}
], - "total": 1
}
Get charge points connectivity KPI.
network | string <uuid> Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network uuid. |
chargepoint | string <uuid> Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint uuid. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
aggregate_by_connector | any <boolean> Default: true When set to 'true,' this parameter enables the calculation of uptime using connector-level data. Alternatively, when set to 'false,' charger-level uptime data will be utilized for uptime calculations. |
{- "status": "success",
- "data": [
- {
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "value": 100,
- "total_time": 1000,
- "total_downtime": 0
}
], - "total": 1
}
Get connectors uptime KPI.
network | string <uuid> Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network uuid. |
chargepoint | string <uuid> Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint uuid. |
connector | string <uuid> (uuid) Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by connector. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
{- "status": "success",
- "data": [
- {
- "connectorId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "value": 100,
- "total_time": 1000,
- "total_downtime": 0
}
], - "total": 1
}
Retrieve energy efficiency data for vehicles.
vehicle | string <uuid> (uuid) Example: vehicle=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by vehicle ID (this UUID was returned by |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
{- "status": "success",
- "data": [
- {
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "energyUsed": 48,
- "distance": 90
}
], - "total": 1
}
Get supply rate of KPI on network level.
network required | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
connector | string <uuid> (uuid) Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by Connector. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
{- "status": "success",
- "data": [
- {
- "supplyRateCost": 2.32,
- "energyDelivered": 5320.23,
- "averageEnergyCost": 0.23
}
], - "total": 2
}
Send meter values from active connectors. Ampcontrol currently accepts the following measurands:
Power.Active.Import
with units W
or kW
Power.Active.Export
with units W
or kW
Power.Offered
with units W
or kW
Power.Reactive.Export
with units varh
or kvarh
Power.Reactive.Import
with units varh
or kvarh
Power.Factor
with no unitsEnergy.Active.Import.Register
with units Wh
or kWh
Energy.Active.Export.Register
with units Wh
or kWh
Energy.Reactive.Export.Register
with units Wh
or kWh
Energy.Active.Export.Interval
with units Wh
or kWh
Energy.Active.Import.Interval
with units Wh
or kWh
Energy.Reactive.Export.Interval
with units varh
or kvarh
Energy.Reactive.Import.Interval
with units varh
or kvarh
Current.Export
with units A
Current.Import
with units A
Current.Offered
with units A
Frequency
with no unitsRPM
with no unitsSoC
with units Percent
Temperature
with units K
, Celsius
or Fahrenheit
Voltage
with units V
If the connector is not measuring the meter values at a specific phase, you can leave the field phase empty.
If the connector measures multiple measurands, you can send all measurands for that connector in one single request, using the array. A maximum of 100 meter values can be sent in a single request. Each meter value can contain a maximum of 50 samples.
Either chargePointId
and connectorId
(together) or vehicleId
are required.
In case your network has optimizeWithMeterValue
on, submitting meter values can trigger a reoptimization and send out new limits to your network.
chargePointId required | string <uuid> UUID of the parent charge point. |
required | number or string Connector ID, or UUID. |
number or string EVSE ID, or UUID. | |
vehicleId | string <uuid> UUID of the vehicle. |
required | Array of objects |
transactionId | integer Transaction ID associated with the meter values. |
{- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorId": 1,
- "evseId": 1,
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "meterValues": [
- {
- "sampledValue": [
- {
- "context": "Sample.Periodic",
- "format": "Raw",
- "location": "Outlet",
- "measurand": "Power.Active.Import",
- "phase": "L3",
- "unit": "W",
- "value": 14
}
], - "timestamp": "2020-10-11T08:19:00"
}
], - "transactionId": 92813645
}
{- "status": "success",
- "data": [
- {
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "evseId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "meterValues": [
- {
- "sampledValue": [
- {
- "context": "Sample.Periodic",
- "format": "Raw",
- "location": "Outlet",
- "measurand": "Power.Active.Import",
- "phase": "L3",
- "unit": "W",
- "value": 14
}
], - "timestamp": "2020-10-11T08:19:00+00:00"
}
], - "transactionId": 92813645
}
], - "total": 1
}
List meter values. One of network, charger, vehicle, evse (for OCPP 2.0.1 chargers) or connector must be specified.
connector | string <uuid> (uuid) Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by connector. |
evse | string <uuid> (uuid) Example: evse=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by EVSE. |
vehicle | string <uuid> (uuid) Example: vehicle=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by vehicle ID (this UUID was returned by |
network | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
chargepoint | string <uuid> (uuid) Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint. |
start required | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end required | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
{- "status": "success",
- "data": [
- {
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "connectorId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "evseId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "meterValues": [
- {
- "sampledValue": [
- {
- "context": "Sample.Periodic",
- "format": "Raw",
- "location": "Outlet",
- "measurand": "Power.Active.Import",
- "phase": "L3",
- "unit": "W",
- "value": 14
}
], - "timestamp": "2020-10-11T08:19:00+00:00"
}
], - "transactionId": 92813645
}
], - "total": 1
}
Create a network. The objective
field determines how the network is optimized. Default value is off
.
Objective | Description |
---|---|
load_sharing |
Avoids peak power. Distributes available power among charging sessions. No vehicle data required. |
fleet |
Avoids peak power and delays. Schedules sessions sequentially and distributes the available power to ensure on-time departure. All charging sessions require a link to a vehicle. |
vehicle_to_grid |
Directs vehicles to discharge energy back to the grid according to network constraints and a V2G demand response event. |
off |
Disable the delivery of optimized charging profiles to chargers. |
name required | string Helps to identify your network on the UI. |
location | string or null Location description for humans. |
latitude | number or null <float> Network location's latitude. Positive or negative value indicates North or South respectively. |
longitude | number or null <float> Network location's longitude. Positive or negative value indicates East or West respectively. |
address | string or null |
country | string |
city | string or null |
state | string or null |
zipCode | string or null |
objective | string (optimization_methods) Enum: "load_sharing" "load_sharing_network_group (required if using sub networks)" "fleet" "vehicle_to_grid" "off" Objective of optimization process, the default is |
timeZone | string Time zone in IANA zoneinfo format. Default is 'UTC'. |
maxCapacityBuffer | number Default: 0.02 A percentage buffer is applied to the maximum capacity of a charging network to prevent power violations. It is designed to account for delays in the charger's response to new charging profiles, which can cause sudden increases in demand that exceed the set network's capacity. We recommend setting a buffer between 2% and 5%. |
webhook | string or null URL for the delivery of optimization profiles. Webhook events are signed with an X-Webhook-Signature HTTP header. This string contains the HMAC sha256 digest output of your webhook secret + request body and can be used to verify that the request comes from a trusted source. If the webhook response status is a 404 then the charge session is ended. |
webhookSecret | string or null Webhook secret string used for authentication |
connectorPowerStep | number Allowed maximum resolution of charging limits in kW. |
optimizeWithMeterValue | boolean Default: true Dynamic load management optimization is made far more accurate by utilizing live meter values. Ampcontrol reallocates power from charging sessions that charge slower than expected to other charging sessions that potentially can charge faster. Turn this off if you want to use a less dynamic load management that does not consider the live charging power. We recommend keeping this turned on. |
solarActive | boolean Default: false By default solar_metering values posted to our API will not have an impact on the optimizations of your network.
Once this field is set to |
closeIdleSessions | boolean Default: true Some charge points don't always close charging sessions correctly. Keep this on if you want Ampcontrol to identify and close deprecated charging sessions automatically. Turning this off typically results in a less efficient optimization. We recommend keeping this turned on. |
reservedPower | number or null <float> The optimization reserves this power on the inactive connectors (to reserve power at the charger level, set connectorReservedPowerSplit to False). Unit is in kW (Kilowatt). The default is 1 kW (same as the connectorMinimumLoad). If the user sets a reservedPower > the connector's maxCapacity, the optimization reserves only the maxCapacity. The value set must be greater than or equal to the connectorMinimumLoad value. |
defaultEnergyPrice | number or null <float> The default energy price for the network to be used if the objective is fleet_with_tou_rates |
connectorMinimumLoad | number <float> Default: 1 The charging behavior of your charger may be impacted by its minimum power limit. The default is 1 kW. In some cases, if the charger receives a power input under 1 kW, it may enter sleep mode or end the charging session. To prevent this from happening, we suggest configuring a minimum power limit within the range of 1 kW to 5 kW. Suggested values by charger type: DC: 1 kW AC 3 Phase (US): 2,2 kW AC 3 Phase (EU): 4,2 kW AC 1 Phase (US): 0.8 kW AC 1 Phase (EU): 1.4 kW |
Array of objects or null (fleetSchedule) This is an experimental feature that works with fleet scheduling network objectives only (see the | |
startSessionsWithMeterValues | boolean Default: true Some charge points do not always start charging sessions correctly. Keep this on if you want Ampcontrol to identify and automatically start such sessions. Turning this off can result in chargers with deprecated or not fully OCPP-compliant firmware charging without an active session on Ampcontrol, which can negatively impact the load management functionality. We recommend keeping this turned on. |
eventLogging | boolean Default: true Flag attribute that toggles the event sesson registration for the current network. |
enableAnalytics | boolean Default: false Flag attribute that toggles the collection of analytics data and periodical generation of analytics reports. |
baseloadActive | boolean Default: false Activate the consideration of the baseload power as part of the overall network load. |
baseloadPeak | number or null <float> Worst case estimate of the maximum baseload power of the network in kW. |
baseloadAvgYearlyConsumption | number or null <float> The average yearly consumption of the baseload in kWh. |
baseloadBuildingType | string or null Enum: "office" "industry" The type of the connected building loads, e.g., "office" or "industry". |
connectorReservedPowerSplit | boolean Default: true If set to True, the reserved power will be split per connector. |
priceConstraintsActive | boolean If set to True, the price constraints will be taken into account for the optimizations. |
currency | string Enum: "USD" "EUR" Currency setting for the network. ISO 4217 currency codes are accepted. |
onTimeDeparture | boolean or null Enables a check to evaluate if soft constraints (s.a. price constraints, demand response, etc.) will allow fleet vehicles to depart on time. If not, then the price constraints are removed and reoptimization occurs. |
geofenceRadius | number or null Radius of the circle-shaped geofence around the network. It should encapsulate all areas the vehicles park. In meters. |
ocpiLocation | boolean or null Enables OCPI functionality for the network |
defaultTariff | number or null [ 0 .. 1000 ) a The default energy tariff used when generating CDRs ( |
defaultTax | number or null [ 0 .. 1 ] The default tax percentage applied to calculate |
vehicleGroupPriority | string or null Enum: "fair distribution" "unknown vehicles" "known vehicles" Option to allocate power fairly to all vehicles or prioritize by vehicle group (known/unknown vehicles). The default is set to fair distribution, all vehicles are treated the same and power allocation is fair. To prioritize known or unknown vehicles, you can set this field to known vehicles or unknown vehicles , respectively. Only works in conjunctiton with Fleet as the optimization objective. |
maxCapacity required | number <float> Maximum allowed power on this resource in kW (Kilowatt). |
{- "name": "Network 10",
- "location": "New York",
- "latitude": 32.2431,
- "longitude": 115.793,
- "address": "9400 S Normandie Ave #14",
- "country": "United States",
- "city": "Los Angeles",
- "state": "California",
- "zipCode": 90001,
- "objective": "load_sharing",
- "timeZone": "America/Chicago",
- "maxCapacityBuffer": 0.1,
- "webhookSecret": "PWpJ68GBtN",
- "connectorPowerStep": 0.01,
- "optimizeWithMeterValue": true,
- "solarActive": false,
- "closeIdleSessions": true,
- "reservedPower": 22,
- "defaultEnergyPrice": 0.3,
- "connectorMinimumLoad": 4.2,
- "fleetSchedule": [
- {
- "departure_time": "06:00Z",
- "target_soc": 100,
- "number_of_vehicles": 2,
- "default_soc_on_arrival": 25
}
], - "startSessionsWithMeterValues": true,
- "eventLogging": true,
- "enableAnalytics": true,
- "baseloadActive": true,
- "baseloadPeak": 400,
- "baseloadAvgYearlyConsumption": "2,000",
- "baseloadBuildingType": "office",
- "connectorReservedPowerSplit": true,
- "priceConstraintsActive": true,
- "currency": "USD",
- "onTimeDeparture": true,
- "geofenceRadius": 140.5,
- "ocpiLocation": false,
- "defaultTariff": 50,
- "defaultTax": 0.25,
- "vehicleGroupPriority": "fair distribution",
- "maxCapacity": 22
}
{- "status": "success",
- "data": [
- {
- "maxCapacity": 22,
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "Network 10",
- "location": "New York",
- "latitude": 32.2431,
- "longitude": 115.793,
- "address": "9400 S Normandie Ave #14",
- "country": "United States",
- "city": "Los Angeles",
- "state": "California",
- "zipCode": 90001,
- "objective": "load_sharing",
- "timeZone": "America/Chicago",
- "maxCapacityBuffer": 0.1,
- "webhookSecret": "PWpJ68GBtN",
- "connectorPowerStep": 0.01,
- "optimizeWithMeterValue": true,
- "solarActive": false,
- "closeIdleSessions": true,
- "reservedPower": 22,
- "defaultEnergyPrice": 0.3,
- "connectorMinimumLoad": 4.2,
- "fleetSchedule": [
- {
- "departure_time": "06:00Z",
- "target_soc": 100,
- "number_of_vehicles": 2,
- "default_soc_on_arrival": 25
}
], - "startSessionsWithMeterValues": true,
- "eventLogging": true,
- "enableAnalytics": true,
- "baseloadActive": true,
- "baseloadPeak": 400,
- "baseloadAvgYearlyConsumption": "2,000",
- "baseloadBuildingType": "office",
- "connectorReservedPowerSplit": true,
- "priceConstraintsActive": true,
- "currency": "USD",
- "onTimeDeparture": true,
- "geofenceRadius": 140.5,
- "ocpiLocation": false,
- "defaultTariff": 50,
- "defaultTax": 0.25,
- "vehicleGroupPriority": "fair distribution",
- "currentLimit": 100,
- "currentPrice": 0.33,
- "currentChargingLoad": 21.93
}
], - "total": 1
}
List networks.
vehicle | string <uuid> (uuid) Example: vehicle=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by vehicle ID (this UUID was returned by |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
updated | string <date-time> Example: updated=2020-10-11T08:19:00+00:00 Returns objects updated after the specified timestamp. |
{- "status": "success",
- "data": [
- {
- "maxCapacity": 22,
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "Network 10",
- "location": "New York",
- "latitude": 32.2431,
- "longitude": 115.793,
- "address": "9400 S Normandie Ave #14",
- "country": "United States",
- "city": "Los Angeles",
- "state": "California",
- "zipCode": 90001,
- "objective": "load_sharing",
- "timeZone": "America/Chicago",
- "maxCapacityBuffer": 0.1,
- "webhookSecret": "PWpJ68GBtN",
- "connectorPowerStep": 0.01,
- "optimizeWithMeterValue": true,
- "solarActive": false,
- "closeIdleSessions": true,
- "reservedPower": 22,
- "defaultEnergyPrice": 0.3,
- "connectorMinimumLoad": 4.2,
- "fleetSchedule": [
- {
- "departure_time": "06:00Z",
- "target_soc": 100,
- "number_of_vehicles": 2,
- "default_soc_on_arrival": 25
}
], - "startSessionsWithMeterValues": true,
- "eventLogging": true,
- "enableAnalytics": true,
- "baseloadActive": true,
- "baseloadPeak": 400,
- "baseloadAvgYearlyConsumption": "2,000",
- "baseloadBuildingType": "office",
- "connectorReservedPowerSplit": true,
- "priceConstraintsActive": true,
- "currency": "USD",
- "onTimeDeparture": true,
- "geofenceRadius": 140.5,
- "ocpiLocation": false,
- "defaultTariff": 50,
- "defaultTax": 0.25,
- "vehicleGroupPriority": "fair distribution",
- "currentChargingLoad": 21.93
}
], - "total": 1
}
Get network details.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "maxCapacity": 22,
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "Network 10",
- "location": "New York",
- "latitude": 32.2431,
- "longitude": 115.793,
- "address": "9400 S Normandie Ave #14",
- "country": "United States",
- "city": "Los Angeles",
- "state": "California",
- "zipCode": 90001,
- "objective": "load_sharing",
- "timeZone": "America/Chicago",
- "maxCapacityBuffer": 0.1,
- "webhookSecret": "PWpJ68GBtN",
- "connectorPowerStep": 0.01,
- "optimizeWithMeterValue": true,
- "solarActive": false,
- "closeIdleSessions": true,
- "reservedPower": 22,
- "defaultEnergyPrice": 0.3,
- "connectorMinimumLoad": 4.2,
- "fleetSchedule": [
- {
- "departure_time": "06:00Z",
- "target_soc": 100,
- "number_of_vehicles": 2,
- "default_soc_on_arrival": 25
}
], - "startSessionsWithMeterValues": true,
- "eventLogging": true,
- "enableAnalytics": true,
- "baseloadActive": true,
- "baseloadPeak": 400,
- "baseloadAvgYearlyConsumption": "2,000",
- "baseloadBuildingType": "office",
- "connectorReservedPowerSplit": true,
- "priceConstraintsActive": true,
- "currency": "USD",
- "onTimeDeparture": true,
- "geofenceRadius": 140.5,
- "ocpiLocation": false,
- "defaultTariff": 50,
- "defaultTax": 0.25,
- "vehicleGroupPriority": "fair distribution",
- "currentLimit": 100,
- "currentPrice": 0.33,
- "currentChargingLoad": 21.93
}
], - "total": 1
}
Update a network.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
name | string Helps to identify your network on the UI. |
location | string or null Location description for humans. |
latitude | number or null <float> Network location's latitude. Positive or negative value indicates North or South respectively. |
longitude | number or null <float> Network location's longitude. Positive or negative value indicates East or West respectively. |
address | string or null |
country | string |
city | string or null |
state | string or null |
zipCode | string or null |
objective | string (optimization_methods) Enum: "load_sharing" "load_sharing_network_group (required if using sub networks)" "fleet" "vehicle_to_grid" "off" Objective of optimization process, the default is |
timeZone | string Time zone in IANA zoneinfo format. Default is 'UTC'. |
maxCapacityBuffer | number Default: 0.02 A percentage buffer is applied to the maximum capacity of a charging network to prevent power violations. It is designed to account for delays in the charger's response to new charging profiles, which can cause sudden increases in demand that exceed the set network's capacity. We recommend setting a buffer between 2% and 5%. |
webhook | string or null URL for the delivery of optimization profiles. Webhook events are signed with an X-Webhook-Signature HTTP header. This string contains the HMAC sha256 digest output of your webhook secret + request body and can be used to verify that the request comes from a trusted source. If the webhook response status is a 404 then the charge session is ended. |
webhookSecret | string or null Webhook secret string used for authentication |
connectorPowerStep | number Allowed maximum resolution of charging limits in kW. |
optimizeWithMeterValue | boolean Default: true Dynamic load management optimization is made far more accurate by utilizing live meter values. Ampcontrol reallocates power from charging sessions that charge slower than expected to other charging sessions that potentially can charge faster. Turn this off if you want to use a less dynamic load management that does not consider the live charging power. We recommend keeping this turned on. |
solarActive | boolean Default: false By default solar_metering values posted to our API will not have an impact on the optimizations of your network.
Once this field is set to |
closeIdleSessions | boolean Default: true Some charge points don't always close charging sessions correctly. Keep this on if you want Ampcontrol to identify and close deprecated charging sessions automatically. Turning this off typically results in a less efficient optimization. We recommend keeping this turned on. |
reservedPower | number or null <float> The optimization reserves this power on the inactive connectors (to reserve power at the charger level, set connectorReservedPowerSplit to False). Unit is in kW (Kilowatt). The default is 1 kW (same as the connectorMinimumLoad). If the user sets a reservedPower > the connector's maxCapacity, the optimization reserves only the maxCapacity. The value set must be greater than or equal to the connectorMinimumLoad value. |
defaultEnergyPrice | number or null <float> The default energy price for the network to be used if the objective is fleet_with_tou_rates |
connectorMinimumLoad | number <float> Default: 1 The charging behavior of your charger may be impacted by its minimum power limit. The default is 1 kW. In some cases, if the charger receives a power input under 1 kW, it may enter sleep mode or end the charging session. To prevent this from happening, we suggest configuring a minimum power limit within the range of 1 kW to 5 kW. Suggested values by charger type: DC: 1 kW AC 3 Phase (US): 2,2 kW AC 3 Phase (EU): 4,2 kW AC 1 Phase (US): 0.8 kW AC 1 Phase (EU): 1.4 kW |
Array of objects or null (fleetSchedule) This is an experimental feature that works with fleet scheduling network objectives only (see the | |
startSessionsWithMeterValues | boolean Default: true Some charge points do not always start charging sessions correctly. Keep this on if you want Ampcontrol to identify and automatically start such sessions. Turning this off can result in chargers with deprecated or not fully OCPP-compliant firmware charging without an active session on Ampcontrol, which can negatively impact the load management functionality. We recommend keeping this turned on. |
eventLogging | boolean Default: true Flag attribute that toggles the event sesson registration for the current network. |
enableAnalytics | boolean Default: false Flag attribute that toggles the collection of analytics data and periodical generation of analytics reports. |
baseloadActive | boolean Default: false Activate the consideration of the baseload power as part of the overall network load. |
baseloadPeak | number or null <float> Worst case estimate of the maximum baseload power of the network in kW. |
baseloadAvgYearlyConsumption | number or null <float> The average yearly consumption of the baseload in kWh. |
baseloadBuildingType | string or null Enum: "office" "industry" The type of the connected building loads, e.g., "office" or "industry". |
connectorReservedPowerSplit | boolean Default: true If set to True, the reserved power will be split per connector. |
priceConstraintsActive | boolean If set to True, the price constraints will be taken into account for the optimizations. |
currency | string Enum: "USD" "EUR" Currency setting for the network. ISO 4217 currency codes are accepted. |
onTimeDeparture | boolean or null Enables a check to evaluate if soft constraints (s.a. price constraints, demand response, etc.) will allow fleet vehicles to depart on time. If not, then the price constraints are removed and reoptimization occurs. |
geofenceRadius | number or null Radius of the circle-shaped geofence around the network. It should encapsulate all areas the vehicles park. In meters. |
ocpiLocation | boolean or null Enables OCPI functionality for the network |
defaultTariff | number or null [ 0 .. 1000 ) a The default energy tariff used when generating CDRs ( |
defaultTax | number or null [ 0 .. 1 ] The default tax percentage applied to calculate |
vehicleGroupPriority | string or null Enum: "fair distribution" "unknown vehicles" "known vehicles" Option to allocate power fairly to all vehicles or prioritize by vehicle group (known/unknown vehicles). The default is set to fair distribution, all vehicles are treated the same and power allocation is fair. To prioritize known or unknown vehicles, you can set this field to known vehicles or unknown vehicles , respectively. Only works in conjunctiton with Fleet as the optimization objective. |
maxCapacity | number <float> Maximum allowed power on this resource in kW (Kilowatt). |
{- "name": "Network 10",
- "location": "New York",
- "latitude": 32.2431,
- "longitude": 115.793,
- "address": "9400 S Normandie Ave #14",
- "country": "United States",
- "city": "Los Angeles",
- "state": "California",
- "zipCode": 90001,
- "objective": "load_sharing",
- "timeZone": "America/Chicago",
- "maxCapacityBuffer": 0.1,
- "webhookSecret": "PWpJ68GBtN",
- "connectorPowerStep": 0.01,
- "optimizeWithMeterValue": true,
- "solarActive": false,
- "closeIdleSessions": true,
- "reservedPower": 22,
- "defaultEnergyPrice": 0.3,
- "connectorMinimumLoad": 4.2,
- "fleetSchedule": [
- {
- "departure_time": "06:00Z",
- "target_soc": 100,
- "number_of_vehicles": 2,
- "default_soc_on_arrival": 25
}
], - "startSessionsWithMeterValues": true,
- "eventLogging": true,
- "enableAnalytics": true,
- "baseloadActive": true,
- "baseloadPeak": 400,
- "baseloadAvgYearlyConsumption": "2,000",
- "baseloadBuildingType": "office",
- "connectorReservedPowerSplit": true,
- "priceConstraintsActive": true,
- "currency": "USD",
- "onTimeDeparture": true,
- "geofenceRadius": 140.5,
- "ocpiLocation": false,
- "defaultTariff": 50,
- "defaultTax": 0.25,
- "vehicleGroupPriority": "fair distribution",
- "maxCapacity": 22
}
{- "status": "success",
- "data": [
- {
- "maxCapacity": 22,
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "Network 10",
- "location": "New York",
- "latitude": 32.2431,
- "longitude": 115.793,
- "address": "9400 S Normandie Ave #14",
- "country": "United States",
- "city": "Los Angeles",
- "state": "California",
- "zipCode": 90001,
- "objective": "load_sharing",
- "timeZone": "America/Chicago",
- "maxCapacityBuffer": 0.1,
- "webhookSecret": "PWpJ68GBtN",
- "connectorPowerStep": 0.01,
- "optimizeWithMeterValue": true,
- "solarActive": false,
- "closeIdleSessions": true,
- "reservedPower": 22,
- "defaultEnergyPrice": 0.3,
- "connectorMinimumLoad": 4.2,
- "fleetSchedule": [
- {
- "departure_time": "06:00Z",
- "target_soc": 100,
- "number_of_vehicles": 2,
- "default_soc_on_arrival": 25
}
], - "startSessionsWithMeterValues": true,
- "eventLogging": true,
- "enableAnalytics": true,
- "baseloadActive": true,
- "baseloadPeak": 400,
- "baseloadAvgYearlyConsumption": "2,000",
- "baseloadBuildingType": "office",
- "connectorReservedPowerSplit": true,
- "priceConstraintsActive": true,
- "currency": "USD",
- "onTimeDeparture": true,
- "geofenceRadius": 140.5,
- "ocpiLocation": false,
- "defaultTariff": 50,
- "defaultTax": 0.25,
- "vehicleGroupPriority": "fair distribution",
- "currentLimit": 100,
- "currentPrice": 0.33,
- "currentChargingLoad": 21.93
}
], - "total": 1
}
Delete a network.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "maxCapacity": 22,
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "Network 10",
- "location": "New York",
- "latitude": 32.2431,
- "longitude": 115.793,
- "address": "9400 S Normandie Ave #14",
- "country": "United States",
- "city": "Los Angeles",
- "state": "California",
- "zipCode": 90001,
- "objective": "load_sharing",
- "timeZone": "America/Chicago",
- "maxCapacityBuffer": 0.1,
- "webhookSecret": "PWpJ68GBtN",
- "connectorPowerStep": 0.01,
- "optimizeWithMeterValue": true,
- "solarActive": false,
- "closeIdleSessions": true,
- "reservedPower": 22,
- "defaultEnergyPrice": 0.3,
- "connectorMinimumLoad": 4.2,
- "fleetSchedule": [
- {
- "departure_time": "06:00Z",
- "target_soc": 100,
- "number_of_vehicles": 2,
- "default_soc_on_arrival": 25
}
], - "startSessionsWithMeterValues": true,
- "eventLogging": true,
- "enableAnalytics": true,
- "baseloadActive": true,
- "baseloadPeak": 400,
- "baseloadAvgYearlyConsumption": "2,000",
- "baseloadBuildingType": "office",
- "connectorReservedPowerSplit": true,
- "priceConstraintsActive": true,
- "currency": "USD",
- "onTimeDeparture": true,
- "geofenceRadius": 140.5,
- "ocpiLocation": false,
- "defaultTariff": 50,
- "defaultTax": 0.25,
- "vehicleGroupPriority": "fair distribution",
- "currentLimit": 100,
- "currentPrice": 0.33,
- "currentChargingLoad": 21.93
}
], - "total": 1
}
Queries customer's ocpp/CMS-related events. A default 24 hours range will be applied if start and/or end are not specified.
chargepoint_serial | string (chargepoint_serial) Example: chargepoint_serial=XYZ-1234-F34 Charge point serial (corresponding to charge point's |
chargepoint | string <uuid> (chargepoint_uuid) Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Chargepoint's UUID |
network | string <uuid> (network_uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Network UUID |
source | string (source) Enum: "regular" "alert" Event source |
status | string (schemas-status) Enum: "Triggered" "Acknowledged" "Resolved" Event's status |
urgency | string (urgency) Enum: "Info" "Warning" "Error" "Critical" Event's urgency |
type | string (type) Enum: "Authentication" "Connection" "Disconnection" Event's type |
start | string <datetime> (start) Default: "Current time" Example: start=2022-10-11T08:15:00 Start time filter over |
end | string <datetime> (end) Default: "Current time + 24 hours" Example: end=2022-10-11T08:20:00 End time filter over |
limit | integer <1-1000> (limit) Default: 100 Example: limit=50 Pagination limit |
offset | integer <0-2147483647> (offset) Default: 0 Example: offset=3 Pagination offset |
{- "status": "success",
- "total": 1,
- "data": [
- {
- "id": "a6d66da8-a10a-40a1-ae42-c06a457b4582",
- "customerShortName": "Account-X",
- "chargePointSerialNumber": "XYZ-1234-F34",
- "connectorId": 1,
- "correlationId": "a6d66da8-a10a-40a1-ae42-c06a457b4582",
- "eventTime": "2022-10-11T08:18:00",
- "eventType": "Authentication",
- "eventSource": "regular",
- "eventData": {
- "message": "Authentication failed",
- "url": "/my-account/*****/XYZ-324-F"
}, - "status": "Triggered",
- "urgency": "Info",
- "created": "2022-10-11T08:19:00",
- "updated": "2022-10-11T14:30:00"
}
]
}
send an OCPP message. The charger must have an ocppId.
chargePointId required | string <uuid> (uuid) |
body required | Array of arrays |
url | string <url> The target websocket URL where the OCPP message was originally sent |
source | any Enum: "Charger" "AmpCMS" "AmpCMS_created" "AmpCMS_queued" "External" "UI" "API" Source label of where the message comes from. Default: |
sendToCharger | boolean Default: false In case sendToCharger=True the message is sent to the charger. At the moment sendToCharger messages do not expire. If the charger is offline then the message will be delivered when it connects to the CMS. |
operationType | string |
protocol | string Default: "ocpp1.6" Enum: "ocpp1.6" "ocpp2.0.1" The OCPP protocol. If not set, 1.6 will be used. |
{- "chargePointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "body": [
- 2,
- "bac886aa397347b7aaa31d7fadafe75d",
- "StatusNotification",
- {
- "errorCode": "NoError",
- "timestamp": "2023-02-01T12:15:12.500Z",
- "status": "Available",
- "connectorId": 2
}
], - "url": "wss://dummy-url.server.io/foo",
- "source": "API",
- "sendToCharger": false,
- "operationType": "StatusNotification",
- "protocol": "ocpp1.6"
}
{- "status": "success",
- "data": [
- {
- "body": [
- 2,
- "bac886aa397347b7aaa31d7fadafe75d",
- "StatusNotification",
- {
- "errorCode": "NoError",
- "timestamp": "2023-02-01T12:15:12.500Z",
- "status": "Available",
- "connectorId": 2
}
], - "chargepointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerOcppId": "CHARGER-7",
- "created": "2022-08-31T18:23:29.933212+00:00",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "messageType": "Call",
- "ocppId": "16f2832552fdb524",
- "source": "backend",
- "type": "Accepted",
- "url": "wss://dummy-url.server.io/foo",
- "sendToCharger": false,
- "protocol": "ocpp1.6"
}
], - "total": 1
}
List OCPP messages for the authenticated user's customer account
chargepoint | string <uuid> (uuid) Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint. Supports multiple values e.g. chargepoint=uuid1&chargepoint=uuid2 |
source | any Enum: "Charger" "AmpCMS" "AmpCMS_created" "AmpCMS_queued" "External" "UI" "API" Filter by message source. Supports multiple values e.g. source=AmpCMS&source=UI |
messageType | any Enum: "Call" "CallResult" "CallError" Filter by OCPP message type. |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
operationType | any Enum: "BootNotification" "Heartbeat" "Etc" Filter by OCPP operation type. Supports multiple values e.g. operationType=BootNotification&operationType=Heartbeat |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
protocol | string Enum: "ocpp1.6" "ocpp2.0.1" Filter by OCPP protocol |
search | string Filter by either chargepoint customName or OCPP message operationType |
sort | string Enum: "chargepoint:desc" "chargepoint:asc" "timestamp:desc" "timestamp:asc" "source:desc" "source:asc" "operationType:desc" "operationType:asc" Sort by specific values. When sorting by chargepoint, the customName is used. |
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargerOcppId": "CHARGER-7",
- "ocppId": "16f2832552fdb524",
- "operationType": "StatusNotification",
- "created": "2022-08-31T18:23:29.933212+00:00",
- "timestamp": "2022-08-31T18:23:28.722212+00:00",
- "messageType": "Call",
- "source": "Charger",
- "url": "wss://ocpp.example.com/",
- "body": [
- 2,
- "bac886aa397347b7aaa31d7fadafe75d",
- "StatusNotification",
- {
- "errorCode": "NoError",
- "timestamp": "2023-02-01T12:15:12.500Z",
- "status": "Available",
- "connectorId": 2
}
], - "sendToCharger": false
}
], - "total": 1
}
List optimizations. One of the query parameters connector
, charge_point
, network
or charging_session
must be specified.
Returns active optimizations by default. However, when the start
and end
query parameters are used the
relevant optimizations are delivered, even if they are deleted, i.e. inactive.
If active is false and no start
and end
params are passed, a default time window of 7 days is applied.
connector | string <uuid> (uuid) Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by connector. |
chargepoint | string <uuid> (uuid) Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint. |
network | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
charging_session | string <uuid> (uuid) Example: charging_session=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by ChargeSession. |
vehicle | string <uuid> (uuid) Example: vehicle=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by vehicle ID (this UUID was returned by |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
active | boolean Example: active=true filter by active status |
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "method": "load_sharing",
- "active": true,
- "csChargingProfiles": {
- "chargingProfileId": 0,
- "chargingProfileKind": "Absolute",
- "chargingProfilePurpose": "TxProfile",
- "chargingSchedule": {
- "chargingRateUnit": "W",
- "chargingSchedulePeriod": [
- {
- "limit": 21.5,
- "startPeriod": 0
}
], - "duration": 22440,
- "startSchedule": "2020-10-11T08:19:00+00:00"
}, - "stackLevel": 0,
- "transactionId": 0,
- "validFrom": "2020-10-11T08:19:00+00:00",
- "validTo": "2020-10-11T08:19:00+00:00"
}, - "profile": {
- "data": [
- {
- "time": "2020-10-11T08:19:00+00:00",
- "value": 21.5
}
], - "start": "2020-10-11T08:19:00+00:00",
- "stop": "2020-10-11T08:19:00+00:00",
- "unit": "kW"
}, - "connectorId": 1,
- "connector": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargepointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
], - "total": 1
}
Get an optimization.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "method": "load_sharing",
- "active": true,
- "csChargingProfiles": {
- "chargingProfileId": 0,
- "chargingProfileKind": "Absolute",
- "chargingProfilePurpose": "TxProfile",
- "chargingSchedule": {
- "chargingRateUnit": "W",
- "chargingSchedulePeriod": [
- {
- "limit": 21.5,
- "startPeriod": 0
}
], - "duration": 22440,
- "startSchedule": "2020-10-11T08:19:00+00:00"
}, - "stackLevel": 0,
- "transactionId": 0,
- "validFrom": "2020-10-11T08:19:00+00:00",
- "validTo": "2020-10-11T08:19:00+00:00"
}, - "profile": {
- "data": [
- {
- "time": "2020-10-11T08:19:00+00:00",
- "value": 21.5
}
], - "start": "2020-10-11T08:19:00+00:00",
- "stop": "2020-10-11T08:19:00+00:00",
- "unit": "kW"
}, - "connectorId": 1,
- "connector": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "chargepointId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
], - "total": 1
}
Planned routes are the future vehicle trips. These will be considered when optimizing energy delivery. Planned routes are defined by all the vehicle trips between two charging events. The limit of routes that can be posted is 4000 per call.
required | Array of objects (planned_routes) List of planned routes. |
{- "routes": [
- {
- "vehicleGroup": "vehicleGroupOne",
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "externalId": "PlannedRouteOne",
- "start": "2020-10-11T08:19:00",
- "end": "2020-10-11T09:19:00",
- "demand": {
- "stateOfCharge": 20.5,
- "energy": 70,
- "distance": 100
}
}
]
}
{- "status": "success",
- "data": [
- {
- "vehicleGroup": "vehicleGroupOne",
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "externalId": "PlannedRouteOne",
- "start": "2020-10-11T08:19:00",
- "end": "2020-10-11T09:19:00",
- "demand": {
- "stateOfCharge": 20.5,
- "energy": 70,
- "distance": 100
}, - "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00",
- "updated": "2020-10-11T08:19:00",
- "vehicleName": "vehicleOne",
- "status": "future"
}
], - "total": 1
}
Fetch planned routes.
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
vehicle | Array of strings Filter by vehicle ID. Supports multiple values e.g. |
vehicle_group | Array of strings Filter by vehicle group. Supports multiple values e.g. |
search | string String-based search based on a combination from externalId, vehicle name, vehicleGroup, or planned route ID (UUID). |
sort | string Enum: "distance:desc" "distance:asc" "end:desc" "end:asc" "energy:desc" "energy:asc" "externalId:desc" "externalId:asc" "stateOfCharge:desc" "stateOfCharge:asc" "start:desc" "start:asc" "vehicleGroup:desc" "vehicleGroup:asc" "vehicleName:desc" "vehicleName:asc" Sort by specific values. |
status | Array of strings The status field is based on start and end fields and can assume one of the values future, live, or past. Supports multiple values e.g. |
{- "status": "success",
- "data": [
- {
- "vehicleGroup": "vehicleGroupOne",
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "externalId": "PlannedRouteOne",
- "start": "2020-10-11T08:19:00",
- "end": "2020-10-11T09:19:00",
- "demand": {
- "stateOfCharge": 20.5,
- "energy": 70,
- "distance": 100
}, - "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00",
- "updated": "2020-10-11T08:19:00",
- "vehicleName": "vehicleOne",
- "status": "future"
}
], - "total": 1
}
{- "status": "success",
- "data": [
- {
- "vehicleGroup": "vehicleGroupOne",
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "externalId": "PlannedRouteOne",
- "start": "2020-10-11T08:19:00",
- "end": "2020-10-11T09:19:00",
- "demand": {
- "stateOfCharge": 20.5,
- "energy": 70,
- "distance": 100
}, - "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00",
- "updated": "2020-10-11T08:19:00",
- "vehicleName": "vehicleOne",
- "status": "future"
}
], - "total": 1
}
Patch a planned route.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
vehicleGroup | string Vehicle group name. |
vehicleId | string <uuid> Vehicle id. |
externalId | string External id for the planned route. |
start | string <date-time> (start_datetime) Default: "Current time" ISO 8601. |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" ISO 8601. |
object At least one of the fields is required. |
{- "vehicleGroup": "vehicleGroupOne",
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "externalId": "PlannedRouteOne",
- "start": "2020-10-11T08:19:00",
- "end": "2020-10-11T09:19:00",
- "demand": {
- "stateOfCharge": 20.5,
- "energy": 70,
- "distance": 100
}
}
{- "status": "success",
- "data": [
- {
- "vehicleGroup": "vehicleGroupOne",
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "externalId": "PlannedRouteOne",
- "start": "2020-10-11T08:19:00",
- "end": "2020-10-11T09:19:00",
- "demand": {
- "stateOfCharge": 20.5,
- "energy": 70,
- "distance": 100
}, - "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00",
- "updated": "2020-10-11T08:19:00",
- "vehicleName": "vehicleOne",
- "status": "future"
}
], - "total": 1
}
Delete a planned route.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "vehicleGroup": "vehicleGroupOne",
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "externalId": "PlannedRouteOne",
- "start": "2020-10-11T08:19:00",
- "end": "2020-10-11T09:19:00",
- "demand": {
- "stateOfCharge": 20.5,
- "energy": 70,
- "distance": 100
}, - "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00",
- "updated": "2020-10-11T08:19:00",
- "vehicleName": "vehicleOne",
- "status": "future"
}
], - "total": 1
}
Add an energy price. All prices must be in $/kWh
networkId required | string <uuid> (uuid) |
required | Array of objects (price_item) |
{- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "energyPrices": [
- {
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "price": 0.32
}
]
}
{- "status": "success",
- "data": [
- {
- "created": "2020-10-11T08:19:00+00:00",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "price": 0.32
}
], - "total": 1
}
Fetch energy prices
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
network required | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
{- "status": "success",
- "data": [
- {
- "created": "2020-10-11T08:19:00+00:00",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "price": 0.32
}
], - "total": 1
}
Update energy price
price_uuid required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Price UUID. |
start | string <date-time> Default: "Current time" Date-time interval limit: 7 days |
end | string <date-time> Default: "Current time + 24 hours" Date-time interval limit: 7 days |
price | number <float> |
{- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "price": 0.32
}
{- "status": "success",
- "data": [
- {
- "created": "2020-10-11T08:19:00+00:00",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "price": 0.32
}
], - "total": 1
}
Delete specific energy price
price_uuid required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Price UUID. |
{- "status": "success",
- "data": [
- {
- "created": "2020-10-11T08:19:00+00:00",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "start": "2020-10-11T08:19:00+00:00",
- "end": "2020-10-11T08:19:00+00:00",
- "price": 0.32
}
], - "total": 1
}
Add a price constraint. All prices must be in $/kWh
networkId required | string <uuid> (uuid) |
energyPrice required | number <float> All prices must be in |
maxCapacityRatio required | number <float> [ 0 .. 1 ] Value between 0 and 1 which represents a percentage of the network to be made available at a particular price level. |
{- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "energyPrice": 0.32,
- "maxCapacityRatio": 0.43
}
{- "status": "success",
- "data": [
- {
- "created": "2020-10-11T08:19:00+00:00",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "energyPrice": 0.32,
- "maxCapacityRatio": 0.43
}
], - "total": 1
}
Fetch network price constraints.
network required | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
{- "status": "success",
- "data": [
- {
- "created": "2020-10-11T08:19:00+00:00",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "energyPrice": 0.32,
- "maxCapacityRatio": 0.43
}
], - "total": 1
}
Delete specific price constraint.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "created": "2020-10-11T08:19:00+00:00",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "energyPrice": 0.32,
- "maxCapacityRatio": 0.43
}
], - "total": 1
}
/v2/profiles/optimizations/
, /v2/profiles/capacities/
and /v2/profiles/meter_values/{type}
)To support queries with longer time window (end
- start
), the limit
and offset
params have been removed.
When querying data between start and end, an ideal data resolution (space between each timeseries point returned)
between 1 minute and 1 day is used and the data points are interpolated using a time weighted average methodology.
The resolution is determined based on the width of the time window range (end
- start
).
To query data at a higher resolution, you can reduce the width of the query's time window and vice versa.
example: a time window of 2 days will return data points at a 1 minute resolution, custom resolutions are also supported.
profiles
endpointsWhile on other GET
endpoints, the limit
and offset
query params apply normal pagination to
define the maximum amount and shifting of data fetched from storage, for profile
endpoints
their behavior changes.
Due to internal timeseries interpolation procedures, when defining limit
, one applies a
trailing truncation to the processed data to return the first n=limit
values; likewise,
when defining offset
in the query, the first m=offset
values will be shiffted to return,
as a result, the time series data corresponding to the interval [offset -> offset + limit]
.
Finally, the total
field returned in the response will quantify the number of data series
items before this special pagination was applied.
List optimization profiles (in kW). At least one query parameter is required. The same
data can be listed with GET /v2/optimizations/
but this endpoint returns time
series data in a more compact format. Only one of network, connector, chargepoint,
optimization, vehicle or optimization is required and can be submitted.
(end - start) < 1 week
network | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
connector | string <uuid> (uuid) Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by connector. |
chargepoint | string <uuid> (uuid) Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint. |
optimization | string <uuid> (uuid) Example: optimization=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by optimization ID |
charging_session | string <uuid> (uuid) Example: charging_session=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by ChargeSession. |
vehicle | string <uuid> (uuid) Example: vehicle=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by vehicle ID (this UUID was returned by |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
resolution | string Enum: "1m" "15m" "5h" "2d" "4w" Time resolution of profile data |
{- "status": "success",
- "data": {
- "optimizations": {
- "time": [
- "2022-01-20T20:37:00.383167+00:00",
- "2022-01-20T20:52:00.383167+00:00",
- "2022-01-20T21:07:00.383167+00:00",
- "2022-01-20T21:22:00.383167+00:00",
- "2022-01-20T21:37:00.383167+00:00",
- "2022-01-20T21:52:00.383167+00:00",
- "2022-01-20T22:07:00.383167+00:00"
], - "value": [
- 50,
- 45.5,
- 35,
- 47,
- 30,
- 40,
- 44.7
]
}
}, - "total": 7
}
List energy prices for a network (in $). Similar data can be fetched from
GET /v2/prices/
, but this endpoint returns a continuous time series stream
using the network's defaultEnergyPrice
for times where no
prices are available and resolving price overlaps based on
their creation time
network required | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
start | string <date-time> (datetime_utc_minus_12) Default: "Current time - 12 hours" Example: start=2020-10-11T08:19:00+00:00 Date-time interval limit: 7 days |
end | string <date-time> (datetime_utc_12) Default: "Current time + 12 hours" Example: end=2020-10-11T08:19:00+00:00 Date-time interval limit: 7 days |
intervalLength | integer Example: intervalLength=15 Interval length pace for timeseries data items (in minutes, greater or equal to 1). |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
{- "status": "success",
- "data": {
- "energyPrices": {
- "time": [
- "2021-01-01T08:58:00.000000+00:00",
- "2021-01-01T09:13:00.000000+00:00",
- "2021-01-01T09:28:00.000000+00:00",
- "2021-01-01T09:43:00.000000+00:00",
- "2021-01-01T09:58:00.000000+00:00"
], - "value": [
- 0.13,
- 1.07,
- 0.8,
- 0.35,
- 0.3
]
}
}, - "total": 5
}
List telematics soc for a vehicle (in %). This endpoint returns a continuous time series stream.
vehicle required | string <uuid> (uuid) Example: vehicle=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by vehicle ID (this UUID was returned by |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
resolution | string Enum: "1m" "15m" "5h" "2d" "4w" Time resolution of profile data |
{- "status": "success",
- "data": {
- "soc": {
- "time": [
- "2021-01-01T08:58:00.000000+00:00",
- "2021-01-01T09:13:00.000000+00:00",
- "2021-01-01T09:28:00.000000+00:00",
- "2021-01-01T09:43:00.000000+00:00"
], - "value": [
- 80,
- 79,
- 78,
- 77
]
}
}, - "total": 4
}
List capacities for a network (in kW). Similar data can be fetched from GET /v2/capacities/
,
but this endpoint returns a continuous time series
stream using the network's maxCapacity
for times where no optimization profiles exist
and resolving capacity overlaps based on their updated time. Either network or charger must be specified.
network | string <uuid> Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network uuid. |
charger | string <uuid> Example: charger=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by charger uuid. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
resolution | string Enum: "1m" "15m" "5h" "2d" "4w" Time resolution of profile data |
{- "status": "success",
- "data": {
- "capacities": {
- "time": [
- "2021-01-01T08:58:00.000000+00:00",
- "2021-01-01T09:13:00.000000+00:00",
- "2021-01-01T09:28:00.000000+00:00",
- "2021-01-01T09:43:00.000000+00:00",
- "2021-01-01T09:58:00.000000+00:00"
], - "value": [
- 135,
- 117,
- 380,
- 525,
- 243
]
}
}, - "total": 5
}
Previously profiles/meter_values
List of power meter values (in kW) for a network. Similar data can be fetched from
GET /v2/meter_values/
, but this endpoint resolves meter value overlaps
based on their creation time and converts Wh and kWh values into kW.
At least one of chargepoint, connector or network must be specified.
network | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
connector | string <uuid> (uuid) Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by connector. |
chargepoint | string <uuid> (uuid) Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
resolution | string Enum: "1m" "15m" "5h" "2d" "4w" Time resolution of profile data |
{- "status": "success",
- "data": {
- "meterValues": {
- "time": [
- "2021-01-01T08:58:00.000000+00:00",
- "2021-01-01T09:13:00.000000+00:00",
- "2021-01-01T09:28:00.000000+00:00",
- "2021-01-01T09:43:00.000000+00:00"
], - "value": [
- 22.1,
- 17.8,
- 22,
- 22.3
]
}
}, - "total": 4
}
energy consumption from energy active import meter values (in kWh) for a network, charger or connector. Similar data can be fetched from
GET /v2/meter_values/
, but this endpoint resolves meter value overlaps
based on their creation time and converts Wh and kWh values into kW.
The timeseries data returned is irregular when data gaps are encountered.
At least one of vehicle, connector, chargepoint or network must be specified.
network | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
chargepoint | string <uuid> (uuid) Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint. |
connector | string <uuid> (uuid) Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by connector. |
vehicle | string <uuid> (uuid) Example: vehicle=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by vehicle ID (this UUID was returned by |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
resolution | string Enum: "1m" "15m" "5h" "2d" "4w" Time resolution of profile data |
{- "status": "success",
- "data": {
- "meterValues": {
- "time": [
- "2021-01-01T08:58:00.000000+00:00",
- "2021-01-01T09:13:00.000000+00:00",
- "2021-01-01T09:28:00.000000+00:00",
- "2021-01-01T09:43:00.000000+00:00"
], - "value": [
- 22.1,
- 17.8,
- 22,
- 22.3
]
}
}, - "total": 4
}
Timeseries of frequency meter values (OCPP specify frequency as unitless but the expected value is Hz) for a connector. connector must be specified.
connector required | string <uuid> (uuid) Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by Connector. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
resolution | string Enum: "1m" "15m" "5h" "2d" "4w" Time resolution of profile data |
{- "status": "success",
- "data": {
- "meterValues": {
- "time": [
- "2021-01-01T08:58:00.000000+00:00",
- "2021-01-01T09:13:00.000000+00:00",
- "2021-01-01T09:28:00.000000+00:00",
- "2021-01-01T09:43:00.000000+00:00"
], - "value": [
- 22.1,
- 17.8,
- 22,
- 22.3
]
}
}, - "total": 4
}
Timeseries of state of charge meter values (in %) for a connector. Either connector or vehicle must be specified.
connector | string <uuid> (uuid) Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by connector. |
vehicle | string <uuid> (uuid) Example: vehicle=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by vehicle ID (this UUID was returned by |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
resolution | string Enum: "1m" "15m" "5h" "2d" "4w" Time resolution of profile data |
{- "status": "success",
- "data": {
- "meterValues": {
- "time": [
- "2021-01-01T08:58:00.000000+00:00",
- "2021-01-01T09:13:00.000000+00:00",
- "2021-01-01T09:28:00.000000+00:00",
- "2021-01-01T09:43:00.000000+00:00"
], - "value": [
- 22.1,
- 17.8,
- 22,
- 22.3
]
}
}, - "total": 4
}
Timeseries of temperature meter values (in K) for a connector. connector must be specified.
connector required | string <uuid> (uuid) Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by Connector. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
resolution | string Enum: "1m" "15m" "5h" "2d" "4w" Time resolution of profile data |
{- "status": "success",
- "data": {
- "meterValues": {
- "time": [
- "2021-01-01T08:58:00.000000+00:00",
- "2021-01-01T09:13:00.000000+00:00",
- "2021-01-01T09:28:00.000000+00:00",
- "2021-01-01T09:43:00.000000+00:00"
], - "value": [
- 22.1,
- 17.8,
- 22,
- 22.3
]
}
}, - "total": 4
}
Timeseries of voltage meter values (in V) for a connector. connector must be specified.
connector required | string <uuid> (uuid) Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by Connector. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
resolution | string Enum: "1m" "15m" "5h" "2d" "4w" Time resolution of profile data |
{- "status": "success",
- "data": {
- "meterValues": {
- "time": [
- "2021-01-01T08:58:00.000000+00:00",
- "2021-01-01T09:13:00.000000+00:00",
- "2021-01-01T09:28:00.000000+00:00",
- "2021-01-01T09:43:00.000000+00:00"
], - "value": [
- 22.1,
- 17.8,
- 22,
- 22.3
]
}
}, - "total": 4
}
List Demand Response (DR) Events for a network (in kW) in timeseries format. Similar data can be fetched from GET /v2/dr_events/
,
but this endpoint returns a continuous time series stream using 0.0 to fill gaps for times where no
dr event data is available and resolving demand response overlaps based on
the demand response events' updated and created times.
network required | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
type required | string Enum: "Load Amount" "V2G" Demand Response type |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
intervalLength | integer Example: intervalLength=15 Interval length pace for timeseries data items (in minutes, greater or equal to 1). |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
{- "status": "success",
- "data": {
- "drEvents": {
- "time": [
- "2021-01-01T08:58:00.000000+00:00",
- "2021-01-01T09:13:00.000000+00:00",
- "2021-01-01T09:28:00.000000+00:00",
- "2021-01-01T09:43:00.000000+00:00",
- "2021-01-01T09:58:00.000000+00:00"
], - "value": [
- 135,
- 117,
- 380,
- 525,
- 243
]
}
}, - "total": 5
}
List baseload profiles (in kW). The same data can be listed with
GET /v2/baseloads/
but this endpoint returns time
series data in a more compact format.
network | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
{- "status": "success",
- "data": {
- "baseloads": {
- "time": [
- "2021-01-01T08:58:00.000000+00:00",
- "2021-01-01T09:13:00.000000+00:00",
- "2021-01-01T09:28:00.000000+00:00",
- "2021-01-01T09:43:00.000000+00:00"
], - "value": [
- 1,
- 2,
- 3,
- 4
]
}
}, - "total": 4
}
List solar meterings profiles (in kW). The same data can be listed with
GET /v2/solar_meterings/
but this endpoint returns time
series data in a more compact format.
network | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
{- "status": "success",
- "data": {
- "solarMeterings": {
- "time": [
- "2021-01-01T08:58:00.000000+00:00",
- "2021-01-01T09:13:00.000000+00:00",
- "2021-01-01T09:28:00.000000+00:00",
- "2021-01-01T09:43:00.000000+00:00"
], - "value": [
- 1,
- 2,
- 3,
- 4
]
}
}, - "total": 4
}
List connectivity profiles (time series format, in fraction 0-1).
network | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
chargepoint | string <uuid> Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint uuid. |
connector | string <uuid> (uuid) Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by connector. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
resolution | string Enum: "1m" "15m" "5h" "2d" "4w" Time resolution of profile data |
{- "status": "success",
- "data": {
- "connectivity": {
- "time": [
- "2021-01-01T08:58:00.000000+00:00",
- "2021-01-01T09:13:00.000000+00:00",
- "2021-01-01T09:28:00.000000+00:00",
- "2021-01-01T09:43:00.000000+00:00"
], - "value": [
- 1,
- 0,
- 0.8,
- 0.75
]
}
}, - "total": 4
}
List uptime profiles (time series format, in fraction 0-1).
network | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
chargepoint | string <uuid> Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint uuid. |
connector | string <uuid> (uuid) Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by connector. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
resolution | string Enum: "1m" "15m" "5h" "2d" "4w" Time resolution of profile data |
{- "status": "success",
- "data": {
- "uptime": {
- "time": [
- "2021-01-01T08:58:00.000000+00:00",
- "2021-01-01T09:13:00.000000+00:00",
- "2021-01-01T09:28:00.000000+00:00",
- "2021-01-01T09:43:00.000000+00:00"
], - "value": [
- 1,
- 0,
- 0.8,
- 0.75
]
}
}, - "total": 4
}
List ocpp status profiles (in time series format).
chargepoint | string <uuid> Example: chargepoint=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by chargepoint uuid. |
connector | string <uuid> (uuid) Example: connector=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by connector. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
{- "status": "success",
- "data": {
- "ocppStatus": {
- "time": [
- "2021-01-01T08:58:00.000000+00:00",
- "2021-01-01T09:13:00.000000+00:00",
- "2021-01-01T09:28:00.000000+00:00",
- "2021-01-01T09:43:00.000000+00:00"
], - "value": [
- "Available",
- "Preparing",
- "Charging",
- "Finishing"
]
}
}, - "total": 4
}
The reports functionality is recommended for scenarios requiring the export of larger data sets in CSV format. This format is compatible with common visualization software such as Excel. Please be aware that the maximum number of items that can be exported is capped at 100,000.
The report filters allow the data to reflect the same output as its corresponding API endpoint and its parameters.
To get more data, it is suggested to fix the start
and end
filter parameters, and shift the dataset by using
limit
and offset
. Fixing the time period will avoid fetching new records, which would change the offset value.
Return all reports.
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
model | string (model) Enum: "charging_sessions" "ocpp_messages" "alerts" "cdrs" Model name |
userId | string <uuid> (uuid) Example: userId=83ad826c-5eb9-4113-b5bc-8c4408dcd2d2 User UUID |
{- "status": "success",
- "data": [
- {
- "filters": {
- "network": "20c9b050-658f-4b2a-abdc-7ff6e05ead44",
- "connector": [
- "71807932-b375-4332-a6e6-6b174f27b4a5"
], - "chargepoint": [
- "eb3c7a2c-29a4-432c-a311-c27308255905"
], - "vehicle": [
- "d3099aa0-1092-4b2d-9438-b0cffacd8986"
], - "start": "2023-05-28T16:14:40",
- "end": "2023-07-19T15:41:07",
- "active": false,
- "priority": 0,
- "transaction_id": 0,
- "status": "string",
- "limit": 100000,
- "offset": 0
}, - "model": "charging_sessions",
- "name": "string",
- "status": "string",
- "userId": "a1a1f12b-af41-4da3-bc71-963e66e3544c",
- "fields": [
- "id",
- "name"
], - "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00"
}
], - "total": 1
}
Create a report.
required | charging_session_filters (object) or ocpp_message_filters (object) or alerts_filters (object) or cdrs_report_filters (object) (filters) Filters applied to the report. The objects will follow the same format as the one of the corresponding endpoint. |
model required | string (model) Enum: "charging_sessions" "ocpp_messages" "alerts" "cdrs" Endpoint data that is being downloaded |
name required | string Name of the report |
fields | Array of arrays The only fields/columns that should be included in the report and report template. Order of columns is kept and reflected later the CSV file. |
{- "filters": {
- "network": "20c9b050-658f-4b2a-abdc-7ff6e05ead44",
- "connector": [
- "71807932-b375-4332-a6e6-6b174f27b4a5"
], - "chargepoint": [
- "eb3c7a2c-29a4-432c-a311-c27308255905"
], - "vehicle": [
- "d3099aa0-1092-4b2d-9438-b0cffacd8986"
], - "start": "2023-05-28T16:14:40",
- "end": "2023-07-19T15:41:07",
- "active": false,
- "priority": 0,
- "transaction_id": 0,
- "status": "string",
- "limit": 100000,
- "offset": 0
}, - "model": "charging_sessions",
- "name": "string",
- "fields": [
- "id",
- "name"
]
}
{- "status": "success",
- "data": [
- {
- "filters": {
- "network": "20c9b050-658f-4b2a-abdc-7ff6e05ead44",
- "connector": [
- "71807932-b375-4332-a6e6-6b174f27b4a5"
], - "chargepoint": [
- "eb3c7a2c-29a4-432c-a311-c27308255905"
], - "vehicle": [
- "d3099aa0-1092-4b2d-9438-b0cffacd8986"
], - "start": "2023-05-28T16:14:40",
- "end": "2023-07-19T15:41:07",
- "active": false,
- "priority": 0,
- "transaction_id": 0,
- "status": "string",
- "limit": 100000,
- "offset": 0
}, - "model": "charging_sessions",
- "name": "string",
- "status": "string",
- "userId": "a1a1f12b-af41-4da3-bc71-963e66e3544c",
- "fields": [
- "id",
- "name"
], - "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00"
}
], - "total": 1
}
Return a report.
report_uuid required | string <uuid> (uuid) Example: 94b9ea2a-9ab0-4375-8ecd-e018f6cf4463 Report UUID |
{- "status": "success",
- "data": [
- {
- "filters": {
- "network": "20c9b050-658f-4b2a-abdc-7ff6e05ead44",
- "connector": [
- "71807932-b375-4332-a6e6-6b174f27b4a5"
], - "chargepoint": [
- "eb3c7a2c-29a4-432c-a311-c27308255905"
], - "vehicle": [
- "d3099aa0-1092-4b2d-9438-b0cffacd8986"
], - "start": "2023-05-28T16:14:40",
- "end": "2023-07-19T15:41:07",
- "active": false,
- "priority": 0,
- "transaction_id": 0,
- "status": "string",
- "limit": 100000,
- "offset": 0
}, - "model": "charging_sessions",
- "name": "string",
- "status": "string",
- "userId": "a1a1f12b-af41-4da3-bc71-963e66e3544c",
- "fields": [
- "id",
- "name"
], - "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00"
}
], - "total": 1
}
Return all available report types and their available filters and fields(columns).
{- "status": "success",
- "data": [
- {
- "ocpp_messages": {
- "filters": [
- "chargepoint",
- "source",
- "messageType",
- "operationType",
- "protocol",
- "search",
- "sort",
- "start",
- "end",
- "limit",
- "offset"
], - "fields": [
- "body",
- "sendToCharger",
- "operationType",
- "protocol",
- "id",
- "source",
- "created",
- "timestamp",
- "url",
- "messageType",
- "ocppId",
- "chargerOcppId"
], - "sorting_fields": [
- "chargepoint",
- "timestamp",
- "source",
- "operationType"
]
}
}
], - "total": 1
}
Return all available report templates.
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
model | string (model) Enum: "charging_sessions" "ocpp_messages" "alerts" "cdrs" Model name |
userId | string <uuid> (uuid) Example: userId=83ad826c-5eb9-4113-b5bc-8c4408dcd2d2 User UUID |
favorite | boolean (favorite) Example: favorite=true |
sort | string (sort) Enum: "name" "favorite" Example: sort=favorite:asc sort report templates by name or favorite field with the format of "name:asc, favorite:desc". |
{- "status": "success",
- "data": [
- {
- "filters": {
- "network": "20c9b050-658f-4b2a-abdc-7ff6e05ead44",
- "connector": [
- "71807932-b375-4332-a6e6-6b174f27b4a5"
], - "chargepoint": [
- "eb3c7a2c-29a4-432c-a311-c27308255905"
], - "vehicle": [
- "d3099aa0-1092-4b2d-9438-b0cffacd8986"
], - "start": "2023-05-28T16:14:40",
- "end": "2023-07-19T15:41:07",
- "active": false,
- "priority": 0,
- "transaction_id": 0,
- "status": "string",
- "limit": 100000,
- "offset": 0
}, - "model": "charging_sessions",
- "name": "string",
- "userId": "a1a1f12b-af41-4da3-bc71-963e66e3544c",
- "fields": [
- "id",
- "name"
], - "favorite": false,
- "category": "string",
- "description": "string",
- "range": "Last 7 days",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00"
}
], - "total": 1
}
Create a report template.
name required | string Name of the report template |
model required | string (model) Enum: "charging_sessions" "ocpp_messages" "alerts" "cdrs" Endpoint data that is being downloaded |
required | charging_session_filters (object) or ocpp_message_filters (object) or alerts_filters (object) or cdrs_report_filters (object) (filters) Filters applied to the report. The objects will follow the same format as the one of the corresponding endpoint. |
fields | Array of arrays The only fields/columns that should be included in the report and report template. Order of columns is kept and reflected later the CSV file. |
favorite | boolean Default: false |
category | string |
description | string |
range | string Report template range in the format of 'last XX days'. |
{- "name": "string",
- "model": "charging_sessions",
- "filters": {
- "network": "20c9b050-658f-4b2a-abdc-7ff6e05ead44",
- "connector": [
- "71807932-b375-4332-a6e6-6b174f27b4a5"
], - "chargepoint": [
- "eb3c7a2c-29a4-432c-a311-c27308255905"
], - "vehicle": [
- "d3099aa0-1092-4b2d-9438-b0cffacd8986"
], - "start": "2023-05-28T16:14:40",
- "end": "2023-07-19T15:41:07",
- "active": false,
- "priority": 0,
- "transaction_id": 0,
- "status": "string",
- "limit": 100000,
- "offset": 0
}, - "fields": [
- "id",
- "name"
], - "favorite": false,
- "category": "string",
- "description": "string",
- "range": "Last 7 days"
}
{- "status": "success",
- "data": [
- {
- "filters": {
- "network": "20c9b050-658f-4b2a-abdc-7ff6e05ead44",
- "connector": [
- "71807932-b375-4332-a6e6-6b174f27b4a5"
], - "chargepoint": [
- "eb3c7a2c-29a4-432c-a311-c27308255905"
], - "vehicle": [
- "d3099aa0-1092-4b2d-9438-b0cffacd8986"
], - "start": "2023-05-28T16:14:40",
- "end": "2023-07-19T15:41:07",
- "active": false,
- "priority": 0,
- "transaction_id": 0,
- "status": "string",
- "limit": 100000,
- "offset": 0
}, - "model": "charging_sessions",
- "name": "string",
- "userId": "a1a1f12b-af41-4da3-bc71-963e66e3544c",
- "fields": [
- "id",
- "name"
], - "favorite": false,
- "category": "string",
- "description": "string",
- "range": "Last 7 days",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00"
}
], - "total": 1
}
Return a report template by id.
report_template_uuid required | string <uuid> (uuid) Example: 94b9ea2a-9ab0-4375-8ecd-e018f6cf4463 Report template UUID |
{- "status": "success",
- "data": [
- {
- "filters": {
- "network": "20c9b050-658f-4b2a-abdc-7ff6e05ead44",
- "connector": [
- "71807932-b375-4332-a6e6-6b174f27b4a5"
], - "chargepoint": [
- "eb3c7a2c-29a4-432c-a311-c27308255905"
], - "vehicle": [
- "d3099aa0-1092-4b2d-9438-b0cffacd8986"
], - "start": "2023-05-28T16:14:40",
- "end": "2023-07-19T15:41:07",
- "active": false,
- "priority": 0,
- "transaction_id": 0,
- "status": "string",
- "limit": 100000,
- "offset": 0
}, - "model": "charging_sessions",
- "name": "string",
- "userId": "a1a1f12b-af41-4da3-bc71-963e66e3544c",
- "fields": [
- "id",
- "name"
], - "favorite": false,
- "category": "string",
- "description": "string",
- "range": "Last 7 days",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00"
}
], - "total": 1
}
Update a report template by id.
report_template_uuid required | string <uuid> (uuid) Example: 94b9ea2a-9ab0-4375-8ecd-e018f6cf4463 Report template UUID |
name | string Name of the report template |
charging_session_filters (object) or ocpp_message_filters (object) or alerts_filters (object) or cdrs_report_filters (object) (filters) Filters applied to the report. The objects will follow the same format as the one of the corresponding endpoint. | |
fields | Array of arrays |
favorite | boolean |
category | string |
description | string |
range | string |
{- "name": "string",
- "filters": {
- "network": "20c9b050-658f-4b2a-abdc-7ff6e05ead44",
- "connector": [
- "71807932-b375-4332-a6e6-6b174f27b4a5"
], - "chargepoint": [
- "eb3c7a2c-29a4-432c-a311-c27308255905"
], - "vehicle": [
- "d3099aa0-1092-4b2d-9438-b0cffacd8986"
], - "start": "2023-05-28T16:14:40",
- "end": "2023-07-19T15:41:07",
- "active": false,
- "priority": 0,
- "transaction_id": 0,
- "status": "string",
- "limit": 100000,
- "offset": 0
}, - "fields": [
- "id",
- "name"
], - "favorite": false,
- "category": "string",
- "description": "string",
- "range": "Last 7 days"
}
{- "status": "success",
- "data": [
- {
- "filters": {
- "network": "20c9b050-658f-4b2a-abdc-7ff6e05ead44",
- "connector": [
- "71807932-b375-4332-a6e6-6b174f27b4a5"
], - "chargepoint": [
- "eb3c7a2c-29a4-432c-a311-c27308255905"
], - "vehicle": [
- "d3099aa0-1092-4b2d-9438-b0cffacd8986"
], - "start": "2023-05-28T16:14:40",
- "end": "2023-07-19T15:41:07",
- "active": false,
- "priority": 0,
- "transaction_id": 0,
- "status": "string",
- "limit": 100000,
- "offset": 0
}, - "model": "charging_sessions",
- "name": "string",
- "userId": "a1a1f12b-af41-4da3-bc71-963e66e3544c",
- "fields": [
- "id",
- "name"
], - "favorite": false,
- "category": "string",
- "description": "string",
- "range": "Last 7 days",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00"
}
], - "total": 1
}
Send meter values from solar energy meter. Required for solar optimization functionality.
networkId required | string <uuid> (uuid) |
Array of objects |
{- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "solarMeterValues": [
- {
- "timestamp": "2022-01-03T20:10:00+00:00",
- "unit": "kWh",
- "value": 123.4
}, - {
- "timestamp": "2022-01-03T15:10:00+00:00",
- "unit": "kWh",
- "value": 321
}
]
}
{- "status": "success",
- "data": [
- [
- {
- "id": "f2458fc2-8ca0-4c05-bc8e-89401bb8f954",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "timestamp": "2022-01-03T20:10:00.000000+00:00",
- "unit": "kWh",
- "value'": 123.4
}, - {
- "id": "0586a650-90c4-44b9-97d7-5bf2e56ec198",
- "networkId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "timestamp": "2022-01-03T15:10:00.000000+00:00",
- "unit": "kWh",
- "value": 321
}
]
], - "total": 2
}
List solar meter values for a network
network required | string <uuid> (uuid) Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network. |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
{- "status": "success",
- "data": [
- {
- "id": "03cef2b6-d5e5-4430-b77f-5dcfcc1d81d1",
- "networkId'": "2e4a6799-6355-5dba-b78e-230acb1ed9e6",
- "timestamp'": "2022-01-20T22:59:51.281710+00:00",
- "unit'": "kWh",
- "value'": 10
}, - {
- "id": "95b89505-7015-4879-b6ed-3d57c28f9e9c",
- "networkId'": "2e4a6799-6355-5dba-b78e-230acb1ed9e6",
- "timestamp'": "2022-01-20T22:59:51.284271+00:00",
- "unit'": "kWh",
- "value'": 20
}, - {
- "id": "ee8affef-f5ea-4a37-a8b6-4b32aa3c1a3d",
- "networkId'": "2e4a6799-6355-5dba-b78e-230acb1ed9e6",
- "timestamp'": "2022-01-20T22:59:51.285539+00:00",
- "unit'": "kWh",
- "value'": 45.5
}, - {
- "id": "1479ef56-ad29-49ea-aee3-88d286d01ba3",
- "networkId'": "2e4a6799-6355-5dba-b78e-230acb1ed9e6",
- "timestamp'": "2022-01-20T22:59:51.286762+00:00",
- "unit'": "kWh",
- "value'": 15.75
}, - {
- "id": "837cf997-e3d2-42ed-a865-808d942cad76",
- "networkId'": "2e4a6799-6355-5dba-b78e-230acb1ed9e6",
- "timestamp'": "2022-01-20T22:59:51.287961+00:00",
- "unit'": "kWh",
- "value'": 15.3
}
], - "total": 5
}
Create a sub network. The parentSubNetworkId determines where the sub network is created in the topology, if null, the sub network will be attached directly to the network.
name required | string Helps to identify your sub_network on the UI. |
networkId required | string <uuid> UUID of the network. |
parentSubNetworkId | string <uuid> UUID of the parent sub_network, if null, the sub_network is directly attached to the network. |
maxCapacity required | number <float> Maximum allowed power on this resource in kW (Kilowatt). |
{- "name": "Transformer 10",
- "networkId": "c98b9db1-2194-4cf0-bfe1-490495fae58b",
- "parentSubNetworkId": "c98b9db1-2194-4cf0-bfe1-490495fae58b",
- "maxCapacity": 22
}
{- "status": "success",
- "data": [
- {
- "maxCapacity": 22,
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "Transformer 10",
- "networkId": "c98b9db1-2194-4cf0-bfe1-490495fae58b",
- "parentSubNetworkId": "c98b9db1-2194-4cf0-bfe1-490495fae58b"
}
], - "total": 1
}
List sub networks.
network | string <uuid> Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by network uuid. |
network | string <uuid> Example: network=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Filter by sub_network uuid. |
limit | integer Default: 100 Example: limit=50 Pagination limit for query |
offset | integer Default: 0 Example: offset=3 Pagination offset for query |
{- "status": "success",
- "data": [
- {
- "maxCapacity": 22,
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "Transformer 10",
- "networkId": "c98b9db1-2194-4cf0-bfe1-490495fae58b",
- "parentSubNetworkId": "c98b9db1-2194-4cf0-bfe1-490495fae58b"
}
], - "total": 1
}
Get sub network details.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "maxCapacity": 22,
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "Transformer 10",
- "networkId": "c98b9db1-2194-4cf0-bfe1-490495fae58b",
- "parentSubNetworkId": "c98b9db1-2194-4cf0-bfe1-490495fae58b"
}
], - "total": 1
}
Update a network.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
name | string Helps to identify your sub_network on the UI. |
parentSubNetworkId | string <uuid> UUID of the parent sub_network, if null, the sub_network is directly attached to the network. |
{- "name": "Transformer 10",
- "parentSubNetworkId": "c98b9db1-2194-4cf0-bfe1-490495fae58b"
}
{- "status": "success",
- "data": [
- {
- "maxCapacity": 22,
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "Transformer 10",
- "networkId": "c98b9db1-2194-4cf0-bfe1-490495fae58b",
- "parentSubNetworkId": "c98b9db1-2194-4cf0-bfe1-490495fae58b"
}
], - "total": 1
}
Delete a network, any children charger or sub network will be moved to the sub_network's parent sub network (or the network if the sub_network is directly attached to the network).
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "maxCapacity": 22,
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "Transformer 10",
- "networkId": "c98b9db1-2194-4cf0-bfe1-490495fae58b",
- "parentSubNetworkId": "c98b9db1-2194-4cf0-bfe1-490495fae58b"
}
], - "total": 1
}
search | string This is a string search to find users based on their name or email address. |
roles | Array of UUID User roles. Supports multiple values e.g. |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
{- "status": "success",
- "data": [
- {
- "created": "2022-03-04T20:48:40.531453+00:00",
- "email": "steve@example.com",
- "phone": "+14155552671",
- "firstName": "Steve",
- "id": "887e21b6-54c2-52cd-aa55-6b7926a40c4c",
- "lastName": "Smith",
- "name": "SteveSmith",
- "profileImageUrl": "None",
- "type": "admin",
- "language": "en",
- "updated": "2022-03-04T20:48:40.531453+00:00",
- "oauth": false,
- "active": true,
- "favorite": true,
- "isMetric": true,
- "customerName": "customerName"
}, - {
- "created": "2022-03-04T20:48:40.531453+00:00",
- "email": "lisa@example.com",
- "phone": "+141475531671",
- "firstName": "Lisa",
- "id": "d4e417f9-55fb-553c-8411-c2799f6ca117",
- "lastName": "White",
- "name": "LisaWhite",
- "profileImageUrl": "None",
- "type": "service",
- "language": "en",
- "updated": "2022-03-04T20:48:40.531453+00:00",
- "oauth": false,
- "active": false,
- "favorite": false,
- "isMetric": false,
- "customerName": "customerName"
}, - {
- "created": "2022-03-04T20:48:40.531453+00:00",
- "email": "matt@example.com",
- "phone": "+1542647523",
- "firstName": "Matt",
- "id": "13f4368c-1c67-56cf-a4c7-98ebfb15f1b8",
- "lastName": "Johnson",
- "name": "MattJohnson",
- "profileImageUrl": "None",
- "type": "user",
- "language": "en",
- "updated": "2022-03-04T20:48:40.531453+00:00",
- "oauth": false,
- "active": false,
- "favorite": false,
- "isMetric": false,
- "customerName": "customerName"
}
], - "total": 3
}
customer | string <uuid> (uuid) |
name | string Requiered when creating normal users. |
password required | string |
firstName | string |
lastName | string |
string <email> Requiered when creating oauth users. | |
phone | string^\+[1-9]\d{1,14}$ |
type | string Enum: "admin" "user" "service" "read_only" |
language | string Enum: "en" "es" |
oauth | boolean Default: false Set to true automatically and only on creation, if user supports OAuth based authentication. |
favorite | boolean Default: false Used for setting favorite users when using the multi-organization option |
isMetric | boolean Default: true Units that the user will see on the UI. |
{- "customer": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "name": "SteveSmith",
- "password": "test",
- "firstName": "Steve",
- "lastName": "Smith",
- "email": "steve@example.com",
- "phone": "+14155552671",
- "type": "admin",
- "language": "es",
- "oauth": false,
- "favorite": false,
- "isMetric": true
}
{- "status": "success",
- "data": [
- {
- "created": "2022-03-04T20:48:40.531453+00:00",
- "email": "steve@example.com",
- "phone": "+14155552671",
- "firstName": "Steve",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "lastName": "Smith",
- "name": "SteveSmith",
- "profileImageUrl": "None",
- "type": "admin",
- "language": "es",
- "updated": "2022-03-04T20:48:40.531453+00:00",
- "oauth": false,
- "favorite": false,
- "isMetric": true
}
], - "total": 1
}
name | string |
password | string |
firstName | string |
lastName | string |
string <email> | |
profileImageUrl | string <url> |
phone | string^\+[1-9]\d{1,14}$ |
language | string Enum: "en" "es" |
favorite | boolean Default: false Used for setting favorite users when using the multi-organization option |
isMetric | boolean Default: true Units that the user will see on the UI. |
{- "name": "SteveSmith",
- "password": "test",
- "firstName": "Steve",
- "lastName": "Smith",
- "email": "steve@example.com",
- "profileImageUrl": "None",
- "phone": "+14155552671",
- "language": "es",
- "favorite": false,
- "isMetric": true
}
{- "status": "success",
- "data": [
- {
- "created": "2022-03-04T20:48:40.531453+00:00",
- "email": "steve@example.com",
- "phone": "+14155552671",
- "firstName": "Steve",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "lastName": "Smith",
- "name": "SteveSmith",
- "profileImageUrl": "None",
- "type": "admin",
- "language": "es",
- "updated": "2022-03-04T20:48:40.531453+00:00",
- "oauth": false,
- "favorite": false,
- "isMetric": true
}
], - "total": 1
}
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "created": "2022-03-04T20:48:40.531453+00:00",
- "email": "steve@example.com",
- "phone": "+14155552671",
- "firstName": "Steve",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "lastName": "Smith",
- "name": "SteveSmith",
- "profileImageUrl": "None",
- "type": "admin",
- "language": "es",
- "updated": "2022-03-04T20:48:40.531453+00:00",
- "oauth": false,
- "favorite": false,
- "isMetric": true
}
], - "total": 1
}
any Used in multi-organization. When querying by email all the users under that email are returned. |
{- "status": "success",
- "data": [
- {
- "created": "2022-03-04T20:48:40.531453+00:00",
- "email": "steve@example.com",
- "phone": "+14155552671",
- "firstName": "Steve",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "lastName": "Smith",
- "name": "SteveSmith",
- "profileImageUrl": "None",
- "type": "admin",
- "language": "en",
- "updated": "2022-03-04T20:48:40.531453+00:00",
- "customerId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "oauth": false,
- "favorite": false,
- "isMetric": true,
- "customerName": "customerName"
}
], - "total": 1
}
name | string |
password | string |
firstName | string |
lastName | string |
string <email> | |
profileImageUrl | string <url> |
phone | string^\+[1-9]\d{1,14}$ |
language | string Enum: "en" "es" |
favorite | boolean Default: false Used for setting favorite users when using the multi-organization option |
isMetric | boolean Default: true Units that the user will see on the UI. |
{- "name": "SteveSmith",
- "password": "test",
- "firstName": "Steve",
- "lastName": "Smith",
- "email": "steve@example.com",
- "profileImageUrl": "None",
- "phone": "+14155552671",
- "language": "es",
- "favorite": false,
- "isMetric": true
}
{- "status": "success",
- "data": [
- {
- "created": "2022-03-04T20:48:40.531453+00:00",
- "email": "steve@example.com",
- "phone": "+14155552671",
- "firstName": "Steve",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "lastName": "Smith",
- "name": "SteveSmith",
- "profileImageUrl": "None",
- "type": "admin",
- "language": "es",
- "updated": "2022-03-04T20:48:40.531453+00:00",
- "oauth": false,
- "favorite": false,
- "isMetric": true
}
], - "total": 1
}
name required | string |
password required | string |
{- "name": "SteveSmith",
- "password": "test"
}
{- "status": "success",
- "data": [
- {
- "length": 284,
- "payload": {
- "chk": "4204fce9425a7011",
- "company": "843c686f-5602-46ca-96c8-6b200740a37d",
- "exp": "2022-03-08T17:47:49.440481+00:00",
- "role": "user",
- "type": "user",
- "user": "0333e0c4-1989-41b7-b12f-45aa61a9093c"
}, - "session": "gieIqM78mDMGosLkHfNYQSFfnKm26XEVmyFaFEuHq2Q.0nIwETO2EWNyQTOlNmZ1ADNyIiOisGajJCL5YjNxYzN2QjNxojIwhXZiwiIyV2c1JiOiUGbvJnIsIyMiV2NxIjNlFWZhNTLyUWN50yNjRTNtkTM5MTLiljYTewq1QmI6ISeuFGct92Yisrett3L.modn4rN4MGOtYGOkFWL5YWM10CMmZ2MtATS1k3hNMJeoojIyV2c1Jye.9JiN1IzUIJiOicGbhJCLiQ1VKJA4oan4elks"
}
], - "total": 1
}
Adds a vehicle.
name required | string Display name of vehicle. |
comments | string free string input to store custom vehicle data |
VIN | string or null Vehicle Identification Number, https://en.wikipedia.org/wiki/Vehicle_identification_number. |
customerVehicleId | string or null Vehicle ID used by customer or fleet operator |
departureTime | string or null <date-time> When the vehicle needs to stop charging and leave. |
batteryCapacity | number <float> How much energy can be stored in the vehicle's battery, in kWh (Kilowatt-hour). |
location | string or null Location of the vehicle |
maxChargingPower | number <float> In kW (Kilowatt). |
stateOfCharge | number <float> How much energy is now in the battery, in %. |
targetStateOfCharge | number <float> Default: 100 Up to what level we need to charge, in %. |
group | string or null <string> Group used to match routes with vehicles |
insideDepot | string or null <uuid> Indicates if a vehicle is currently within a network geofence radius. |
make | string or null <string> The vehicle make refers to the manufacturer or brand of a vehicle, such as Toyota, Ford, Honda, etc. |
model | string or null <string> The vehicle model represents a specific version or variant of a vehicle make. For example, the Toyota Camry, Ford Mustang, Honda Civic, etc. |
year | int or null <int> The vehicle year indicates the year in which a particular vehicle model was manufactured. It helps in identifying the specific version of a model, as vehicle designs can change over time. |
licensePlate | string or null <string> A license plate is a unique alphanumeric identifier assigned to a vehicle by a governmental authority. It serves as an official registration mark and helps in identifying and tracking vehicles. |
{- "name": "Vehicle 3",
- "comments": "Battery life seems low. Call mechanic.",
- "VIN": "5GZCZ43D13S812715",
- "customerVehicleId": "Vehicle 3",
- "departureTime": "2020-10-11T08:19:00+00:00",
- "batteryCapacity": 75.5,
- "location": "Brooklyn, NYC",
- "maxChargingPower": 11.5,
- "stateOfCharge": 80.5,
- "targetStateOfCharge": 90,
- "group": "MorningDeparturesGroup",
- "insideDepot": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "make": "Chevy",
- "model": "Volt",
- "year": 2022,
- "licensePlate": "ABC123"
}
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "Vehicle 3",
- "comments": "Battery life seems low. Call mechanic.",
- "VIN": "5GZCZ43D13S812715",
- "customerVehicleId": "Vehicle 3",
- "departureTime": "2020-10-11T08:19:00+00:00",
- "batteryCapacity": 75.5,
- "location": "Brooklyn, NYC",
- "maxChargingPower": 11.5,
- "stateOfCharge": 80.5,
- "targetStateOfCharge": 90,
- "group": "MorningDeparturesGroup",
- "insideDepot": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "make": "Chevy",
- "model": "Volt",
- "year": 2022,
- "licensePlate": "ABC123",
- "stateOfChargeTimestamp": "2023-01-24T11:53:27.629927+00:00",
- "active": true,
- "integrationId": "telematics provider name",
- "plannedRouteId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "idTagNames": [
- "string"
]
}
], - "total": 1
}
List Vehicles
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
group | string Filter vehicles by group. |
updated | string <date-time> Example: updated=2020-10-11T08:19:00+00:00 Returns objects updated after the specified timestamp. |
search | string String-based search based on a combination from vehicle name, licensePlate, VIN, idTagNames, group, make, model, year, or vehicle ID (UUID). |
sort | string Enum: "batteryCapacity:desc" "batteryCapacity:asc" "group:desc" "group:asc" "integrationId:desc" "integrationId:asc" "licensePlate:desc" "licensePlate:asc" "make:desc" "make:asc" "maxChargingPower:desc" "maxChargingPower:asc" "model:desc" "model:asc" "name:desc" "name:asc" "targetSOC:desc" "targetSOC:asc" "VIN:desc" "VIN:asc" "year:desc" "year:asc" Sort by specific values. |
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "Vehicle 3",
- "comments": "Battery life seems low. Call mechanic.",
- "VIN": "5GZCZ43D13S812715",
- "customerVehicleId": "Vehicle 3",
- "departureTime": "2020-10-11T08:19:00+00:00",
- "batteryCapacity": 75.5,
- "location": "Brooklyn, NYC",
- "maxChargingPower": 11.5,
- "stateOfCharge": 80.5,
- "targetStateOfCharge": 90,
- "group": "MorningDeparturesGroup",
- "insideDepot": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "make": "Chevy",
- "model": "Volt",
- "year": 2022,
- "licensePlate": "ABC123",
- "stateOfChargeTimestamp": "2023-01-24T11:53:27.629927+00:00",
- "active": true,
- "integrationId": "telematics provider name",
- "plannedRouteId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "idTagNames": [
- "string"
]
}
], - "total": 1
}
Bulk update vehicles.
ids | Array of strings <uuid> (uuid) [ items <uuid > ] |
object | |
object |
{- "ids": [
- "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
], - "filters": {
- "group": "string"
}, - "values": {
- "batteryCapacity": 75.5,
- "departureTime": "2020-10-11T08:19:00+00:00",
- "make": "Chevy",
- "maxChargingPower": 11.5,
- "model": "Volt",
- "targetStateOfCharge": 90,
- "group": "MorningDeparturesGroup",
- "comments": "Battery life seems low. Call mechanic.",
- "year": 2022
}
}
{- "status": "success",
- "data": {
- "msg": "Successfully updated <number of affected rows> Vehicles."
}, - "total": 1
}
A vehicle.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "Vehicle 3",
- "comments": "Battery life seems low. Call mechanic.",
- "VIN": "5GZCZ43D13S812715",
- "customerVehicleId": "Vehicle 3",
- "departureTime": "2020-10-11T08:19:00+00:00",
- "batteryCapacity": 75.5,
- "location": "Brooklyn, NYC",
- "maxChargingPower": 11.5,
- "stateOfCharge": 80.5,
- "targetStateOfCharge": 90,
- "group": "MorningDeparturesGroup",
- "insideDepot": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "make": "Chevy",
- "model": "Volt",
- "year": 2022,
- "licensePlate": "ABC123",
- "stateOfChargeTimestamp": "2023-01-24T11:53:27.629927+00:00",
- "active": true,
- "integrationId": "telematics provider name",
- "plannedRouteId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "idTagNames": [
- "string"
]
}
], - "total": 1
}
Update a vehicle. Updates to the departureTime
, stateOfCharge
and targetStateOfCharge
fields can trigger reoptimization and send out new limits to your network.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
name required | string Display name of vehicle. |
comments | string free string input to store custom vehicle data |
VIN | string or null Vehicle Identification Number, https://en.wikipedia.org/wiki/Vehicle_identification_number. |
customerVehicleId | string or null Vehicle ID used by customer or fleet operator |
departureTime | string or null <date-time> When the vehicle needs to stop charging and leave. |
batteryCapacity | number <float> How much energy can be stored in the vehicle's battery, in kWh (Kilowatt-hour). |
location | string or null Location of the vehicle |
maxChargingPower | number <float> In kW (Kilowatt). |
stateOfCharge | number <float> How much energy is now in the battery, in %. |
targetStateOfCharge | number <float> Default: 100 Up to what level we need to charge, in %. |
group | string or null <string> Group used to match routes with vehicles |
insideDepot | string or null <uuid> Indicates if a vehicle is currently within a network geofence radius. |
make | string or null <string> The vehicle make refers to the manufacturer or brand of a vehicle, such as Toyota, Ford, Honda, etc. |
model | string or null <string> The vehicle model represents a specific version or variant of a vehicle make. For example, the Toyota Camry, Ford Mustang, Honda Civic, etc. |
year | int or null <int> The vehicle year indicates the year in which a particular vehicle model was manufactured. It helps in identifying the specific version of a model, as vehicle designs can change over time. |
licensePlate | string or null <string> A license plate is a unique alphanumeric identifier assigned to a vehicle by a governmental authority. It serves as an official registration mark and helps in identifying and tracking vehicles. |
{- "name": "Vehicle 3",
- "comments": "Battery life seems low. Call mechanic.",
- "VIN": "5GZCZ43D13S812715",
- "customerVehicleId": "Vehicle 3",
- "departureTime": "2020-10-11T08:19:00+00:00",
- "batteryCapacity": 75.5,
- "location": "Brooklyn, NYC",
- "maxChargingPower": 11.5,
- "stateOfCharge": 80.5,
- "targetStateOfCharge": 90,
- "group": "MorningDeparturesGroup",
- "insideDepot": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "make": "Chevy",
- "model": "Volt",
- "year": 2022,
- "licensePlate": "ABC123"
}
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "Vehicle 3",
- "comments": "Battery life seems low. Call mechanic.",
- "VIN": "5GZCZ43D13S812715",
- "customerVehicleId": "Vehicle 3",
- "departureTime": "2020-10-11T08:19:00+00:00",
- "batteryCapacity": 75.5,
- "location": "Brooklyn, NYC",
- "maxChargingPower": 11.5,
- "stateOfCharge": 80.5,
- "targetStateOfCharge": 90,
- "group": "MorningDeparturesGroup",
- "insideDepot": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "make": "Chevy",
- "model": "Volt",
- "year": 2022,
- "licensePlate": "ABC123",
- "stateOfChargeTimestamp": "2023-01-24T11:53:27.629927+00:00",
- "active": true,
- "integrationId": "telematics provider name",
- "plannedRouteId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "idTagNames": [
- "string"
]
}
], - "total": 1
}
Delete a vehicle.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
{- "status": "success",
- "data": [
- {
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "updated": "2020-10-11T08:19:00+00:00",
- "name": "Vehicle 3",
- "comments": "Battery life seems low. Call mechanic.",
- "VIN": "5GZCZ43D13S812715",
- "customerVehicleId": "Vehicle 3",
- "departureTime": "2020-10-11T08:19:00+00:00",
- "batteryCapacity": 75.5,
- "location": "Brooklyn, NYC",
- "maxChargingPower": 11.5,
- "stateOfCharge": 80.5,
- "targetStateOfCharge": 90,
- "group": "MorningDeparturesGroup",
- "insideDepot": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "make": "Chevy",
- "model": "Volt",
- "year": 2022,
- "licensePlate": "ABC123",
- "stateOfChargeTimestamp": "2023-01-24T11:53:27.629927+00:00",
- "active": true,
- "integrationId": "telematics provider name",
- "plannedRouteId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "idTagNames": [
- "string"
]
}
], - "total": 1
}
Adds a vehicle telematics data. one of longitude and latitude, chargingState or stateOfCharge is required
timestamp required | string <date-time> ISO 8601, timestamp of the telematics data. |
stateOfCharge | number or null <float> How much energy is now in the battery, in %. |
latitude | number or null <float> Vehicle location Latitude, + is North, - is South, required if longitude is set. |
longitude | number or null <float> Vehicle location Longitude, + is East, - is West, required if latitude is set. |
plugConnected | boolean or null |
dataConnected | boolean or null |
batteryCapacity | number <float> Vehicle's battery capacity in kWh |
batteryPower | number <float> Vehicle's battery power in kW |
rangeRemaining | number <float> remaining vehicle range in km |
chargingState | any Enum: "Charging" "ChargingAC" "ChargingDC" "NotCharging" Charging state of the vehicle |
chargingEnergy | number <float> Charging energy in kWh |
drivingEnergy | number <float> Driving energy in kWh |
regenEnergy | number <float> Regen energy in kWh |
otherEnergy | number <float> Other energy in kWh |
cabinTemperature | number <float> Cabin temperature in Celsius |
batteryTemperature | number <float> Battery temperature in Celsius |
chargingPower | number <float> Charging power in kW |
odometer | number <float> Vehicle odometer in km |
ignition | boolean or null Vehicle ignition state |
source | any Enum: "thirdPartyTelematics" "chargePoint" vehicle telematic source |
{- "timestamp": "2020-10-11T08:19:00",
- "stateOfCharge": 80.5,
- "latitude": 32.2431,
- "longitude": 115.793,
- "plugConnected": true,
- "dataConnected": true,
- "batteryCapacity": 130,
- "batteryPower": 50,
- "rangeRemaining": 150.5,
- "chargingState": "Charging",
- "chargingEnergy": 100.5,
- "drivingEnergy": 100.5,
- "regenEnergy": 50.5,
- "otherEnergy": 10.5,
- "cabinTemperature": 22,
- "batteryTemperature": 40,
- "chargingPower": 40,
- "odometer": 1000,
- "ignition": true,
- "source": "thirdPartyTelematics"
}
{- "status": "success",
- "data": [
- {
- "timestamp": "2020-10-11T08:19:00",
- "stateOfCharge": 80.5,
- "latitude": 32.2431,
- "longitude": 115.793,
- "plugConnected": true,
- "dataConnected": true,
- "batteryCapacity": 130,
- "batteryPower": 50,
- "rangeRemaining": 150.5,
- "chargingState": "Charging",
- "chargingEnergy": 100.5,
- "drivingEnergy": 100.5,
- "regenEnergy": 50.5,
- "otherEnergy": 10.5,
- "cabinTemperature": 22,
- "batteryTemperature": 40,
- "chargingPower": 40,
- "odometer": 1000,
- "ignition": true,
- "source": "thirdPartyTelematics",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
], - "total": 1
}
A vehicle telematics data.
id required | string <uuid> (uuid) Example: 33fe5b42-f717-43f6-ba0a-eab4cae81bfa Resource ID. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
{- "status": "success",
- "data": [
- {
- "timestamp": "2020-10-11T08:19:00",
- "stateOfCharge": 80.5,
- "latitude": 32.2431,
- "longitude": 115.793,
- "plugConnected": true,
- "dataConnected": true,
- "batteryCapacity": 130,
- "batteryPower": 50,
- "rangeRemaining": 150.5,
- "chargingState": "Charging",
- "chargingEnergy": 100.5,
- "drivingEnergy": 100.5,
- "regenEnergy": 50.5,
- "otherEnergy": 10.5,
- "cabinTemperature": 22,
- "batteryTemperature": 40,
- "chargingPower": 40,
- "odometer": 1000,
- "ignition": true,
- "source": "thirdPartyTelematics",
- "id": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "created": "2020-10-11T08:19:00+00:00",
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa"
}
], - "total": 1
}
Get an aggregate of the most recent telematics data for all customer vehicles
latitude | any Example: latitude=32.2431 Central point Latitude, + is North, - is South, required if longitude and radius are set. |
longitude | any Example: longitude=115.793 Central point Longitude, + is East, - is West, required if latitude and radius are set. |
radius | any Example: radius=450 Radius of the circle-shaped geofence around the central point. In meters. |
{- "status": "success",
- "data": [
- {
- "vehicleId": "a6d66da8-a10a-40a1-ae42-c06a457b4582",
- "stateOfCharge": {
- "value": 40.5,
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}, - "latitude": {
- "value": 32.2431,
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}, - "longitude": {
- "value": 115.793,
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}, - "chargingState": {
- "value": "NotCharging",
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}, - "batteryPower": {
- "value": 22.5,
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}, - "plugConnected": {
- "value": false,
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}, - "batteryCapacity": {
- "value": 80.5,
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}, - "rangeRemaining": {
- "value": 90.1,
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}, - "dataConnected": {
- "value": true,
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}, - "cabinTemperature": {
- "value": 22.5,
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}, - "batteryTemperature": {
- "value": 40.3,
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}, - "odometer": {
- "value": 120000,
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}, - "ignition": {
- "value": true,
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}, - "chargingPower": {
- "value": 20.4,
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}, - "expectedEnd": {
- "value": "2020-10-11T08:19:00+00:00",
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}, - "expectedTimeTo80": {
- "value": "2020-10-11T08:19:00+00:00",
- "timestamp": "2020-10-11T08:19:00+00:00",
- "source": "thirdPartyTelematics"
}
}
], - "total": 1
}
Get an aggregate of the most recent data for all customer vehicle trips.
vehicleId | any Example: vehicleId=33fe5b42-f717-43f6-ba0a-eab4cae81bfa Vehicle Id. Supports multiple values e.g. |
vehicleGroup | any Example: vehicleGroup=vehicleGroupOne Vehicle group name. Supports multiple values e.g. |
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
sort | string Enum: "active:desc" "active:asc" "averageSpeed:desc" "averageSpeed:asc" "distance:desc" "distance:asc" "drivingDuration:desc" "drivingDuration:asc" "endStateOfCharge:desc" "endStateOfCharge:asc" "endTime:desc" "endTime:asc" "maxSpeed:desc" "maxSpeed:asc" "netEnergyUsed:desc" "netEnergyUsed:asc" "startStateOfCharge:desc" "startStateOfCharge:asc" "startTime:desc" "startTime:asc" "vehicleId:desc" "vehicleId:asc" Sort by specific values. |
{- "status": "success",
- "data": [
- {
- "id": "98ai5c54-f717-43f6-ba0a-eab4cae72ciz",
- "vehicleId": "33fe5b42-f717-43f6-ba0a-eab4cae81bfa",
- "vehicleName": "VehicleName",
- "vehicleGroup": "vehicleGroupOne",
- "drivingDuration": "02:00:00",
- "netEnergyUsed": 80,
- "startTime": "2020-10-11T08:19:00",
- "endTime": "2020-10-11T08:19:00",
- "active": true,
- "startLatitude": 32.2431,
- "startLongitude": 115.9,
- "startLocation": "Network 1",
- "stopLatitude": 32.5619,
- "stopLongitude": 115.793,
- "stopLocation": "1600 Pennsylvania Avenue Northwest",
- "distance": 140.5,
- "averageSpeed": 10,
- "maxSpeed": 14.5,
- "startStateOfCharge": 22,
- "endStateOfCharge": 22,
- "energyIn": 50.5,
- "energyOut": 100.5
}
], - "total": 1
}
A vehicle telematics data.
start | string <date-time> (start_datetime) Default: "Current time" Example: start=2020-10-11T08:19:00 Date-time interval limit: 7 days |
end | string <date-time> (end_datetime) Default: "Current time + 24 hours" Example: end=2020-10-11T09:19:00 Date-time interval limit: 7 days |
limit | integer [ 1 .. 1000 ] Default: 100 The numbers of items to return. |
offset | integer [ 0 .. 2147483647 ] The number of items to skip in the result list. |
sort | string Enum: "activity:desc" "activity:asc" "distance:desc" "distance:asc" "duration:desc" "duration:asc" "energy:desc" "energy:asc" "endTime:desc" "endTime:asc" "startTime:desc" "startTime:asc" Sort by specific values. |
{- "status": "success",
- "data": [
- {
- "activity": "Trip",
- "distance": 140.5,
- "duration": "02:00:00",
- "endTime": "2020-10-11T08:19:00",
- "endStateOfCharge": 22,
- "energy": 80,
- "id": "98ai5c54-f717-43f6-ba0a-eab4cae72ciz",
- "startTime": "2020-10-11T08:19:00",
- "startLocation": "Network 1",
- "startStateOfCharge": 22
}
], - "total": 1
}
This is an endpoint used to create vehicles in bulk through a CSV file. The file must be a maximum of 600 kilobytes and have the following format Required—Vehicle Name,License Plate,VIN,IdTag(s),Vehicle Group,Target SoC,Make,Model,Year,Battery Capacity,Max Power,Departure Time
.
vehicle_in | string <binary> |
{- "status": "success",
- "data": {
- "msg": "Vehicles added successfully"
}, - "total": 50
}
Returns list of public chargers with their status, location, price, and connector information.
{- "data": [
- {
- "CPOName": "Ampcontrol",
- "website": "ampcontrol.io",
- "vendor": "Tesla",
- "countryCode": "US",
- "city": "Anytown",
- "location": "Tesla Supercharger, 123 Main St, Anytown, USA",
- "latitude": 37.7749,
- "longitude": -122.4194,
- "connectors": [
- {
- "plugType": "J1772",
- "currentType": "AC",
- "maxCapacity": 60,
- "ocppStatus": "Available",
- "ocpiStatus": "AVAILABLE",
- "evseId": "TSL0001-3"
}
], - "guestRates": [
- {
- "name": "string",
- "currency": "string",
- "taxRate": null,
- "defaultEnergyRate": null,
- "defaultBaseFee": null,
- "defaultIdleTimeRate": null,
- "defaultChargingTimeRate": null,
- "timeRules": [
- {
- "name": "string",
- "daysAndTimes": {
- "monday": [
- {
- "start": null,
- "end": null
}
], - "tuesday": [
- {
- "start": null,
- "end": null
}
], - "wednesday": [
- {
- "start": null,
- "end": null
}
], - "thursday": [
- {
- "start": null,
- "end": null
}
], - "friday": [
- {
- "start": null,
- "end": null
}
], - "saturday": [
- {
- "start": null,
- "end": null
}
], - "sunday": [
- {
- "start": null,
- "end": null
}
]
}, - "applyAllYear": null,
- "dateRanges": [
- {
- "start": "string",
- "end": "string"
}
], - "energyRate": null,
- "baseFee": null,
- "idleTimeRate": null,
- "chargingTimeRate": null
}
]
}
]
}
]
}