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

yunos.charge.map.supplier.query (查询设备提供商信息)

查询设备提供商信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
request_param String 必须 {"brandCode":"MG","oemCode":"SMPV"} 地图查询运营商信息传递的车厂编码

响应参数

名称 类型 示例值 描述
result String "[{\"SupplierID\":\"MA1FP0228\",\"SupplierName\":\"安悦\",\"SupplierShortName\":\"安悦\"},{\"SupplierID\":\"574024597\",\"SupplierName\":\"量势\",\"SupplierShortName\":\"量势\"},{\"SupplierID\":\"395815801\",\"SupplierName\":\"特来电\",\"SupplierShortName\":\"特来电\"}]" 设备商基础信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
YunosChargeMapSupplierQueryRequest req = new YunosChargeMapSupplierQueryRequest();
req.setRequestParam("{\"brandCode\":\"MG\",\"oemCode\":\"SMPV\"}");
YunosChargeMapSupplierQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<yunos_charge_map_supplier_query_response>
    <result>&quot;[{\&quot;SupplierID\&quot;:\&quot;MA1FP0228\&quot;,\&quot;SupplierName\&quot;:\&quot;安悦\&quot;,\&quot;SupplierShortName\&quot;:\&quot;安悦\&quot;},{\&quot;SupplierID\&quot;:\&quot;574024597\&quot;,\&quot;SupplierName\&quot;:\&quot;量势\&quot;,\&quot;SupplierShortName\&quot;:\&quot;量势\&quot;},{\&quot;SupplierID\&quot;:\&quot;395815801\&quot;,\&quot;SupplierName\&quot;:\&quot;特来电\&quot;,\&quot;SupplierShortName\&quot;:\&quot;特来电\&quot;}]&quot;</result>
</yunos_charge_map_supplier_query_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

返回
顶部