Query Number of Charging Ports

Last Updated on : 2023-06-21 07:13:02download

Query the total number of charging ports of the specified product based on the product ID.

API address

GET: /v1.0/iot-02/charging-pile/product/port-count

Request parameter

Parameter name Type IN Required Description
product_id String false The product ID.

Return parameter

Parameter name Type Description
result Integer The total number of ports.

Request example

GET: /v1.0/iot-02/charging-pile/product/port-count
{ "productId": "7tHJ0zAwASvj****" }

Return example

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

Error code

For more information, see error code.