Last Updated on : 2023-06-21 07:13:01download
A charging station starts charging, with a timer included. After one user enters the charging duration, charging will automatically stop when the specified duration expires.
POST: /v1.0/iot-02/charging-pile/start-charge
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
req | ChargingPileStartChargeReq | 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. It is customized by the merchant. | |
seconds | Integer | false | The charging duration. Unit: seconds. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The response result. Valid values:
|
POST: /v1.0/iot-02/charging-pile/start-charge
{
"seconds": 1000,
"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