Last Updated on : 2023-06-21 07:12:54download
A charging station proactively stops charging. The API of starting charging includes a timer. This API can be requested to proactively stop charging when the charging service is started but the end time is not reached.
POST: /v1.0/iot-02/charging-pile/initiative/end-charge
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
req | ChargingPileEndChargeReq | false | The input parameters. |
Description of req
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
port | String | false | The charging port number. | |
device_id | String | false | The device ID. | |
serial_number | String | false | The unique transaction serial number of the merchant system, used to start charging. It is customized by the merchant. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The response result. Valid values:
|
POST: /v1.0/iot-02/charging-pile/initiative/end-charge
{
"serialNumber": "12d1b823a580****",
"port": "1",
"deviceId": "6052502784f3eb57****"
}
{
"result": true,
"t": 1630056214213,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback