华为乾坤-重置流量时长:响应示例

时间:2025-02-17 11:38:53

响应示例

返回状态码为200:重置成功。

HTTP/1.1 200 OK
Date: Sun,16 Feb 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
{
	"errcode" : "0",
	"errmsg" : "",
	"data" : [
		{
			"errCode" : "0",
			"errMsg" : "",
			"timeFlowStType" : "user",
			"clearType" : "flow",
			"timeFlowStInfo" : {
				"id" : "d5f17ddd0b25471bb0109d32cbc3a724",
				"siteId" : "351e1696-02a2-4a68-bad4-aa639359c222",
				"userName" : "1",
				"lastChargeTime" : "1545812248932",
				"usedFlow" : "100",
				"usedTime" : "20",
				"policyFlow" : "111111",
				"policyTime" : "2222",
				"remianFlow" : "111011",
				"remianTime" : "2202",
				"loginIp" : "10.1.1.1",
				"terminalMac" : "22-22-22-22-22-22",
				"oneOnlinePolicyTime" : "2211",
				"oneOnlineUsedTime" : "11",
				"oneOnlineRemainTime" : "2200"
			}
		}
	]
}

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

HTTP/1.1 400 Bad Request
Date: Sun,16 Feb 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,16 Feb 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_0000002164038801.html