热映影片数据同步给微博
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| city_code | Number | 必须 | 123 | 城市代码 | |
| platform | Number | 必须 | 123 | 平台 | |
| page_code | String | 可选 | ALIPAY | 标识请求页面的相关参数 | |
| page_size | Number | 可选 | 20 | 分页大小 | |
| page_index | Number | 可选 | 1 | 分页页码 |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | GetHotShowsResult | 无 | 热映影片输出给微博 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
FilmHotshowsGetRequest req = new FilmHotshowsGetRequest();
req.setCityCode(123L);
req.setPlatform(123L);
req.setPageCode("ALIPAY");
req.setPageSize(20L);
req.setPageIndex(1L);
FilmHotshowsGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<film_hotshows_get_response>
<result>
<hot_shows>
<show>
<accumulative_sales>demo</accumulative_sales>
<available_cinema_count>123</available_cinema_count>
<available_schedule_count>123</available_schedule_count>
<available_today_schedule_count>123</available_today_schedule_count>
<background_picture>demo</background_picture>
<background_video>demo</background_video>
<cinema_count>123</cinema_count>
<comment>demo</comment>
<country>demo</country>
<custom_poster>demo</custom_poster>
<description>demo</description>
<director>demo</director>
<distributor>demo</distributor>
<duration>123</duration>
<edit_time>2015-08-11 14:57:14</edit_time>
<flag>123</flag>
<highlight>demo</highlight>
<id>1001</id>
<imdbid>demo</imdbid>
<is_attention>false</is_attention>
<is_remind>false</is_remind>
<is_want>false</is_want>
<language>demo</language>
<leading_role>demo</leading_role>
<low_price>123</low_price>
<max_seat_price>123</max_seat_price>
<min_seat_price>123</min_seat_price>
<open_day>2015-08-11 14:57:15</open_day>
<order_by>123</order_by>
<order_count>123</order_count>
<platform>123</platform>
<poster>demo</poster>
<price>123</price>
<recent_order_amount>123</recent_order_amount>
<remark>demo</remark>
<schedule_count>123</schedule_count>
<show_mark>demo</show_mark>
<show_name>霍比特人</show_name>
<show_name_en>demo</show_name_en>
<show_version_list>
<string>["hello"</string>
<string>"world"]</string>
</show_version_list>
<support_type>demo</support_type>
<trailer_list>
<string>["hello"</string>
<string>"world"]</string>
</trailer_list>
<type>demo</type>
<view_count>123</view_count>
<want_count>123</want_count>
<week_sales>demo</week_sales>
<worth_pct>demo</worth_pct>
<activities>
<activity>
<activity_tag>元旦特惠</activity_tag>
<support_dates>
<number>{"1234567"</number>
<number>"234567"}</number>
</support_dates>
<activity_type>REDUCE</activity_type>
<activity_ext_type>2</activity_ext_type>
<is_activity_visible>true</is_activity_visible>
<activity_name>新春红包立减5.8</activity_name>
<activity_title>新人8.8测试</activity_title>
<description>新人8.8测试</description>
<long_description>这个活动规则是xxxx</long_description>
</activity>
</activities>
<fantastic>1</fantastic>
<open_time>2015</open_time>
<pre_schedule_dates>
<string>1458473640</string>
</pre_schedule_dates>
<koubei_h5_url></koubei_h5_url>
<alipay_koubei_h5_url></alipay_koubei_h5_url>
<sold_type></sold_type>
<city_code>310100</city_code>
<region_name>上海</region_name>
<preview_num>3</preview_num>
<previews>
<video_item>
<title>title</title>
<cover_url>cover</cover_url>
<video_id>123</video_id>
<duration>100</duration>
<web_url>url</web_url>
<ipad_url>ipadUrl</ipad_url>
<iphone_url>iphoneUrl</iphone_url>
<android_phone_url>androidUrl</android_phone_url>
</video_item>
</previews>
</show>
</hot_shows>
<result_code>demo</result_code>
<result_msg>demo</result_msg>
<success>false</success>
<show_list_h5_url></show_list_h5_url>
<alipay_show_list_h5_url></alipay_show_list_h5_url>
</result>
</film_hotshows_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>
| 错误码 | 错误描述 | 解决方案 |
|---|