文档中心 > API类目 > 电影票API

taobao.film.oppo.cinemalist.get (oppo获取淘宝电影影院列表接口)

oppo获取淘宝电影影院列表接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
user_id Number 可选 1753244513 用户淘宝id
city_code Number 必须 330100 城市编码
show_id Number 可选 10001 影片id
activity_id Number 可选 10001 活动id,仅预售码兑换需要传这个参数
longitude String 可选 116.43 用户所在位置经度
latitude String 可选 23.34 用户所在位置纬度
platform Number 必须 2 渠道所分配平台码,各渠道根据自己分配的填写
page_index Number 可选 1 传筛选参数时必传,从1开始。
page_size Number 可选 10 传筛选参数时必传。需要>0
field_exclude_or_include String 可选 不传
params Json 必须 {} 扩展参数,key可以传"regionName","showDate","showTime","support",没有可传{}

响应参数

名称 类型 示例值 描述
result ResultGeneralModel 系统自动生成
  • └ return_code
  • String
  • 0
  • 返回值
  • return_value
  • MtopCinemaList
  • 返回值
  • mtop_cinemas
  • MtopCinema []
  • 影院列表
  • └ id
  • Number
  • 136213
  • 影院id
  • └ address
  • String
  • 杭州市西湖区
  • 影院地址
  • └ cinema_name
  • String
  • 翠苑电影大世界
  • 影院名称
  • └ region_name
  • String
  • 西湖区
  • 区域名称
  • └ longitude
  • String
  • 126.56
  • 经度
  • └ latitude
  • String
  • 26.56
  • 纬度
  • └ distance
  • String
  • 1.6
  • 影院和用户距离
  • └ schedule_close_time
  • Number
  • 40
  • 影院排期开始前多久停止售票
  • activities
  • MtopActivity []
  • 影院活动信息
  • └ id
  • Number
  • 1234
  • 活动id
  • └ ori_activity_id
  • Number
  • 123
  • 活动原始id
  • └ activity_type
  • String
  • REDUCE
  • 活动类型
  • └ activity_price
  • Number
  • 500
  • 活动优惠价格, 单位分
  • └ promotion_price
  • Number
  • 3500
  • 影院排期的活动最优价格, 单位分
  • └ activity_ext_type
  • Number
  • 4
  • 活动外部类型: FCODE(1, "预售"), HUIJIN(2, "实时扣减"), COUPON(3, "代金券"), SALES(4, "卖品"), TUAN(5, "团购")
  • └ activity_tag
  • String
  • 优惠购票
  • 活动标
  • └ support_dates
  • Number []
  • 1460563200
  • 支持的日期,精确到秒
  • └ is_activity_visible
  • Boolean
  • true
  • 活动是否可见
  • └ available_schedule_count
  • Number
  • 123
  • 影院排期数
  • └ available_today_schedule_count
  • Number
  • 12
  • 影院今天排期数
  • └ special_flag
  • Number
  • 12
  • 支持特色
  • └ support_f_lag
  • Number
  • 3
  • 影院特殊表,如支持在线选座等。
  • shows
  • Show []
  • 影片列表
  • └ id
  • Number
  • 123
  • 影片id
  • └ show_name
  • String
  • 海上钢琴师
  • 影片名
  • └ date_show_time_map
  • String
  • 影片在各个日期展示的排期时间
  • special_schedules
  • SpecialSchedule []
  • 特殊场次
  • └ title
  • String
  • 明星见面会
  • 特殊场次标题
  • └ long_tile
  • String
  • 明星见面会
  • 特殊场次长标题
  • └ tag
  • String
  • 明星见面会
  • 特殊场次标
  • └ description
  • String
  • 明星见面会
  • 特殊场次描述
  • └ support_dates
  • Number []
  • 1460563200
  • 支持的日期,精确到秒
  • └ always_g_o
  • Boolean
  • false
  • 是否是常去影院
  • └ no_show_display_price
  • Number
  • 4500
  • 没有showId入参时展示的价格,单位分
  • └ support_dates
  • Number []
  • 1460563200
  • 支持的日期,精确到秒
  • └ display_prices
  • String
  • 有showId入参时每天展示的价格
  • └ show_mark
  • String
  • 巨幕厅
  • 影院厅类型
  • └ cinema_photo
  • String
  • https://gw.alicdn.com/tfscom/i3/TB1hGUBjiMnBKNjSZFCXXX0KFXa_.jpg
  • 影院图片
  • └ total_count
  • Number
  • 123
  • 影院总数, 分页时使用
  • cinema_filter
  • CinemaFilter
  • 影院筛选参数
  • └ region_names
  • String []
  • 西湖区
  • 该次请求返回的影院区域集合
  • └ time_maps
  • String []
  • key:00:00-09:00value:9点之前
  • 该次请求返回的排期时间集合
  • └ support_dates
  • Number []
  • 14678900000
  • 该次请求返回的支持日期集合
  • └ supports
  • String []
  • key:1 value:停车
  • 该次请求返回的影院特色信息集合
  • └ region_name
  • String
  • 西湖区
  • 该次请求筛选区域名称
  • └ time
  • String
  • 12:00-13:00
  • 该次请求筛选时间
  • └ choose_date
  • Number
  • 14678900000
  • 该次请求筛选日期
  • └ support
  • Number
  • 123
  • 该次请求筛选特色
  • └ return_message
  • String
  • success
  • 返回结果描述信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
FilmOppoCinemalistGetRequest req = new FilmOppoCinemalistGetRequest();
req.setUserId(1753244513L);
req.setCityCode(330100L);
req.setShowId(10001L);
req.setActivityId(10001L);
req.setLongitude("116.43");
req.setLatitude("23.34");
req.setPlatform(2L);
req.setPageIndex(1L);
req.setPageSize(10L);
req.setFieldExcludeOrInclude("无");
req.setParamsString("{}");
FilmOppoCinemalistGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<film_oppo_cinemalist_get_response>
    <result>
        <return_code>0</return_code>
        <return_value>
            <mtop_cinemas>
                <mtop_cinema>
                    <id>136213</id>
                    <address>杭州市西湖区</address>
                    <cinema_name>翠苑电影大世界</cinema_name>
                    <region_name>西湖区</region_name>
                    <longitude>126.56</longitude>
                    <latitude>26.56</latitude>
                    <distance>1.6</distance>
                    <schedule_close_time>40</schedule_close_time>
                    <activities>
                        <mtop_activity>
                            <id>1234</id>
                            <ori_activity_id>123</ori_activity_id>
                            <activity_type>REDUCE</activity_type>
                            <activity_price>500</activity_price>
                            <promotion_price>3500</promotion_price>
                            <activity_ext_type>4</activity_ext_type>
                            <activity_tag>优惠购票</activity_tag>
                            <support_dates>
                                <number>1460563200</number>
                            </support_dates>
                            <is_activity_visible>true</is_activity_visible>
                        </mtop_activity>
                    </activities>
                    <available_schedule_count>123</available_schedule_count>
                    <available_today_schedule_count>12</available_today_schedule_count>
                    <special_flag>12</special_flag>
                    <support_f_lag>3</support_f_lag>
                    <shows>
                        <show>
                            <id>123</id>
                            <show_name>海上钢琴师</show_name>
                            <date_show_time_map>无</date_show_time_map>
                        </show>
                    </shows>
                    <special_schedules>
                        <special_schedule>
                            <title>明星见面会</title>
                            <long_tile>明星见面会</long_tile>
                            <tag>明星见面会</tag>
                            <description>明星见面会</description>
                            <support_dates>
                                <number>1460563200</number>
                            </support_dates>
                        </special_schedule>
                    </special_schedules>
                    <always_g_o>false</always_g_o>
                    <no_show_display_price>4500</no_show_display_price>
                    <support_dates>
                        <number>1460563200</number>
                    </support_dates>
                    <display_prices>无</display_prices>
                    <show_mark>巨幕厅</show_mark>
                    <cinema_photo>https://gw.alicdn.com/tfscom/i3/TB1hGUBjiMnBKNjSZFCXXX0KFXa_.jpg</cinema_photo>
                </mtop_cinema>
            </mtop_cinemas>
            <total_count>123</total_count>
            <cinema_filter>
                <region_names>
                    <string>西湖区</string>
                </region_names>
                <time_maps>
                    <string>key:00:00-09:00value:9点之前</string>
                </time_maps>
                <support_dates>
                    <number>14678900000</number>
                </support_dates>
                <supports>
                    <string>key:1 value:停车</string>
                </supports>
                <region_name>西湖区</region_name>
                <time>12:00-13:00</time>
                <choose_date>14678900000</choose_date>
                <support>123</support>
            </cinema_filter>
        </return_value>
        <return_message>success</return_message>
    </result>
</film_oppo_cinemalist_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

返回
顶部