Fixed Export Charging Stations
MODIFY
src/assets/server/rest/v1/docs/e-mobility-oas.json
src/assets/server/rest/v1/docs/e-mobility-oas.json
}
}
},
- "/api/chargingstations/action/export": {
+ "/api/chargingstations/export": {
"get": {
"security": [
{
"description": "Export Charging Stations as CSV file",
"parameters": [
{
- "$ref": "#/components/parameters/Issuer"
+ "$ref": "#/components/parameters/Search"
},
{
- "$ref": "#/components/parameters/Search"
+ "$ref": "#/components/parameters/ChargingStationID"
+ },
+ {
+ "$ref": "#/components/parameters/Issuer"
},
{
"$ref": "#/components/parameters/WithNoSiteArea"
{
"$ref": "#/components/parameters/ConnectorType"
},
- {
- "in": "query",
- "name": "ChargeBoxID",
- "description": "Charging Station ID",
- "schema": {
- "type": "string"
- }
- },
- {
- "$ref": "#/components/parameters/IncludeDeleted"
- },
- {
- "$ref": "#/components/parameters/ErrorType"
- },
{
"$ref": "#/components/parameters/LocLongitude"
},
"description": "Return Charging Station CSV file",
"content": {
"text/csv": {
- "example": "Name\tCreated On\tNumber of Connectors\tSite Area\tLatitude\tLongitude\tCharge Point S/N\tModel\tCharge Box S/N\tVendor\tFirmware\tVersion\tOCPP Version\tOCPP Protocol\tLast Seen\tLast Reboot\tMaximum Power (Watt)\tPower Limit\tUnit\nSAP-Caen-01\t06/19/2020 4:30 PM\t2\tCaen - Parking\t49.20079707133\t-0.390899731877199\t3N194850142F2S1B7551700017\tMONOBLOCK\tEV.2S22P44R3N16473070040026543210\tSchneider Electric\t3.3.0.12\t1.6\tjson\t12/20/2020 11:34 PM\t12/09/2020 7:00 PM\t44160\tA"
+ "example": "Name\tCreated On\tNumber of Connectors\tSite Area\tLatitude\tLongitude\tCharge Point S/N\tModel\tCharge Box S/N\tVendor\tFirmware\tVersion\tOCPP Version\tOCPP Protocol\tLast Seen\tLast Reboot\tMaximum Power (Watt)\tPower Limit\tUnit\n####\t####\t2\t####\t49\t-0.3\t####\tMONOBLOCK\t####\t####\t3\t1.6\tjson\t12/20/2020 11:54 PM\t12/09/2020 7:00 PM\t44160\tA"
}
}
},

MODIFY
src/types/Server.ts
src/types/Server.ts
@@ -424,7 +424,7 @@ export enum ServerRoute {
REST_CHARGING_STATIONS_POWER_LIMIT = 'chargingstations/power/limit',
REST_CHARGING_STATIONS_TRANSACTIONS = 'chargingstations/:id/transactions',
REST_CHARGING_STATIONS_IN_ERROR = 'chargingstations/status/in-error',
- REST_CHARGING_STATIONS_EXPORT = 'chargingstations/action/export',
+ REST_CHARGING_STATIONS_EXPORT = 'chargingstations/export',
REST_CHARGING_STATION_CHECK_SMART_CHARGING_CONNECTION = 'chargingstations/smartcharging/checkconnection',
REST_CHARGING_PROFILES = 'chargingstations/smartcharging/profiles',

Fixed Export Charging Stations