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

yunos.charge.lock.down (新能源互联互通-降地锁)

新能源互联互通-降地锁

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
token String 必须 1234 token
request_body String 必须 请求体 {"Data":{"ConnectorID":"MA1FP022873540","LicensePlate":"","QRCode":"hlht://44030400200800201.678570306/100258651","StartChargeSeq":"333333333333","sig":"1233434","UserID":"23dslfdsfd"},"OperatorID":"MA2H10Y40","TimeStamp":"20220706165046"}

响应参数

名称 类型 示例值 描述
result String {"Data":{"ConnectorID":"MA1FP022873540","LicensePlate":"","QRCode":"hlht://44030400200800201.678570306/100258651","StartChargeSeq":"333333333333","sig":"1233434","UserID":"23dslfdsfd"},"OperatorID":"MA2H10Y40","TimeStamp":"20220706165046"} 返回结果

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
YunosChargeLockDownRequest req = new YunosChargeLockDownRequest();
req.setToken("1234");
req.setRequestBody("请求体");
YunosChargeLockDownResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<yunos_charge_lock_down_response>
    <result>{&quot;Data&quot;:{&quot;ConnectorID&quot;:&quot;MA1FP022873540&quot;,&quot;LicensePlate&quot;:&quot;&quot;,&quot;QRCode&quot;:&quot;hlht://44030400200800201.678570306/100258651&quot;,&quot;StartChargeSeq&quot;:&quot;333333333333&quot;,&quot;sig&quot;:&quot;1233434&quot;,&quot;UserID&quot;:&quot;23dslfdsfd&quot;},&quot;OperatorID&quot;:&quot;MA2H10Y40&quot;,&quot;TimeStamp&quot;:&quot;20220706165046&quot;}</result>
</yunos_charge_lock_down_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

返回
顶部