数娱tv内容分页搜索服务
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
query | TvSearchPageQuery | 可选 | 搜索条件对象 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
model | Map | {} | 数据 |
|
|||
is_sucess | Boolean | true | isSucess |
msg_code | String | QUERY_NO_RESOURCE | msgCode |
http_status_code | Number | 200 | httpStatusCode |
msg_info | String | 搜索结果为空 | msgInfo |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); YunosTvsearchDataSearchpageRequest req = new YunosTvsearchDataSearchpageRequest(); YunosTvsearchDataSearchpageRequest.TvSearchPageQuery obj1 = new YunosTvsearchDataSearchpageRequest.TvSearchPageQuery(); obj1.setKeyword( "BXJG" ); obj1.setPageSize(20L); obj1.setSearchId( "877C50501EF1A3FE8BA833731FD40C7B_1490087268558" ); obj1.setFrom( "com.yunos.tv.universalsearch" ); obj1.setLocaleInfo( "{\"language\":\"zh\",\"country\":\"CN\"}" ); obj1.setSource( "ALI_VIDEO" ); obj1.setPage(1L); obj1.setSystemInfo( "{\"uuid\":\"877C50501EF1A3FE8BA833731FD40C7B\",\"device_model\":\"MagicBox_M13\",\"device_system_version\":\"6.0.2\",\"device_sn\":\"877C50501EF1A3FE\",\"device_firmware_version\":\"6.0.2-RS-20170111.1210\",\"firmware\":\"6.0.2-RS-20170111.1210\",\"charge_type\":\"2,3,5\",\"sw\":\"sw1080\",\"version_code\":2100502346,\"yingshi_version\":2100502346,\"device_media\":\"dolby,h265_4k2k,drm\",\"mac\":\"1899F51E7804\",\"ethmac\":\"1899F51E7804\",\"from\":\"0,7,9\",\"license\":\"1\",\"bcp\":\"1\",\"v_model\":\"F\"}" ); YunosTvsearchDataSearchpageRequest.Bizext obj2 = new YunosTvsearchDataSearchpageRequest.Bizext(); obj2.setBirthday( "2012-07-02" ); obj2.setParent( "1" ); obj2.setGender( "1" ); obj2.setTbSort( "s" ); obj2.setKeyType( "0" ); obj2.setShowType( "3" ); obj2.setCateIds( "1,2" ); obj2.setXmPub( "true" ); obj2.setMemory( "817" ); obj1.setBizExt(obj2); obj1.setPackageInfo( "{\"com.yunos.tv.yingshi.boutique\":\"2100502346\",\"com.yunos.tv.edu\":\"2100305023\",\"com.yunos.tv.appstore\":\"2101401004\",\"com.ali.tv.gamecenter\":\"2100203016\",\"com.xiami.tv\":\"2100230103\",\"com.yunos.tvtaobao\":\"2100400512\"}" ); obj1.setUuid( "877C50501EF1A3FE8BA833731FD40C7B" ); obj1.setSpell( true ); req.setQuery(obj1); YunosTvsearchDataSearchpageResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | < yunos_tvsearch_data_searchpage_response > < model > < list > < data > < id >121739</ id > < title >变形金刚:领袖之证第1季</ title > < pic_url >http://galitv.alicdn.com/product/20161027/attachment/video/program/2016/1027/dn/942609af7e892941abc9dcfd30c40fcc.jpg</ pic_url > < match_word >变形金刚</ match_word > < match_slot >title</ match_slot > < label_type >0</ label_type > < label_name >独播</ label_name > < tips >26集全</ tips > < show_type >3</ show_type > < score >9.4</ score > < scm >dadad</ scm > < introduction >文字</ introduction > < pic_bg >http://galitv.alicdn.com/product/20161027/attachment/video/program/2016/1027/dn/942609af7e892941abc9dcfd30c40fcc.jpg</ pic_bg > < birthday >1976-02-02</ birthday > < die_day >1976-02-02</ die_day > < gender >0</ gender > < alias_name >华仔</ alias_name > < en_name >eppelr</ en_name > < area >香港</ area > < job >歌手</ job > < nation >汉族</ nation > < homeplace >浙江杭州</ homeplace > < keyword >变形金刚</ keyword > < weight >1</ weight > < price >100.00</ price > < sold >100</ sold > < location >浙江杭州西湖区</ location > < seller_loc >浙江杭州西湖区</ seller_loc > < nick >eppler</ nick > < user_id >eppler</ user_id > < price_with_rate >58.80</ price_with_rate > < fast_post_fee >10.00</ fast_post_fee > < shipping >-1</ shipping > < spu_id >1</ spu_id > < is_cod >0</ is_cod > < is_promotion >true</ is_promotion > < wm_price >100.00</ wm_price > < cat_id >1</ cat_id > < package_name >com.yunos.tvtaobao</ package_name > < label >新</ label > < download_times >32345</ download_times > < singer >刘德华</ singer > < pic_url_horizontal >http://cn-vmc-images.alicdn.com/vmac/10000000050C00005A90CD2D859B5E05630243EA</ pic_url_horizontal > < sub_title >跑男</ sub_title > < genre >真人,格斗,科幻</ genre > < description >银河·奥特曼S》为《银河·奥特曼》的续作。全新TV剧情,共16集。 片名中的\"S\"为\"Storium\"的首字母,指的是银河奥特曼在本作中获得的新形态——银河奥特曼斯特利姆。银河·奥特曼仍然是本作的主角。此外,片中将会有新的奥特英雄登场,他的名字是——维克特利·奥特曼。</ description > < casts >杜军</ casts > < crews >张一山,刘威,傅淼,山崎敬一,刘小溪,王挺,程琤,王桂峰,苏茂洋,大柳真一郎,许瑶璇,戴墨,魏震,段炼,李吉昌,孙锡堃,杨念生,郝刚,唐昕,武鑫羽,王从懿,杨清文,毕超,柴尧,苇青,李林煊,冮明华,钱佑洋</ crews > < year >2018</ year > < program_type >TS</ program_type > </ data > </ list > < search_id >877C50501EF1A3FE8BA833731FD40C7B_1490087268558</ search_id > < total >1</ total > < sort >4</ sort > < page_size >20</ page_size > < type >PEOPLE</ type > < title >少儿</ title > < source >ALI_CHILDREN</ source > < cur_page >1</ cur_page > < has_next >false</ has_next > < total_page >1</ total_page > < is_recommend >false</ is_recommend > </ model > < is_sucess >true</ is_sucess > < msg_code >QUERY_NO_RESOURCE</ msg_code > < http_status_code >200</ http_status_code > < msg_info >搜索结果为空</ msg_info > </ yunos_tvsearch_data_searchpage_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|