注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 阿里影业灯塔

taobao.tpp.aquantum.boxoffice.antblockchain.boxoffice (蚂蚁链-票房查询)

蚂蚁文娱链-查询票房

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
query_date String 必须 20200824 查询截止日期
show_id Number 必须 194119 影片ID

响应参数

名称 类型 示例值 描述
result Result 返回
  • data
  • Data
  • 数据
  • └ open_day
  • String
  • 20200908
  • 首映日
  • └ real
  • Boolean
  • 是否为专资回刷
  • └ box_office
  • Number
  • 1000
  • 票房(分)
  • └ show_name
  • String
  • 战狼2
  • 影片名称
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ error_message
  • String
  • Not Found
  • 错误信息
  • └ message
  • String
  • success
  • 消息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TppAquantumBoxofficeAntblockchainBoxofficeRequest req = new TppAquantumBoxofficeAntblockchainBoxofficeRequest();
req.setQueryDate("20200824");
req.setShowId(194119L);
TppAquantumBoxofficeAntblockchainBoxofficeResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tpp_aquantum_boxoffice_antblockchain_boxoffice_response>
    <result>
        <data>
            <open_day>20200908</open_day>
            <real></real>
            <box_office>1000</box_office>
            <show_name>战狼2</show_name>
        </data>
        <success>true</success>
        <error_message>Not Found</error_message>
        <message>success</message>
    </result>
</tpp_aquantum_boxoffice_antblockchain_boxoffice_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

返回
顶部