wdk.aiot.devicetype.applist.get (获取设备相关联应用)

获取设备相关联应用

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
device_type String 必须 aaa 设备类型
device_id String 必须 aaa 设备ID
ou_code String 可选 aa 机构code
old_version_json String 可选 aaa 数据
attributes_json String 可选 aaa 数据
tenant_id Number 可选 10900 租户

响应参数

名称 类型 示例值 描述
result_list NAppVersionMtopDo [] [] 结果
  • └ settings
  • String
  • aa
  • 配置信息
  • └ app_name
  • String
  • appname
  • app名称
  • └ download_url
  • String
  • http://a.co/a
  • 下载链接
  • └ sign
  • String
  • aadfasd
  • 包签名
  • └ gmt_create
  • Date
  • 2020-12-12
  • 创建时间
  • └ version_name
  • String
  • aaa
  • 版本名
  • └ version_code
  • Number
  • 111
  • 版本号
  • └ auto_install
  • Boolean
  • true
  • 是否自动安装
  • └ update_desc
  • String
  • a
  • 更新信息
  • └ size
  • Number
  • 22
  • 包大小
  • └ install_type
  • Number
  • 1
  • 安装类型
  • └ app_id
  • Number
  • 1
  • appId
  • └ package_name
  • String
  • a'a
  • 包名
  • └ icon_url
  • String
  • http://aaa.jpg
  • icon链接
  • └ id
  • Number
  • 1000
  • id
  • └ md5
  • String
  • aaa
  • 包md5

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
WdkAiotDevicetypeApplistGetRequest req = new WdkAiotDevicetypeApplistGetRequest();
req.setDeviceType("aaa");
req.setDeviceId("aaa");
req.setOuCode("aa");
req.setOldVersionJson("aaa");
req.setAttributesJson("aaa");
req.setTenantId(10900L);
WdkAiotDevicetypeApplistGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<wdk_aiot_devicetype_applist_get_response>
    <result_list>
        <n_app_version_mtop_do>
            <settings>aa</settings>
            <app_name>appname</app_name>
            <download_url>http://a.co/a</download_url>
            <sign>aadfasd</sign>
            <gmt_create>2020-12-12</gmt_create>
            <version_name>aaa</version_name>
            <version_code>111</version_code>
            <auto_install>true</auto_install>
            <update_desc>a</update_desc>
            <size>22</size>
            <install_type>1</install_type>
            <app_id>1</app_id>
            <package_name>a&apos;a</package_name>
            <icon_url>http://aaa.jpg</icon_url>
            <id>1000</id>
            <md5>aaa</md5>
        </n_app_version_mtop_do>
    </result_list>
</wdk_aiot_devicetype_applist_get_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

返回
顶部