Last Updated on : 2023-06-21 07:12:59download
Query the usage status of the charging ports, including port charging status, fault status, and remaining available time.
GET: /v1.0/iot-02/charging-pile/device/port-status
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | false | The device ID. |
Parameter name | Type | Description |
---|---|---|
result | List | The status of charging ports. |
Description of result
Parameter name | Type | Description |
---|---|---|
port | String | The charging port number. |
port_switch | Integer | The charging status. Valid values:
|
fault_status | Integer | The fault status of charging ports.Valid values:
|
charging_time | Integer | The charging time elapsed. Unit: seconds. |
remain_charge_time | Integer | The remaining charging time. Unit: seconds. |
GET: /v1.0/iot-02/charging-pile/device/port-status
{
"device_id": "6052502784f3eb57****"
}
{
"result": [
{
"port_switch": 1,
"charging_time": 1000,
"fault_status": 1,
"port": "10",
"remain_charge_time": 500
}
],
"t": 1630056214213,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback