华为乾坤-修改AP站点模板射频配置信息:响应示例

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

响应示例

返回状态码为200:修改AP站点模板射频配置结果,返回结构体参见SiteTemplateGroupRadioResponseDto。

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" : "",
	"data" : {
		"countryCode" : "CN",
		"autoEnable" : true,
		"timeTemplateId" : "b90f8190-e12f-4323-95f3-4018309209c4",
		"calibrate" : "auto",
		"dcaStartTime" : "03:00:00",
		"dcaInterval" : 1440,
		"calibratePolicy" : "rogueAp,noise,nonWifi",
		"dcaScheduleTime" : "03:00:00",
		"scanSwitch" : true,
		"scanSwitch5g" : true,
		"scanDuration" : "60",
		"scanInterval" : "10000",
		"scanChannel" : "country-channel",
		"beaconCycle" : 100,
		"dynamicSwitch" : true,
		"deauthFailTimes" : 0,
		"referenceDataAnalysis" : true,
		"selfCalibrate" : false,
		"mode" : "default",
		"spectrumAnalysis" : false,
		"rtsCtsMode" : "cts-to-self",
		"rtsCtsThreshold" : 1400,
		"airTimeFairSchedule" : true,
		"powerAutoAdjust" : true,
		"beamforming" : true,
		"smartRoam" : false,
		"smartRoamThresholdSnr" : 20,
		"beEdcaMode" : false,
		"beEdcaThreshold" : 6,
		"mediaEdcaMode" : false,
		"mediaVoiceThreshold" : 30,
		"mediaVideoThreshold" : 100,
		"tcpWindowTuningSwitch" : true,
		"mediaVoiceDelay" : 2,
		"mediaVideoDelay" : 2,
		"mediaVoiceRatio" : 2,
		"mediaVideoRatio" : 2,
		"wmmScene" : "default",
		"wmmMode" : true,
		"edcaClient" : [
			{
				"ac" : "acVo",
				"aifsn" : 3,
				"ecwMin" : 4,
				"ecwMax" : 6,
				"txoplimit" : 0,
				"ackPolicy" : "normal"
			}
		],
		"channelMonitor" : false,
		"coSrEnable" : true,
		"groupRadio2g" : {
			"dca2gChannelSet" : "1,6,11",
			"radio2gBaseRate" : "1,2",
			"radio2gSupportRate" : "1,2,5.5,6,9,11,12,18,24,36,48,54",
			"radio2gMulticastRate" : "5.5",
			"radio2gType" : "dot11ax",
			"tpc2gMaxTxPwr" : 127,
			"tpc2gMinTxPwr" : 9,
			"tpc2gCoverageThreshold" : -60,
			"uca2gClientEnable" : false,
			"access2gThrehold" : 64,
			"reachthresHold2G" : 1,
			"radio2Dot4GuardIntervalMode" : "short",
			"radio11ax2Dot4GuardIntervalMode" : "dot8",
			"enableFlag2g" : false,
			"smartRoamScene2g" : "general",
			"snr2g" : 5,
			"checkInterval2g" : 300,
			"utmostPower2g" : 1,
			"vipUser2dot4ModeUserDefine" : 20,
			"flexibleRadio" : 0,
			"fastpassusers2gEnable" : true,
			"fastpassusers2gNum" : 5,
			"fastpassusers2gPeriod" : "20ms",
			"fastpassusers2gRatio" : 25,
			"startThreshold2g" : 100,
			"gapThreshold2g" : 90,
			"snrThreshold2g" : 20,
			"denyThreshold2g" : 0,
			"clientBandExpire2g" : 35,
			"vipUser2gPhyProtection" : "security-priority"
		},
		"groupRadio5g" : {
			"dcaBandwidth" : "20mhz",
			"dca5gChannelSet" : "44,56,36,48,161,153,165,157,149,60,40,52,64",
			"radio5gBaseRate" : "6,12,24",
			"radio5gSupportRate" : "6,9,12,18,24,36,48,54",
			"radio5gMulticastRate" : "6",
			"radio5gType" : "dot11ax",
			"radio5gVhtAMsduEnable" : false,
			"radio5gMaxFrameNum" : 2,
			"tpc5gMaxTxPwr" : 127,
			"tpc5gMinTxPwr" : 9,
			"tpc5gCoverageThreshold" : -60,
			"radio5GuardIntervalMode" : "short",
			"radio11ax5GuardIntervalMode" : "1dot6",
			"antennaMode" : "omnidirection",
			"uca5gClientEnable" : false,
			"access5gThrehold" : 64,
			"reachthresHold5G" : 1,
			"enableFlag5g" : false,
			"smartRoamScene5g" : "general",
			"snr5g" : 5,
			"checkInterval5g" : 300,
			"utmostPower5g" : 1,
			"vipUser5ModeUserDefine" : 20,
			"radio5gSliceEnable" : false,
			"radio5gSliceRtt" : 20,
			"radio5gSliceRatio" : 60,
			"radio5gSliceFrerEnhance" : false,
			"fastpassusers5gEnable" : true,
			"fastpassusers5gNum" : 5,
			"fastpassusers5gPeriod" : "20ms",
			"fastpassusers5gRatio" : 25,
			"vipUser5gPhyProtection" : "security-priority"
		},
		"groupRadio6g" : {
			"dca6gChannelSet" : "44,56,36,48,161,153,165,157,149,60,40,52,64",
			"dca6gBandwidth" : "20mhz",
			"scanSwitch6g" : true,
			"radio11ax6GuardIntervalMode" : "1dot6",
			"tpc6gMinTxPwr" : 9,
			"tpc6gMaxTxPwr" : 127,
			"tpc6gCoverageThreshold" : -60,
			"uacClientEnableFlag6g" : false,
			"uacAccess6gThrehold" : 64,
			"uacReachthresHold6G" : 1,
			"radio6gVhtAMsduEnable" : false,
			"radio6gMaxFrameNum" : 2,
			"radio6gMulticastRate" : "6",
			"smartRoamScene6g" : "general",
			"smartRoamSnr6g" : 5,
			"smartRoamCheckInterval6g" : 300,
			"utmostPower6g" : 1,
			"vipUser6gModeUserDefine" : 20,
			"enableFlag6g" : false,
			"fastpassusers6gEnable" : true,
			"fastpassusers6gNum" : 5,
			"fastpassusers6gPeriod" : "20ms",
			"fastpassusers6gRatio" : 25,
			"vipUser6gPhyProtection" : "security-priority"
		}
	}
}

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