查询卡模板详情
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_query_card_template_open_req | QueryCardTemplateOpenReq | 可选 | 请求对象 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | CommonResult | 接口结果 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlscCrmCardQueryTemplateRequest req = new AlibabaAlscCrmCardQueryTemplateRequest(); AlibabaAlscCrmCardQueryTemplateRequest.QueryCardTemplateOpenReq obj1 = new AlibabaAlscCrmCardQueryTemplateRequest.QueryCardTemplateOpenReq(); obj1.setBrandId( "33959" ); obj1.setCardTemplateId( "1231413" ); obj1.setOutBrandId( "33959" ); obj1.setOutShopId( "4323434" ); obj1.setShopId( "22342317" ); obj1.setIncludeLogicalDelete( true ); obj1.setMaxUpdateTime(StringUtils.parseDateTime( "2019-01-01 11:11:11" )); obj1.setPhysicalCardId( "1234" ); req.setParamQueryCardTemplateOpenReq(obj1); AlibabaAlscCrmCardQueryTemplateResponse 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 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | < alibaba_alsc_crm_card_query_template_response > < result > < biz_success >true</ biz_success > < result > < card_template_id >374749</ card_template_id > < card_type >MEMBER</ card_type > < create_by >小李</ create_by > < deleted >false</ deleted > < expire_type >FIX</ expire_type > < expire_value >15</ expire_value > < ext_info > < empty ></ empty > </ ext_info > < gmt_create >2019-01-01 11:11:11</ gmt_create > < gmt_modified >2019-01-01 11:11:11</ gmt_modified > < menu_id >342342</ menu_id > < menu_limit_type >NO_LIMIT</ menu_limit_type > < menu_switch >false</ menu_switch > < name >会员卡模板1</ name > < open_gift_switch >false</ open_gift_switch > < opt_plan_id >3435345</ opt_plan_id > < phy_card_fee_amount >20</ phy_card_fee_amount > < phy_card_fee_back >false</ phy_card_fee_back > < phy_card_fee_switch >false</ phy_card_fee_switch > < pre_recharge_amount >5</ pre_recharge_amount > < recharge_clear >false</ recharge_clear > < recharge_rule_open_info > < card_type >1</ card_type > < create_by >小李</ create_by > < deduction_order >1</ deduction_order > < deleted >false</ deleted > < ext_info > < empty ></ empty > </ ext_info > < full_gift_switch >false</ full_gift_switch > < gift_type >1</ gift_type > < gmt_create >2019-01-01 11:11:11</ gmt_create > < gmt_modified >2019-01-01 11:11:11</ gmt_modified > < list_recharge_rule_detail_info_list > < recharge_rule_detail_open_info > < gift_point >10</ gift_point > < gift_value >20</ gift_value > < real_value >100</ real_value > < remark >备注信息</ remark > </ recharge_rule_detail_open_info > </ list_recharge_rule_detail_info_list > < pay_no_pwd_credit >200</ pay_no_pwd_credit > < pay_no_pwd_switch >1</ pay_no_pwd_switch > < rule_id >443234</ rule_id > < rule_name >满10赠2</ rule_name > < shop_id >543245</ shop_id > < update_by >小李子</ update_by > < out_shop_id >234</ out_shop_id > </ recharge_rule_open_info > < recharge_shop_ids > < string >111</ string > < string >222</ string > < string >333</ string > </ recharge_shop_ids > < recharge_switch >true</ recharge_switch > < sell_price >20</ sell_price > < sell_shop_group_id >23123</ sell_shop_group_id > < sell_shop_ids > < string >111</ string > < string >222</ string > < string >333</ string > </ sell_shop_ids > < startexpire_type >FIX</ startexpire_type > < status >SOLD</ status > < update_by >小张</ update_by > < use_limit_type >ACTIVED</ use_limit_type > < use_shop_ids > < string >111</ string > < string >222</ string > < string >333</ string > </ use_shop_ids > < vouchers > < open_gift_voucher_open_info > < num >5</ num > < voucher_id >123234</ voucher_id > </ open_gift_voucher_open_info > </ vouchers > < wx_card_ext > < general_bg_switch >true</ general_bg_switch > < paid_get_switch >true</ paid_get_switch > < wx_level_bgs > < wx_level_bg_open_info > < level_id >234234</ level_id > < level_name >钻石卡</ level_name > </ wx_level_bg_open_info > </ wx_level_bgs > </ wx_card_ext > < wx_card_switch >true</ wx_card_switch > < out_recharge_shop_ids > < string >111</ string > < string >222</ string > < string >333</ string > </ out_recharge_shop_ids > < out_use_shop_ids > < string >111</ string > < string >222</ string > < string >333</ string > </ out_use_shop_ids > < out_sell_shop_ids > < string >111</ string > < string >222</ string > < string >333</ string > </ out_sell_shop_ids > </ result > < result_code >200</ result_code > < result_desc >成功</ result_desc > < result_view >""</ result_view > </ result > </ alibaba_alsc_crm_card_query_template_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 > |
错误码 | 错误描述 | 解决方案 |
---|