Get Operator EV Meter Dashboard
curl --request GET \
--url https://qa-lynx.nayax.com/operational/v1/actors/{ActorID}/evDashboard \
--header 'Authorization: Bearer <token>'import requests
url = "https://qa-lynx.nayax.com/operational/v1/actors/{ActorID}/evDashboard"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://qa-lynx.nayax.com/operational/v1/actors/{ActorID}/evDashboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://qa-lynx.nayax.com/operational/v1/actors/{ActorID}/evDashboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://qa-lynx.nayax.com/operational/v1/actors/{ActorID}/evDashboard"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://qa-lynx.nayax.com/operational/v1/actors/{ActorID}/evDashboard")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/actors/{ActorID}/evDashboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"OperatorDashboard": {
"TotalOperatorMachines": 123,
"TotalCommunicatingMachines": 123,
"TotalActiveMachines": 123,
"TotalSilentMachines": 123
},
"MachineDashboard": {
"UnitOfMeasure": "<string>",
"UnitOfMeasureSymbol": "<string>",
"NumberOfChargingSessions": 123,
"NumberOfTransactionsForTimeInterval": 123,
"SalesAmountForTimeInterval": 123,
"TotalChargingSessionsDuration": 123,
"TotalEnergyConsumption": 123
},
"TimePeriod": 123
}Actors
Get Operator EV Meter Dashboard
Retrieves the EV meter dashboard for a specific operator, identified by ActorID. Optional query parameters allow filtering by date range, machine ID, time period, and machine number.
Get Operator EV Meter Dashboard
curl --request GET \
--url https://qa-lynx.nayax.com/operational/v1/actors/{ActorID}/evDashboard \
--header 'Authorization: Bearer <token>'import requests
url = "https://qa-lynx.nayax.com/operational/v1/actors/{ActorID}/evDashboard"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://qa-lynx.nayax.com/operational/v1/actors/{ActorID}/evDashboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://qa-lynx.nayax.com/operational/v1/actors/{ActorID}/evDashboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://qa-lynx.nayax.com/operational/v1/actors/{ActorID}/evDashboard"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://qa-lynx.nayax.com/operational/v1/actors/{ActorID}/evDashboard")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/actors/{ActorID}/evDashboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"OperatorDashboard": {
"TotalOperatorMachines": 123,
"TotalCommunicatingMachines": 123,
"TotalActiveMachines": 123,
"TotalSilentMachines": 123
},
"MachineDashboard": {
"UnitOfMeasure": "<string>",
"UnitOfMeasureSymbol": "<string>",
"NumberOfChargingSessions": 123,
"NumberOfTransactionsForTimeInterval": 123,
"SalesAmountForTimeInterval": 123,
"TotalChargingSessionsDuration": 123,
"TotalEnergyConsumption": 123
},
"TimePeriod": 123
}Authorizations
Path Parameters
Query Parameters
Response
200 - application/json
The EV meter dashboard data was retrieved successfully.
Represents the EV meter dashboard data for an operator, including aggregated data at both the operator and machine levels.
Was this page helpful?