Query Price Policy

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

Query the price policy set by a charging station.

API address

GET: /v1.0/iot-02/charging-pile/shop/goods

Request parameter

Parameter name Type IN Required Description
charging_pile_query_shop_goods_req ChargingPileQueryShopGoodsReq false The input parameters.

Description of charging_pile_query_shop_goods_req

Parameter name Type IN Required Description
shop_id String false The ID of a specified charging station.

Return parameter

Parameter name Type Description
result ChargingPileGoodsDTO The details of the price policy.

Description of result

Parameter name Type Description
shop_id String The ID of a specified charging station.
sku_id String The ID of a specified price policy.
goods_name String The name of a specified price policy.
limit_min_time Integer The minimum purchase time.
limit_max_time Integer The maximum purchase time.
price BigDecimal The price per unit time.
time_unit String The time unit. Valid values:
  • MINUTES: in minutes.
  • HOUR: in hours.

Request example

GET: /v1.0/iot-02/charging-pile/shop/goods
{ "shop_id": "12fb3dd7b680****" }

Return example

{ "result": { "goods_name": "Price Policy", "sku_id": "afzopk1x****", "shop_id": "12fb3dd7b680****", "limit_max_time": 24, "price": "1.00", "time_unit": "HOUR", "limit_min_time": 1 }, "t": 1630056214213, "success": true }

Error code

For more information, see error code.