感谢您的反馈!
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 | 无 | 系统自动生成 |
|
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());
<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>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|