获取方案列表
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
top_request | OpenPagingRequest | 必须 | 请求body | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | OpenPagingWrapResult | 返回数据 | |
|
|||
message_flag | Boolean | true | 是否成功 |
msg_info | String | 系统开小差了 | 错误码描述 |
msg_code | Number | 3 | 错误码 |
1 2 3 4 5 6 7 8 9 10 11 12 13 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaDecorationDesignInfoPageRequest req = new AlibabaDecorationDesignInfoPageRequest(); AlibabaDecorationDesignInfoPageRequest.OpenPagingRequest obj1 = new AlibabaDecorationDesignInfoPageRequest.OpenPagingRequest(); AlibabaDecorationDesignInfoPageRequest.GetUserDesignReq obj2 = new AlibabaDecorationDesignInfoPageRequest.GetUserDesignReq(); obj2.setDesignName( "甜瓜" ); obj2.setStyles( "" ); obj1.setParam(obj2); obj1.setAppUserId( "xxxxx" ); obj1.setPage(1L); obj1.setSize(10L); req.setTopRequest(obj1); AlibabaDecorationDesignInfoPageResponse 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 23 24 25 26 27 28 29 30 31 | < alibaba_decoration_design_info_page_response > < data > < list > < design_info_resp > < design_id >xxxxx</ design_id > < design_name >测试方案</ design_name > < style_code >country</ style_code > < style_name >田园</ style_name > < bathroom >1</ bathroom > < bedroom >2</ bedroom > < livingroom >1</ livingroom > < origin_apartment_id >xxxxx</ origin_apartment_id > < created_time >1550727583000</ created_time > < modified_time >1550727583000</ modified_time > < enterprise_name >测试企业</ enterprise_name > < employee_name >大苹果</ employee_name > < app_user_id >xxxx</ app_user_id > < area >132</ area > </ design_info_resp > </ list > < paging_data > < page >1</ page > < size >12</ size > < total >23</ total > </ paging_data > </ data > < message_flag >true</ message_flag > < msg_info >系统开小差了</ msg_info > < msg_code >3</ msg_code > </ alibaba_decoration_design_info_page_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 > |
错误码 | 错误描述 | 解决方案 |
---|