会话相关信息查询
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
top_game_session_query_dto | TopGameSessionQueryDTO | 可选 | 传参对象 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
succ | Boolean | 是否成功 | true |
model | TopApiGameSessionResDTO | 返回对象 | |
|
|||
msg_info | String | xx | 错误描述 |
msg_code | String | xx | 错误码 |
1 2 3 4 5 6 7 8 9 10 11 12 13 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliyunCloudgameDcGamesessionInfoQueryRequest req = new AliyunCloudgameDcGamesessionInfoQueryRequest(); AliyunCloudgameDcGamesessionInfoQueryRequest.TopGameSessionQueryDTO obj1 = new AliyunCloudgameDcGamesessionInfoQueryRequest.TopGameSessionQueryDTO(); obj1.setPlatformTypeList( "0" ); obj1.setMachineTypeList( "xx" ); obj1.setTenantIdList( "xx" ); obj1.setLongTimeNotReboot(1L); obj1.setGlobalPermissionType( "共建链路:B_PASS;自建链路:MICRO_PASS" ); obj1.setStartTime(1652198400000L); obj1.setEndTime(1652239663059L); req.setTopGameSessionQueryDto(obj1); AliyunCloudgameDcGamesessionInfoQueryResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 | < aliyun_cloudgame_dc_gamesession_info_query_response > < succ >是否成功</ succ > < model > < game_session_failed_rate >0.11</ game_session_failed_rate > </ model > < msg_info >xx</ msg_info > < msg_code >xx</ msg_code > </ aliyun_cloudgame_dc_gamesession_info_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 > |
错误码 | 错误描述 | 解决方案 |
---|