文档中心 > API类目 > 斑马新能源充电互联互通接口Api

yunos.charge.map.station (斑马充电站点详情接口)

斑马充电站点详情接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
request_param String 必须 { "brandCode": "MG", "lastQueryTime": "", "oemCode": "SMPV", "pageNo": 1, "pageSize": 10, "spOperatorIds": ["MA1GUT604","395815801"] } 运营商下的站点基础信息查询

响应参数

名称 类型 示例值 描述
result String { "ItemSize": 6, "PageCount": 1, "PageNo": 1, "StationInfos": [ ] } 站点信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
YunosChargeMapStationRequest req = new YunosChargeMapStationRequest();
req.setRequestParam("{   \"brandCode\": \"MG\",   \"lastQueryTime\": \"\",   \"oemCode\": \"SMPV\",   \"pageNo\": 1,   \"pageSize\": 10,   \"spOperatorIds\": [\"MA1GUT604\",\"395815801\"] }");
YunosChargeMapStationResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<yunos_charge_map_station_response>
    <result>{     &quot;ItemSize&quot;: 6,     &quot;PageCount&quot;: 1,     &quot;PageNo&quot;: 1,     &quot;StationInfos&quot;: [            ] }</result>
</yunos_charge_map_station_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部