内部调用获取运营商的播放日志数据,生成日志文件,再通过FTP方式传给移动服务器
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param | AuditUserPlayLogRemoteQuery | 可选 | 查询参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | ProviderResult | 返回结果类型 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); YoukuThirdpartyPlaylogQueryRequest req = new YoukuThirdpartyPlaylogQueryRequest(); YoukuThirdpartyPlaylogQueryRequest.AuditUserPlayLogRemoteQuery obj1 = new YoukuThirdpartyPlaylogQueryRequest.AuditUserPlayLogRemoteQuery(); obj1.setUserId( "13800000000" ); obj1.setProgramId( "1" ); obj1.setUuid( "001" ); obj1.setStartTime( "11000000000" ); obj1.setEndTime( "16000000000" ); obj1.setPid( "1" ); obj1.setBizType( "0:包月" ); obj1.setLimitSize( "100" ); req.setParam(obj1); YoukuThirdpartyPlaylogQueryResponse 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 | < youku_thirdparty_playlog_query_response > < result > < datas > < audit_user_play_log_r_b_o > < program_id >001</ program_id > < content >"{\"startTime\":\"0\",\"tuid\":\"13811111112\",\"programId\":\"149147\",\"sourceFrom\":\"dd\",\"mac\":\"54c57a392392\",\"playType\":\"dd\",\"serviceType\":\"dd\",\"endTime\":\"Sat Jun 16 17:17:58 GMT+08:00 2018\",\"index\":\"集数\",\"programName\":\"西游记之大圣归来\"}"</ content > < operator >jscmcc</ operator > < user_id >13800000000</ user_id > < uuid >uuid001</ uuid > < pid >jscmcc</ pid > < biz_type >1:点播</ biz_type > </ audit_user_play_log_r_b_o > </ datas > < http_status_code >200</ http_status_code > < msg_code >1</ msg_code > < msg_info >info</ msg_info > < success >0</ success > </ result > </ youku_thirdparty_playlog_query_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 > |
错误码 | 错误描述 | 解决方案 |
---|