oem设备白名单查询
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
query | OemDevDeviceQuery | 可选 | 查询请求 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | 接口返回model | |
|
1 2 3 4 5 6 7 8 9 10 11 12 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); YunosEbanmaMiniappOemopsDeviceWhiteQueryRequest req = new YunosEbanmaMiniappOemopsDeviceWhiteQueryRequest(); YunosEbanmaMiniappOemopsDeviceWhiteQueryRequest.OemDevDeviceQuery obj1 = new YunosEbanmaMiniappOemopsDeviceWhiteQueryRequest.OemDevDeviceQuery(); obj1.setEndGmtCreate(StringUtils.parseDateTime( "2020-01-01 00:00:00" )); obj1.setStartGmtCreate(StringUtils.parseDateTime( "2020-01-01 00:00:00" )); obj1.setChannelId(113L); obj1.setUuid( "test" ); obj1.setPageSize(10L); obj1.setPage(1L); req.setQuery(obj1); YunosEbanmaMiniappOemopsDeviceWhiteQueryResponse 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 | < yunos_ebanma_miniapp_oemops_device_white_query_response > < result > < msg >success</ msg > < code >0</ code > < success >true</ success > < value > < total_num >2</ total_num > < rows > < oem_dev_device > < gmt_modified >1621827342000</ gmt_modified > < id >5</ id > < gmt_create >1621827342000</ gmt_create > < type >0</ type > < uuid >oem_113_uuid_01</ uuid > < channel_id >113</ channel_id > </ oem_dev_device > </ rows > </ value > </ result > </ yunos_ebanma_miniapp_oemops_device_white_query_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 > |
错误码 | 错误描述 | 解决方案 |
---|