飞猪营销平台预判接口,用于判断支付宝用户是否可以参加活动领券
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param0 | FliggyPromotionPredictRequest | 可选 | 飞猪营销平台预判接口请求参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
exception | String | exception | 异常,本接口不需要 |
total_results | Number | totalResults | totalResults,本接口不需要 |
e_code | String | USER_TOTAL_PARTICIPATE_LIMIT_REACHED | USER_TOTAL_PARTICIPATE_LIMIT_REACHED |
has_next | Boolean | hasNext | hasNext,本接口不需要 |
results | Boolean [] | results结果对象,本接口不需要 | |
error_msg | String | 系统异常 | 错误消息 |
is_success | Boolean | true;false | 判断此参数,如果true表明业务处理成功,如果false表明业务处理失败,需要识别error_code |
1 2 3 4 5 6 7 8 9 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); FliggyTravelPromotionPredictRequest req = new FliggyTravelPromotionPredictRequest(); FliggyTravelPromotionPredictRequest.FliggyPromotionPredictRequest obj1 = new FliggyTravelPromotionPredictRequest.FliggyPromotionPredictRequest(); obj1.setChannel( "ubr5fu" ); obj1.setSubActId(1011L); obj1.setAlipayUserId( "1010101010" ); req.setParam0(obj1); FliggyTravelPromotionPredictResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 | < fliggy_travel_promotion_predict_response > < exception >exception</ exception > < total_results >totalResults</ total_results > < e_code >USER_TOTAL_PARTICIPATE_LIMIT_REACHED</ e_code > < has_next >hasNext</ has_next > < error_msg >系统异常</ error_msg > < is_success >true;false</ is_success > </ fliggy_travel_promotion_predict_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 > |
错误码 | 错误描述 | 解决方案 |
---|