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

taobao.lark.benefitcard.policy.getlist (获取联名卡政策)

获取联名卡政策

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
benefit_policy_query_mtop_d_t_o BenefitPolicyQueryMtopDto 必须 联名卡查询
  • └ approval_status
  • String
  • 可选
  • 1
  • 验证状态
  • └ total_page
  • Number
  • 可选
  • 100
  • 总页数
  • └ visibility_status
  • String
  • 可选
  • 1
  • 可用状态
  • └ cinema_link_id
  • String
  • 可选
  • 110011
  • 影院内码
  • └ benefit_policy_id
  • String
  • 可选
  • 1123
  • 联名卡id
  • └ cur_page
  • Number
  • 可选
  • 12
  • 当前页
  • └ policy_name_like
  • String
  • 可选
  • 卖品卡
  • 政策名称
  • └ items_per_page
  • Number
  • 可选
  • 10
  • 每页商品数量
  • └ lease_code
  • String
  • 可选
  • hengda
  • 租户编码
  • └ third_policy_flag
  • String
  • 可选
  • 123
  • 第三方联名卡标志
  • └ user_cinema_link_ids
  • String
  • 可选
  • 110005,110006
  • 用户影院内码集
  • └ items
  • Number
  • 可选
  • 123
  • 商品数
  • └ channel_code
  • String
  • 可选
  • pos
  • 渠道编码
  • └ status
  • String
  • 可选
  • 1
  • 状态

响应参数

名称 类型 示例值 描述
mtop_success Boolean true success
data_list DataList [] dataList
  • └ renew_days
  • Number
  • 3650
  • renewDays
  • └ gmt_modified
  • Date
  • 1783410953000
  • gmtModified
  • └ extension
  • String
  • 1
  • extension
  • └ expired_date
  • Date
  • 1
  • expiredDate
  • └ policy_from
  • String
  • CLOUD
  • policyFrom
  • └ remark
  • String
  • wycPreTest2
  • remark
  • └ modify_user
  • String
  • 1
  • modifyUser
  • └ approval_remark
  • String
  • 1
  • approvalRemark
  • └ cur_version
  • Number
  • 1
  • curVersion
  • └ channel_code
  • String
  • TAOBAO
  • channelCode
  • └ card_cost_fee
  • Number
  • 1000
  • cardCostFee
  • └ approval_status
  • String
  • UNDER_APPROVAL
  • approvalStatus
  • └ available_cinema_name_list
  • Json
  • 1
  • availableCinemaNameList
  • └ policy_name
  • String
  • 淘票票-wycPreTest2
  • policyName
  • └ visibility_status
  • String
  • VISIBLE
  • visibilityStatus
  • └ available_cinema_link_id_set
  • String []
  • availableCinemaLinkIdSet
  • └ gmt_create
  • Date
  • 1783410953000
  • gmtCreate
  • └ policy_limit
  • String
  • {"dailyTicketLimit":100,"scheduleTicketLimit":null,"totalTicketLimit":200,"renewTicketCount":200,"strategyList":[{"priority":1,"id":"pqxZxxXl","strategyName":"固定价格20","privilegeType":"FIXED_PRICE","privilegePlusValue":null,"privilegeMultiplyValue":null,"privilegeFixedValue":2000,"allowBreakLowestPrice":"Y","conditionList":[{"conditionType":"WEEK_TIME","weekDateTimeSet":[{"startDate":null,"endDate":null,"startTime":"00:00","endTime":"23:59","weekDaySet":null,"weekTimeSet":null}],"weekTimeSet":null},{"conditionType":"FILM_VERSION","filmVersionSet":["2DDMAX","3DDMAX","2DNORMAL","3DNORMAL","4DNORMAL","3DIMAX","2DIMAX"]},{"conditionType":"CINEMA_HALL","cinemaSet":[{"cinemaLinkId":"888","hallIdSet":null}]}]}]}
  • policyLimit
  • └ benefit_policy_goods_list
  • Json
  • 1
  • benefitPolicyGoodsList
  • └ renew_amount
  • Number
  • 1000
  • renewAmount
  • └ third_policy_info_entity
  • Json
  • 1
  • thirdPolicyInfoEntity
  • └ benefit_policy_id
  • Number
  • 610653
  • benefitPolicyId
  • available_cinema_link_id_map
  • AvailableCinemaLinkIdMap
  • availableCinemaLinkIdMap
  • └ 888
  • String []
  • 888
  • └ policy_type
  • String
  • TICKET_GOODS_DISCOUNT
  • policyType
  • └ lease_code
  • String
  • dsf
  • leaseCode
  • └ third_policy_flag
  • String
  • N
  • thirdPolicyFlag
  • └ third_policy_info
  • String
  • 1
  • thirdPolicyInfo
  • └ channel_name
  • String
  • 1
  • channelName
  • └ create_user
  • String
  • dsfadmin
  • createUser
  • └ valid_days
  • Number
  • 3650
  • validDays
  • └ available_cinema_name_map
  • Json
  • 1
  • availableCinemaNameMap
  • └ status
  • String
  • DISABLED
  • status
page_info PageInfo pageInfo
  • └ cur_page
  • Number
  • 1
  • curPage
  • └ total_page
  • Number
  • 1
  • totalPage
  • └ items_per_page
  • Number
  • 100
  • itemsPerPage
  • └ items
  • Number
  • 5
  • items
result_code String 1 resultCode
result_msg String 1 resultMsg

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
LarkBenefitcardPolicyGetlistRequest req = new LarkBenefitcardPolicyGetlistRequest();
LarkBenefitcardPolicyGetlistRequest.BenefitPolicyQueryMtopDto obj1 = new LarkBenefitcardPolicyGetlistRequest.BenefitPolicyQueryMtopDto();
obj1.setApprovalStatus("1");
obj1.setTotalPage(100L);
obj1.setVisibilityStatus("1");
obj1.setCinemaLinkId("110011");
obj1.setBenefitPolicyId("1123");
obj1.setCurPage(12L);
obj1.setPolicyNameLike("卖品卡");
obj1.setItemsPerPage(10L);
obj1.setLeaseCode("hengda");
obj1.setThirdPolicyFlag("123");
obj1.setUserCinemaLinkIds("110005,110006");
obj1.setItems(123L);
obj1.setChannelCode("pos");
obj1.setStatus("1");
req.setBenefitPolicyQueryMtopDTO(obj1);
LarkBenefitcardPolicyGetlistResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<lark_benefitcard_policy_getlist_response>
    <mtop_success>true</mtop_success>
    <data_list>
        <data_list>
            <renew_days>3650</renew_days>
            <gmt_modified>1783410953000</gmt_modified>
            <extension>1</extension>
            <expired_date>1</expired_date>
            <policy_from>CLOUD</policy_from>
            <remark>wycPreTest2</remark>
            <modify_user>1</modify_user>
            <approval_remark>1</approval_remark>
            <cur_version>1</cur_version>
            <channel_code>TAOBAO</channel_code>
            <card_cost_fee>1000</card_cost_fee>
            <approval_status>UNDER_APPROVAL</approval_status>
            <available_cinema_name_list>1</available_cinema_name_list>
            <policy_name>淘票票-wycPreTest2</policy_name>
            <visibility_status>VISIBLE</visibility_status>
            <gmt_create>1783410953000</gmt_create>
            <policy_limit>{&quot;dailyTicketLimit&quot;:100,&quot;scheduleTicketLimit&quot;:null,&quot;totalTicketLimit&quot;:200,&quot;renewTicketCount&quot;:200,&quot;strategyList&quot;:[{&quot;priority&quot;:1,&quot;id&quot;:&quot;pqxZxxXl&quot;,&quot;strategyName&quot;:&quot;固定价格20&quot;,&quot;privilegeType&quot;:&quot;FIXED_PRICE&quot;,&quot;privilegePlusValue&quot;:null,&quot;privilegeMultiplyValue&quot;:null,&quot;privilegeFixedValue&quot;:2000,&quot;allowBreakLowestPrice&quot;:&quot;Y&quot;,&quot;conditionList&quot;:[{&quot;conditionType&quot;:&quot;WEEK_TIME&quot;,&quot;weekDateTimeSet&quot;:[{&quot;startDate&quot;:null,&quot;endDate&quot;:null,&quot;startTime&quot;:&quot;00:00&quot;,&quot;endTime&quot;:&quot;23:59&quot;,&quot;weekDaySet&quot;:null,&quot;weekTimeSet&quot;:null}],&quot;weekTimeSet&quot;:null},{&quot;conditionType&quot;:&quot;FILM_VERSION&quot;,&quot;filmVersionSet&quot;:[&quot;2DDMAX&quot;,&quot;3DDMAX&quot;,&quot;2DNORMAL&quot;,&quot;3DNORMAL&quot;,&quot;4DNORMAL&quot;,&quot;3DIMAX&quot;,&quot;2DIMAX&quot;]},{&quot;conditionType&quot;:&quot;CINEMA_HALL&quot;,&quot;cinemaSet&quot;:[{&quot;cinemaLinkId&quot;:&quot;888&quot;,&quot;hallIdSet&quot;:null}]}]}]}</policy_limit>
            <benefit_policy_goods_list>1</benefit_policy_goods_list>
            <renew_amount>1000</renew_amount>
            <third_policy_info_entity>1</third_policy_info_entity>
            <benefit_policy_id>610653</benefit_policy_id>
            <available_cinema_link_id_map>
            </available_cinema_link_id_map>
            <policy_type>TICKET_GOODS_DISCOUNT</policy_type>
            <lease_code>dsf</lease_code>
            <third_policy_flag>N</third_policy_flag>
            <third_policy_info>1</third_policy_info>
            <channel_name>1</channel_name>
            <create_user>dsfadmin</create_user>
            <valid_days>3650</valid_days>
            <available_cinema_name_map>1</available_cinema_name_map>
            <status>DISABLED</status>
        </data_list>
    </data_list>
    <page_info>
        <cur_page>1</cur_page>
        <total_page>1</total_page>
        <items_per_page>100</items_per_page>
        <items>5</items>
    </page_info>
    <result_code>1</result_code>
    <result_msg>1</result_msg>
</lark_benefitcard_policy_getlist_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

返回
顶部