GET Charge/History?month={month}&year={year}&userID={userID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| month | integer |
Required |
|
| year | integer |
Required |
|
| userID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ChargeHistory| Name | Description | Type | Additional information |
|---|---|---|---|
| maxY | decimal number |
None. |
|
| kwh | decimal number |
None. |
|
| price | decimal number |
None. |
|
| process | Collection of ChargeListItem |
None. |
|
| bars | Collection of ChargeBarData |
None. |
Response Formats
application/json, text/json
Sample:
{
"maxY": 1.0,
"kwh": 2.0,
"price": 3.0,
"process": [
{
"process_id": 1,
"date": "2025-12-06T07:17:45.7538989+03:00",
"kwh": 3.0,
"price": 4.0,
"price_unit": "sample string 5",
"time": "sample string 6"
},
{
"process_id": 1,
"date": "2025-12-06T07:17:45.7538989+03:00",
"kwh": 3.0,
"price": 4.0,
"price_unit": "sample string 5",
"time": "sample string 6"
}
],
"bars": [
{
"index": 1,
"valueY": 2.0,
"price": 3.0
},
{
"index": 1,
"valueY": 2.0,
"price": 3.0
}
]
}
application/xml, text/xml
Sample:
<ChargeHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChargeCloudAPI.Models">
<bars>
<ChargeBarData>
<index>1</index>
<price>3</price>
<valueY>2</valueY>
</ChargeBarData>
<ChargeBarData>
<index>1</index>
<price>3</price>
<valueY>2</valueY>
</ChargeBarData>
</bars>
<kwh>2</kwh>
<maxY>1</maxY>
<price>3</price>
<process>
<ChargeListItem>
<date>2025-12-06T07:17:45.7538989+03:00</date>
<kwh>3</kwh>
<price>4</price>
<price_unit>sample string 5</price_unit>
<process_id>1</process_id>
<time>sample string 6</time>
</ChargeListItem>
<ChargeListItem>
<date>2025-12-06T07:17:45.7538989+03:00</date>
<kwh>3</kwh>
<price>4</price>
<price_unit>sample string 5</price_unit>
<process_id>1</process_id>
<time>sample string 6</time>
</ChargeListItem>
</process>
</ChargeHistory>