获取设备相关联应用
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
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 [] | [] | 结果 |
|
1 2 3 4 5 6 7 8 9 10 | 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()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | < wdk_aiot_devicetype_applist_get_response > < result_list > < n_app_version_mtop_do > < settings >aa</ settings > < app_name >appname</ app_name > < 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'a</ package_name > < id >1000</ id > < md5 >aaa</ md5 > </ n_app_version_mtop_do > </ result_list > </ wdk_aiot_devicetype_applist_get_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|