话费选品能力外放
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
phone_distribution_recommend_req | PhoneDistributionRecommendReq | 必须 | 选品请求 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
biz_code | String | 0000 | 响应码 |
data | PhoneRecommendRes | 返回数据 | |
|
|||
is_success | Boolean | true | 响应状态 |
message | String | SUCCESS | 响应信息 |
1 2 3 4 5 6 7 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); PhoneItemExternalRecommendRequest req = new PhoneItemExternalRecommendRequest(); PhoneItemExternalRecommendRequest.PhoneDistributionRecommendReq obj1 = new PhoneItemExternalRecommendRequest.PhoneDistributionRecommendReq(); obj1.setAccount( "133xxxxxxxx" ); req.setPhoneDistributionRecommendReq(obj1); PhoneItemExternalRecommendResponse 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 | < phone_item_external_recommend_response > < biz_code >0000</ biz_code > < data > < list > < phone_distribution_phone_item_v_o > < item_id >y/evrpFi6WTPtlALuW7J5Q==</ item_id > < face >50</ face > < price >50</ price > </ phone_distribution_phone_item_v_o > </ list > < cat_info > < show_cat_name >辽宁</ show_cat_name > < area_name >辽宁移动</ area_name > < city >阜新</ city > < cat_name >中国移动</ cat_name > </ cat_info > < notice >null</ notice > </ data > < is_success >true</ is_success > < message >SUCCESS</ message > </ phone_item_external_recommend_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 > |
错误码 | 错误描述 | 解决方案 |
---|