全网运费险开放推荐接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
ins_user_qwyfx_recommend_info_request | InsUserQwyfxRecommendInfoRequest | 可选 | 推荐请求信息 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
qwyfx_success | Boolean | true | 是否调用成功,true是成功 |
qwyfx_error_code | String | -1 | 错误码 |
model | InsUserQwyfxRecommendInfoResponse | 返回推荐数据 | |
|
|||
error_msg | String | true | 是否成功 |
is_success | Boolean | -1 | 错误信息 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlipayBaoxianQwyfxProductRecommendRequest req = new AlipayBaoxianQwyfxProductRecommendRequest(); AlipayBaoxianQwyfxProductRecommendRequest.InsUserQwyfxRecommendInfoRequest obj1 = new AlipayBaoxianQwyfxProductRecommendRequest.InsUserQwyfxRecommendInfoRequest(); obj1.setProdNo( "21142" ); obj1.setSaleOutNo( "2114105" ); obj1.setBizCode( "wyg_guide" ); obj1.setSpNo( "21141" ); obj1.setEntrance( "cainiao" ); obj1.setUserId(3866001974L); obj1.setAlipayUserId( "2088302763034833" ); obj1.setUserType( "TAOBAO" ); obj1.setMarketingSceneCode( "qwyfx_cainiao_promotion" ); req.setInsUserQwyfxRecommendInfoRequest(obj1); AlipayBaoxianQwyfxProductRecommendResponse 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | < alipay_baoxian_qwyfx_product_recommend_response > < qwyfx_success >true</ qwyfx_success > < qwyfx_error_code >-1</ qwyfx_error_code > < model > < ins_rights_list > < ins_rights > < unit >元</ unit > < name >运费减首重</ name > < count >1</ count > < type >YFX_WYG_DISCOUNT</ type > < desc >运费减首重</ desc > </ ins_rights > </ ins_rights_list > < sale_out_no >2114105</ sale_out_no > < ins_quote_result > < discount_list > < discount_d_t_o > < discount_amount >500</ discount_amount > < discount_type >抵扣</ discount_type > < discount_rate >0.1</ discount_rate > < coupon_id >12322</ coupon_id > < coupon_type >xx</ coupon_type > < actual_coupon_value >12</ actual_coupon_value > < biz_data >{}</ biz_data > </ discount_d_t_o > </ discount_list > < quote_premium >990</ quote_premium > < origin_price >990</ origin_price > < discount_cash > < amount >0</ amount > < cent_factor >100</ cent_factor > < cent >0</ cent > < display_unit >元</ display_unit > < currency_code >CNY</ currency_code > </ discount_cash > < quote_id >20220920000831010001083301183519</ quote_id > < sum_insured >202200</ sum_insured > < extend_map >{}</ extend_map > < quote_amount > < amount >9.9</ amount > < cent_factor >100</ cent_factor > < cent >990</ cent > < display_unit >元</ display_unit > < currency_code >CNY</ currency_code > </ quote_amount > < discount_id >123223</ discount_id > < show_premium > < amount >9.9</ amount > < cent_factor >100</ cent_factor > < cent >990</ cent > < display_unit >元</ display_unit > < currency_code >CNY</ currency_code > </ show_premium > </ ins_quote_result > < csu_name >入门版</ csu_name > < sp_no >21141</ sp_no > < product_no >21142</ product_no > < product_name >全网运费险</ product_name > </ model > < error_msg >true</ error_msg > < is_success >-1</ is_success > </ alipay_baoxian_qwyfx_product_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 > |
错误码 | 错误描述 | 解决方案 |
---|