提供总票房、今日top 5 影片
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
request_param | BoxOfficeIndexRequest | 可选 | 系统自动生成 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | PlainResult | 返回 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaPicturesDengtaComponentBoxofficeRequest req = new AlibabaPicturesDengtaComponentBoxofficeRequest(); AlibabaPicturesDengtaComponentBoxofficeRequest.BoxOfficeIndexRequest obj1 = new AlibabaPicturesDengtaComponentBoxofficeRequest.BoxOfficeIndexRequest(); obj1.setCityId(-5L); obj1.setDeviceId( "X7jJ7bKYxfEDAH7qRhTrbfdC" ); AlibabaPicturesDengtaComponentBoxofficeRequest.DateQuery obj2 = new AlibabaPicturesDengtaComponentBoxofficeRequest.DateQuery(); obj2.setBeginDate( "20210112" ); obj2.setDateType(1L); obj2.setEndDate( "20210113" ); obj1.setDateQuery(obj2); obj1.setUtdid( "+XtOer9XgUDAFDWJHdfxK7N" ); obj1.setVersion( "客户端版本" ); obj1.setTtid( "movie_pro" ); obj1.setClientIp( "192.167.1.1" ); req.setRequestParam(obj1); AlibabaPicturesDengtaComponentBoxofficeResponse 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 | < alibaba_pictures_dengta_component_boxoffice_response > < result > < trace_id >trace_id</ trace_id > < code >hello world</ code > < data > < show_data_item_v_o_list > < showdataitemvolist > < box_office_data_item > < box_office >20000</ box_office > < schedule_rate >50</ schedule_rate > < total_box_office >40000</ total_box_office > < total_box_office_with_unit > < value >1.0</ value > < unit >元</ unit > </ total_box_office_with_unit > < schedule_rate_with_unit > < value >1.0</ value > < unit >元</ unit > </ schedule_rate_with_unit > < box_office_with_unit > < value >1.0</ value > < unit >元</ unit > </ box_office_with_unit > </ box_office_data_item > < show_name >送你一朵小红花</ show_name > < show_id >333143</ show_id > </ showdataitemvolist > </ show_data_item_v_o_list > < box_office >20000</ box_office > < box_office_with_unit > < unit >元</ unit > < value >1.0</ value > </ box_office_with_unit > < latest_refresh_ts >123978634</ latest_refresh_ts > </ data > < show_error >show_error</ show_error > < success >false</ success > < error_message >error_message</ error_message > < message >hello world</ message > < ts >ts</ ts > < extra > < downgrade_message >暂无数据更新</ downgrade_message > </ extra > </ result > </ alibaba_pictures_dengta_component_boxoffice_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 > |
错误码 | 错误描述 | 解决方案 |
---|