taobao.film.tftradefacade.tppBoxOfficeSummary.order.get (淘票票票房数据查询接口)

淘票票-票房数据接口提供

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param ChinaFilmQueryParam 必须 请求体
  • └ query_size
  • Number
  • 可选
  • 50
  • 每页查询数量(传0代表不分页)
  • └ query_start
  • Number
  • 可选
  • 1
  • 当前页码(传0代表不分页)
  • └ date_time
  • Number
  • 必须
  • 1628092800000
  • 年月日日期13位时间戳,例:2021-08-05的13位时间戳为1628092800000
  • └ time_period
  • Number
  • 必须
  • 4
  • 时段枚举值(0,4,8,12,16,20),传4 代表查询时段为4时至8时的数据
  • └ standard_id
  • String
  • 必须
  • 53011401
  • 影院专资编码

响应参数

名称 类型 示例值 描述
result ResultGeneralModel 接口返回model
  • return_list
  • ChinaFilmBoxOfficeOrder []
  • 接口返回票房数据
  • └ show_name
  • String
  • 白蛇2:青蛇劫起
  • 影片名称
  • └ pay_end_date
  • Date
  • 1628049599000
  • 售出日期截止时间
  • └ show_time
  • Date
  • 1628043000000
  • 放映时间
  • └ standard_id
  • String
  • 11081601
  • 影院专资编码
  • └ hall
  • String
  • 2号厅
  • 影厅名称
  • └ tb_schedule_id
  • String
  • 910711182
  • 场次编码
  • └ show_version
  • String
  • 国语 3D
  • 影片版本
  • └ seat_count
  • Number
  • 4
  • 售票数
  • └ show_date
  • Date
  • 1628006400000
  • 放映日期
  • └ ori_price
  • String
  • 183.6
  • 票房
  • └ cinema_name
  • String
  • 北京中影国际影城(昌平永旺店)
  • 影院名称
  • └ seat_info
  • String
  • 7排11座,7排8座,7排7座,7排4座
  • 选座数据
  • └ pay_start_date
  • Date
  • 1628035200000
  • 售出日期起始时间
  • └ price
  • String
  • 173.6
  • 票房(不含服务费)
  • └ refund_seat_count
  • Number
  • 2
  • 退票张数
  • └ refund_seat_info
  • String
  • 7排11座,7排8座
  • 退票座位数据
  • └ refund_ori_price
  • String
  • 81.2
  • 退票金额(含服务费)
  • └ refund_price
  • String
  • 75.2
  • 退票金额(不含服务费)
  • └ return_message
  • String
  • demo
  • 接口返回提示信息
  • └ return_code
  • String
  • 0
  • 返回码
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ timestamp
  • Number
  • 1628221476933
  • 接口返回时间

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
FilmTftradefacadeTppBoxOfficeSummaryOrderGetRequest req = new FilmTftradefacadeTppBoxOfficeSummaryOrderGetRequest();
FilmTftradefacadeTppBoxOfficeSummaryOrderGetRequest.ChinaFilmQueryParam obj1 = new FilmTftradefacadeTppBoxOfficeSummaryOrderGetRequest.ChinaFilmQueryParam();
obj1.setQuerySize(50L);
obj1.setQueryStart(1L);
obj1.setDateTime(1628092800000L);
obj1.setTimePeriod(4L);
obj1.setStandardId("53011401");
req.setParam(obj1);
FilmTftradefacadeTppBoxOfficeSummaryOrderGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<film_tftradefacade_tppBoxOfficeSummary_order_get_response>
    <result>
        <return_list>
            <china_film_box_office_order>
                <show_name>白蛇2:青蛇劫起</show_name>
                <pay_end_date>1628049599000</pay_end_date>
                <show_time>1628043000000</show_time>
                <standard_id>11081601</standard_id>
                <hall>2号厅</hall>
                <tb_schedule_id>910711182</tb_schedule_id>
                <show_version>国语 3D</show_version>
                <seat_count>4</seat_count>
                <show_date>1628006400000</show_date>
                <ori_price>183.6</ori_price>
                <cinema_name>北京中影国际影城(昌平永旺店)</cinema_name>
                <seat_info>7排11座,7排8座,7排7座,7排4座</seat_info>
                <pay_start_date>1628035200000</pay_start_date>
                <price>173.6</price>
                <refund_seat_count>2</refund_seat_count>
                <refund_seat_info>7排11座,7排8座</refund_seat_info>
                <refund_ori_price>81.2</refund_ori_price>
                <refund_price>75.2</refund_price>
            </china_film_box_office_order>
        </return_list>
        <return_message>demo</return_message>
        <return_code>0</return_code>
        <success>true</success>
        <timestamp>1628221476933</timestamp>
    </result>
</film_tftradefacade_tppBoxOfficeSummary_order_get_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

返回
顶部