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

taobao.lark.pos.coupon.querycouponinfodetail (pos查询券基本信息以及操作字段)

pos查询券基本信息以及操作字段

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
lease_code String 必须 schjyzzh 租户编码
coupon_code String 必须 D94KGT9N7 券码

响应参数

名称 类型 示例值 描述
data Json "data": { "base_price": 5000, "coupon_code": "H84KPXQ7", "coupon_name": "测试影票加卖品", "end_time": "2023-06-27 23:59:59", "issuer_name": "生产环境验证专用影院", "opera_cinema": "生产环境验证专用影院", "opera_time": "2023-05-10 10:34:14", "operator": "生产环境验证租户H5自有渠道", "product_type": 3, "product_type_name": "不限制", "state": 2, "state_name": "已核销", "template_type": 2, "template_type_name": "兑换券", "value": 5000 } pos基本信息查询

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
LarkPosCouponQuerycouponinfodetailRequest req = new LarkPosCouponQuerycouponinfodetailRequest();
req.setLeaseCode("schjyzzh");
req.setCouponCode("D94KGT9N7");
LarkPosCouponQuerycouponinfodetailResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<lark_pos_coupon_querycouponinfodetail_response>
    <data>&quot;data&quot;: {         &quot;base_price&quot;: 5000,         &quot;coupon_code&quot;: &quot;H84KPXQ7&quot;,         &quot;coupon_name&quot;: &quot;测试影票加卖品&quot;,         &quot;end_time&quot;: &quot;2023-06-27 23:59:59&quot;,         &quot;issuer_name&quot;: &quot;生产环境验证专用影院&quot;,         &quot;opera_cinema&quot;: &quot;生产环境验证专用影院&quot;,         &quot;opera_time&quot;: &quot;2023-05-10 10:34:14&quot;,         &quot;operator&quot;: &quot;生产环境验证租户H5自有渠道&quot;,         &quot;product_type&quot;: 3,         &quot;product_type_name&quot;: &quot;不限制&quot;,         &quot;state&quot;: 2,         &quot;state_name&quot;: &quot;已核销&quot;,         &quot;template_type&quot;: 2,         &quot;template_type_name&quot;: &quot;兑换券&quot;,         &quot;value&quot;: 5000       }</data>
</lark_pos_coupon_querycouponinfodetail_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

返回
顶部