Static
Accessing historical data for vehicles and incidents can be accessed via our HTTP endpoint:
https://sdk.viriciti.com
All information that is sent will be in JSON format, and an x-api-key
header needs to be provided with every request. These APIs will provide information available for the specified x-api-key
.
Vehicle ACL¶
GET https://sdk.viriciti.com/api/v1/my/assets
This ACL is also valid for all request throughout the vehicle domain of ViriCiti SDK. Example result as below:
[
{
"_id": "5718bac660e4bfe39c1a288f",
"name": "Vehicle #1", // [vehicle name]
"vid": "vehicle_01", // [vehicle identifier]
"fleets": [
{
"_id": "59b1293246cb6ddd01d67773",
"name": "Fleet #1"
},
{
"_id": "59b1293246cb6ddd01d67775",
"name": "Fleet #2"
}
]
},
{
"_id": "5718bad660e4bfe39c1a2885",
"name": "Vehicle #2",
"vid": "vehicle_02",
"fleets": [
{
"_id": "59b1293246cb6ddd01d67779",
"name": "Fleet #3"
}
]
}
]
Charging Stations¶
GET https://sdk.viriciti.com/api/v1/my/chargestations
This ACL is also valid for all requests throughout the Charging Stations domain of ViriCiti SDK. Results are representation of the current status of chargers and charger groups. Example result as below:
[
{
"latitude": 52.394856,
"longitude": 4.8462483,
"name": "Charging Station 1",
"connectors": [
{
"position": 1,
"status": "Charging",
"type": "pantograph",
"capacity": 250
},
{
"position": 2,
"status": "Charging",
"type": "plug",
"capacity": 250
}
],
"identity": "vc_350kw_1",
"protocol": "ocpp1.6", // Current supported OCPP protocol version on the charging station
"model": "VC-350KW", // Model of charging station
"vendor": "VC", // Vendor of charging station (OEM)
"group": {
"title": "Charger group A", // Group Title, only available if part of a charging group
"id": "charger_group_a" // Unique ID of a charger group, only if part of charging group
}
},
{
"latitude": 52.394856,
"longitude": 4.8462483,
"name": "Charging Station 2",
"connectors": [
{
"position": 1,
"status": "Charging",
"type": "inductive",
"capacity": 250
}
],
"identity": "vc_350kw_2",
"protocol": "ocpp1.6",
"model": "VC-350KW",
"vendor": "VC"
},
...
]