文档中心 > API类目 > 阿里影业云智API

taobao.lark.pos.marketing.getoffsetrule (查询会员积分抵值规则)

pos机查询相关会员的积分抵值的规则

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
lease_code String 必须 ykse 租户编号
channel_code String 必须 POS_7777 渠道编号
cinema_link_id String 必须 7777 影院内码
card_no String 可选 DLL10001 卡号
account_id String 可选 100023 会员id

响应参数

名称 类型 示例值 描述
data Json {"success":true,"resultCode":"SUCCESS","resultMsg":"操作成功","data":{"buyTypeList":["TICKET","GOODS"],"offsetUnit":123,"offsetAmount":1,"offsetLimit":300,"id":14003,"cardCompatibleFlag":"N"}} 积分规则结果,返回结果,不涉及敏感数据

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
LarkPosMarketingGetoffsetruleRequest req = new LarkPosMarketingGetoffsetruleRequest();
req.setLeaseCode("ykse");
req.setChannelCode("POS_7777");
req.setCinemaLinkId("7777");
req.setCardNo("DLL10001");
req.setAccountId("100023");
LarkPosMarketingGetoffsetruleResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<lark_pos_marketing_getoffsetrule_response>
    <data>{&quot;success&quot;:true,&quot;resultCode&quot;:&quot;SUCCESS&quot;,&quot;resultMsg&quot;:&quot;操作成功&quot;,&quot;data&quot;:{&quot;buyTypeList&quot;:[&quot;TICKET&quot;,&quot;GOODS&quot;],&quot;offsetUnit&quot;:123,&quot;offsetAmount&quot;:1,&quot;offsetLimit&quot;:300,&quot;id&quot;:14003,&quot;cardCompatibleFlag&quot;:&quot;N&quot;}}</data>
</lark_pos_marketing_getoffsetrule_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部