POST ChargeProcess/Update
Request Information
URI Parameters
None.
Body Parameters
ChargeProcessData| Name | Description | Type | Additional information |
|---|---|---|---|
| process_id | integer |
None. |
|
| current_percent | decimal number |
None. |
|
| average_kwh | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"process_id": 1,
"current_percent": 2.0,
"average_kwh": 3.0
}
application/xml, text/xml
Sample:
<ChargeProcessData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChargeCloudAPI.Models"> <average_kwh>3</average_kwh> <current_percent>2</current_percent> <process_id>1</process_id> </ChargeProcessData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| ResponseCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"ResponseCode": "sample string 2"
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChargeCloudAPI.Models"> <ResponseCode>sample string 2</ResponseCode> <Success>true</Success> </Response>