文档中心 > API类目 > 天猫校园共享前端类目

tmall.xiaoyuan.share.isv.campus.device.stop (isv洗护设备停止)

isv洗护设备停止

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
isv_device_stop_req ISVDeviceStopReq 必须 设备复位请求体
  • └ imei
  • String
  • 必须
  • 0
  • 设备imei
  • └ isv
  • String
  • 必须
  • 0
  • 外部身份ISV

响应参数

名称 类型 示例值 描述
result Result result
  • └ msg
  • String
  • -
  • msg
  • └ code
  • String
  • 0
  • code
  • data
  • ISVDeviceBootResp
  • data
  • └ msg_id
  • String
  • -
  • 指令id
  • └ success
  • Boolean
  • true
  • success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallXiaoyuanShareIsvCampusDeviceStopRequest req = new TmallXiaoyuanShareIsvCampusDeviceStopRequest();
TmallXiaoyuanShareIsvCampusDeviceStopRequest.ISVDeviceStopReq obj1 = new TmallXiaoyuanShareIsvCampusDeviceStopRequest.ISVDeviceStopReq();
obj1.setImei("0");
obj1.setIsv("0");
req.setIsvDeviceStopReq(obj1);
TmallXiaoyuanShareIsvCampusDeviceStopResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_xiaoyuan_share_isv_campus_device_stop_response>
    <result>
        <msg>-</msg>
        <code>0</code>
        <data>
            <msg_id>-</msg_id>
        </data>
        <success>true</success>
    </result>
</tmall_xiaoyuan_share_isv_campus_device_stop_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

返回
顶部