Save Configurations of Charging Port

Last Updated on : 2023-06-21 07:12:57download

Save the configuration information about charging ports. Currently, only the number of charging ports can be saved.

API address

POST: /v1.0/iot-02/charging-pile/product/port-config

Request parameter

Parameter name Type IN Required Description
product_id String false The product ID of the device.
port_count Integer false The total number of charging ports of the product.

Return parameter

Parameter name Type Description
result Boolean The returned result.Valid values:
  • true: Started successfully.
  • false: Failed to start it.

Request example

POST: /v1.0/iot-02/charging-pile/product/port-config
{ "product_id": "7tHJ0zAwASvj****", "port_count": "8" }

Return example

{ "result": true, "t": 1630056214213, "success": true }

Error code

For more information, see error code.