查询卡实例(优先使用卡实例ID查询,没有则用物理卡号查询)
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_query_card_open_req | QueryCardOpenReq | 可选 | 请求对象 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | CommonResult | 接口结果 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlscCrmCardQryRequest req = new AlibabaAlscCrmCardQryRequest(); AlibabaAlscCrmCardQryRequest.QueryCardOpenReq obj1 = new AlibabaAlscCrmCardQryRequest.QueryCardOpenReq(); obj1.setAccountRequired(true); obj1.setBrandId("452346356"); obj1.setCardId("43523452"); obj1.setOutBrandId("33959"); obj1.setOutShopId("648934878"); obj1.setPhysicalCardId("45325"); obj1.setPhysicalCardRequired(true); obj1.setShopId("44554"); req.setParamQueryCardOpenReq(obj1); AlibabaAlscCrmCardQryResponse rsp = client.execute(req); System.out.println(rsp.getBody());
<alibaba_alsc_crm_card_qry_response> <result> <biz_success></biz_success> <result> <accounts> <account_open_info> <account_id>4352345</account_id> <account_type></account_type> <balance>3242</balance> <create_by>XXX</create_by> <currency>RMB</currency> <deleted>false</deleted> <gift>4323</gift> <gmt_create>2019-01-01 11:11:11</gmt_create> <gmt_modified>2019-01-01 11:11:11</gmt_modified> <pre>32</pre> <real>20</real> <status></status> <total_gift>22</total_gift> <total_pre>22</total_pre> <total_real>444</total_real> <update_by>XX</update_by> <opt_plan_id>232</opt_plan_id> </account_open_info> </accounts> <active_operator_id>3452345</active_operator_id> <active_operator_name>XXX</active_operator_name> <active_shop_id>43534</active_shop_id> <active_time>2019-01-01 11:11:11</active_time> <buy>true</buy> <card_id>4534523</card_id> <card_template_id>2342512</card_template_id> <card_type>MEMBER</card_type> <create_by>XXX</create_by> <customer_id>34235</customer_id> <deleted>false</deleted> <expire_end>2019-01-01 11:11:11</expire_end> <expire_start>2019-01-01 11:11:11</expire_start> <gmt_create>2019-01-01 11:11:11</gmt_create> <gmt_modified>2019-01-01 11:11:11</gmt_modified> <open_operator_id>252345</open_operator_id> <open_operator_name>小王</open_operator_name> <open_shop_id>45622</open_shop_id> <open_shop_name>XXX小店</open_shop_name> <open_time>2019-01-01 11:11:11</open_time> <operator_id>564321</operator_id> <opt_plan_id>535421</opt_plan_id> <physical_cards> <physical_card_open_info> <bind_operator_id>45321</bind_operator_id> <bind_shop_id>346325</bind_shop_id> <bind_time>2019-01-01 11:11:11</bind_time> <card_id>35246315</card_id> <card_template_id>35242</card_template_id> <card_type>MEMBER</card_type> <create_by>XXX</create_by> <deleted>false</deleted> <gmt_create>2019-01-01 11:11:11</gmt_create> <gmt_modified>2019-01-01 11:11:11</gmt_modified> <operator_id>456352</operator_id> <physical_card_id>345234523</physical_card_id> <plan_id>345234</plan_id> <publish_id>43352345</publish_id> <status>WAIT_MAKE</status> <update_by>XXX</update_by> </physical_card_open_info> </physical_cards> <plan_id>3542451</plan_id> <status>SOLD</status> <update_by>XXX</update_by> </result> <result_code>200</result_code> <result_desc>成功</result_desc> <result_view>""</result_view> </result> </alibaba_alsc_crm_card_qry_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|