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

时间:2025-05-12 15:32:17

响应示例

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

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
{
	"startRowKey" : "1529648614575D431E4891D734D68B89FD14BAC639C47",
	"endRowKey" : "15296432844906C2BC8D50ED94D9A87C4660E418E6472",
	"totalRecords" : "101",
	"errcode" : "0",
	"errmsg" : "",
	"searchResultList" : [
		{
			"rowKey" : "1529648614575D431E4891D734D68B89FD14BAC639C47",
			"accessDeviceGroupName" : "Suzhou RnD Center",
			"authResult" : "1",
			"onlineTime" : "1529648614575",
			"offlineTime" : "1529648764461",
			"account" : "anonymous",
			"terminalIP" : "192.168.216.247",
			"userGroup" : "ROOT",
			"terminalMac" : "XX-XX-XX-XX-XX-XX",
			"authType" : "1",
			"userType" : "4",
			"authServerIP" : "192.168.254.206",
			"accessSSID" : "CloudCampus_Guest",
			"deviceMac" : "XX-XX-XX-XX-XX-XX",
			"deviceIP" : "10.1.1.1",
			"accessPolicy" : "CloudCampus_Guest",
			"authenRule" : "Default",
			"name" : ""
		}
	]
}

返回状态码为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_0000002128520866.html