action enode_get_statistics_charging { label: "Get User Charging Statistics" description: "Returns a normalized timeseries of statistics about power consumption and price for the User." provider: enode method: GET path: "/statistics/charging" encoding: json input: { type: "object" properties: { chargingLocationId: { type: "string" } endDate: { type: "string" format: "date" } resolution: { type: "string" enum: ["HOUR", "DAY", "WEEK", "MONTH", "YEAR"] } startDate: { type: "string" format: "date" } vehicleId: { type: "string" } } required: ["startDate"] additionalProperties: false } output: { type: "array" items: { type: "object" required: ["kw", "kwhSum", "price", "costSum", "date"] properties: { costSum: { type: "number" description: "Total cost in " } date: { type: "string" format: "date" description: "The start date of this sample within the timeseries" } kw: { type: "object" description: "Aggregate statistics for charge rate in kW" required: ["min", "max", "mean"] properties: { max: { type: "number" } mean: { type: "number" } min: { type: "number" } } } kwhSum: { type: "number" description: "Total power consumption in kWh" } price: { type: "object" description: "Aggregate statistics for power price ( per kWh)" required: ["min", "max", "mean"] properties: { max: { type: "number" } mean: { type: "number" } min: { type: "number" } } } } } } }