查询直播间场次信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
query_request | DataQuery4SinaRequest | 必须 | 入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
live_items_query_response | Result | 响应体 | |
|
1 2 3 4 5 6 7 8 9 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); LiveContentsQueryRequest req = new LiveContentsQueryRequest(); LiveContentsQueryRequest.DataQuery4SinaRequest obj1 = new LiveContentsQueryRequest.DataQuery4SinaRequest(); obj1.setQueryDate( "20240116" ); obj1.setStart(0L); obj1.setPageSize(100L); req.setQueryRequest(obj1); LiveContentsQueryResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 | < live_contents_query_response > < live_items_query_response > < msg_code >200</ msg_code > < msg_info >成功</ msg_info > < success >true</ success > < model > < data_json_str >[]</ data_json_str > < total_count >10</ total_count > </ model > </ live_items_query_response > </ live_contents_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 > |
错误码 | 错误描述 | 解决方案 |
---|