感谢您的反馈!
搜索卡实例列表(支持号段查询)
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_search_card_open_req | SearchCardOpenReq | 可选 | 请求对象 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | CommonPageResult | 分页返回模型 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlscCrmCardSearchcardRequest req = new AlibabaAlscCrmCardSearchcardRequest(); AlibabaAlscCrmCardSearchcardRequest.SearchCardOpenReq obj1 = new AlibabaAlscCrmCardSearchcardRequest.SearchCardOpenReq(); obj1.setBrandId("33959"); obj1.setCardTemplateIds("111,222,333"); obj1.setCardType("MEMBER"); obj1.setNeedCount(true); obj1.setNo("4352124"); obj1.setOpenCardShopIds("111,222,333"); obj1.setOpenTimeEnd("2019-11-11"); obj1.setOpenTimeStart("2019-11-11"); obj1.setOutBrandId("33959"); obj1.setOutShopId("123424"); obj1.setPageNo(1L); obj1.setPageSize(20L); obj1.setShopId("324532"); obj1.setStatuses("SOLD,ACTIVED,STOP"); req.setParamSearchCardOpenReq(obj1); AlibabaAlscCrmCardSearchcardResponse rsp = client.execute(req); System.out.println(rsp.getBody());
<alibaba_alsc_crm_card_searchcard_response> <result> <biz_success>true</biz_success> <current_page>123</current_page> <has_next_page>true</has_next_page> <page_size>123</page_size> <result_list> <card_open_info> <accounts> <account_open_info> <account_id>1232433</account_id> <account_type></account_type> <balance>22</balance> <create_by>小李</create_by> <currency>RMB</currency> <deleted>false</deleted> <ext_info> <empty></empty> </ext_info> <gift>20</gift> <gmt_create>2019-01-01 11:11:11</gmt_create> <gmt_modified>2019-01-01 11:11:11</gmt_modified> <pre>20</pre> <real>100</real> <status></status> <total_gift>200</total_gift> <total_pre>20</total_pre> <total_real>200</total_real> <update_by>小王</update_by> </account_open_info> </accounts> <active_operator_id>435422134</active_operator_id> <active_operator_name>小李</active_operator_name> <active_shop_id>3243432</active_shop_id> <active_time>2019-01-01 11:11:11</active_time> <buy>true</buy> <card_id>32456432</card_id> <card_template_id>324532</card_template_id> <card_type>MEMBER</card_type> <create_by>小刘</create_by> <customer_id>54363231</customer_id> <deleted>false</deleted> <expire_end></expire_end> <expire_start></expire_start> <ext_info> <empty></empty> </ext_info> <gmt_create></gmt_create> <gmt_modified></gmt_modified> <open_operator_id>23452134</open_operator_id> <open_operator_name>小李子</open_operator_name> <open_shop_id>32453</open_shop_id> <open_shop_name>XXX门店</open_shop_name> <open_time>2019-01-01 11:11:11</open_time> <operator_id>342352</operator_id> <opt_plan_id>2342</opt_plan_id> <physical_cards> <physical_card_open_info> <bind_operator_id>43532</bind_operator_id> <bind_shop_id>3453234</bind_shop_id> <bind_time>2019-01-01 11:11:11</bind_time> <card_id>34321342</card_id> <card_template_id>234213</card_template_id> <card_type>MEMBER</card_type> <create_by>小刘</create_by> <deleted>false</deleted> <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> <operator_id>2345214</operator_id> <physical_card_id>324434232</physical_card_id> <plan_id>32435324</plan_id> <publish_id>43532</publish_id> <status>WAIT_MAKE</status> <update_by>小李子</update_by> </physical_card_open_info> </physical_cards> <plan_id>3213232</plan_id> <status>WAIT_MAKE</status> <update_by>XXX</update_by> </card_open_info> </result_list> <result_code>200</result_code> <result_desc>成功</result_desc> <result_view>""</result_view> <total_page>10</total_page> <total_size>123</total_size> </result> </alibaba_alsc_crm_card_searchcard_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|