华为乾坤-查询用户radius上下线日志信息:响应示例

时间:2025-05-12 15:31:59

响应示例

返回状态码为200:查询成功,响应体参考QueryRadiusLogsOutputDto。

HTTP/1.1 200 OK
Date: Sun,11 May 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
{
	"errcode" : "0",
	"errmsg" : "",
	"startRowKey" : "1529648614575D431E4891D734D68B89FD14BAC639C47",
	"endRowKey" : "15296432844906C2BC8D50ED94D9A87C4660E418E6472",
	"totalSize" : 101,
	"pageSize" : 101,
	"pageIndex" : 1,
	"data" : [
		{
			"id" : "1bfa53069969491bbe495fcbb65c486a",
			"siteName" : "AA",
			"userName" : "user1",
			"userGroupName" : "Guest",
			"userTypeCode" : 0,
			"terminalIpV4" : "10.85.73.8",
			"terminalIpV6" : "",
			"terminalMac" : "XX-XX-XX-XX-XX-XX",
			"deviceIp" : "10.165.34.179",
			"deviceMac" : "XX-XX-XX-XX-XX-XX",
			"authenRule" : "Default",
			"authorRule" : "",
			"authenTypeCode" : 8,
			"authenServerIp" : "192.168.5.202",
			"accessSsid" : "1234",
			"authenTime" : "1574208000000",
			"authenResultCode" : 0,
			"failReasonCode" : 101,
			"accInitTime" : "1574208000001",
			"accTermTime" : "1574208000002",
			"accTermReasonCode" : 1,
			"imsi" : "150000000000000",
			"imei" : "150000000000000",
			"mobileTerminalInfo" : "APN={APN},MSISDN={MSISDN},ULI={ULI},RAT={RAT}",
			"name" : "",
			"serialnumber" : "D01E40900000274B0000000100000004",
			"extraInfo" : ""
		}
	]
}

返回状态码为400:校验异常。

HTTP/1.1 400 Bad Request
Date: Sun,11 May 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive

返回状态码为500:内部错误。

HTTP/1.1 500 Internal Server Error
Date: Sun,11 May 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002128679014.html