华为云用户手册

  • 请求示例 HTTP的示例 POST /v1/netcfg/sites/dfs-groups/13874933-09ae-cfff-9883-bcaa33422118/m-lags HTTPS 1.1 Host:192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-AC CES S-TOKEN:CA48D152F6B19D84:637C38259E6974E17788348128A430FEE150E874752CE754B6BF855281219925 { "dfsGroupName": "MLAG01", "mode": "active-active", "peerLink": [ { "deviceId": "cfff4933-39aa-cfaf-9833-bcaa13874933", "deviceName": "device1", "ifName": "Eth-Trunk1", "priority": 150, "peerDeviceId": "09ae4933-196e-cfef-9183-bcaa13874a3c", "peerDeviceName": "device2", "peerIfName": "Eth-Trunk1", "peerPriority": 100 }], "mLagMemberList": [ { "mLagId": "1", "mLagMemberlink": { "deviceId": "cfff4933-39aa-cfaf-9833-bcaa13874933", "deviceName": "device1", "ifName": "Eth-Trunk2", "peerDeviceId": "09ae4933-196e-cfef-9183-bcaa13874a3c", "peerDeviceName": "device2", "peerIfName": "Eth-Trunk2", } }] }
  • 响应示例 返回状态码为204:初始化配置成功 HTTP/1.1 204 No Content 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 返回状态码为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
  • 请求参数 表2 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 mlagConfiguration 是 REFERENCE 详细请参见表3。 Dfs-Group、Peer-Link以及成员口相关的配置 - 表3 MlagConfigration对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 dfsGroupName 否 string 0~64个字符。满足正则表达^[a-zA-Z0-9_.@-]+$。 - Dfs-Group组名称。 "dfsGroup1" mode 否 string 0~14个字符。满足正则表达active-standby|active-active。 active-active Dfs-Group组级别的工作模式,可不填,默认双活模式, 可指定主备模式。 "active-active" dualActiveDetectLink 否 REFERENCE 详细请参见表4。 配置双主检测链路。 - peerLink 否 ARRAY_REFERENCE 0-1个列表项,详细请参见表5。 为Dfs-Group指定的Peer-Link链路,仅能指定一条 - mLagMemberList 否 ARRAY_REFERENCE 0-1024个列表项,详细请参见表6。 成员列表。 - 表4 DualActiveDetectLink对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 deviceId 否 string 0~36个字符。 - 设备ID,uuid格式。 "fbde1c5d-5b94-49e3-a912-48641015e45c" deviceName 否 string 0~64个字符。 - 本端设备名称。 "fw1" ifName 否 string 0~64个字符。 - 双主检测本端接口名称,物理口,非Eth-Trunk口。 "10GE 1/0/7" peerDeviceId 否 string 0~36个字符。 - 设备ID,uuid格式。 "fbde1c5d-5b94-49e3-a912-48641015e45d" peerDeviceName 否 string 0~64个字符。 - 对端设备名称。 "fw2" peerIfName 否 string 0~64个字符。 - 双主检测对端接口名称,物理口,非Eth-Trunk口。 "10GE 1/0/7" ipPoolName 否 string 0~32个字符。 - 为接口分配IP地址的资源池名称。 "CoreIpPool" 表5 MlagLinkDto对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 deviceId 否 string 0~36个字符。 - 设备ID,uuid格式。 "fbde1c5d-5b94-49e3-a912-48641015e45c" deviceName 否 string 0~64个字符。 - 设备名称。 "fw1" ifName 否 string 0~64个字符。 - 设备名称。 "fw1" priority 否 int32 [1-254] 150 本端设备优先级。 100 peerDeviceId 否 string 0~36个字符。 - 设备ID,uuid格式。 "fbde1c5d-5b94-49e3-a912-48641015e45c" peerDeviceName 否 string 0~64个字符。 - 设备名称。 "fw1" peerIfName 否 string 0~64个字符。 - 设备名称。 "fw1" peerPriority 否 int32 [1-254] 100 对端设备优先级。 100 表6 MlagMembersDto对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 mLagId 否 string 0~36个字符。 - M-LAG的组id。 "1" mLagMemberlink 否 REFERENCE 详细请参见表5。 M-LAG的成员链路。 -
  • 响应示例 返回状态码为200:删除成功,响应体参考CommonAaaResponse。 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" : "" } 返回状态码为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
  • 请求示例 HTTP的示例 DELETE /controller/campus/v1/sdwan/aaa/authentication/00000000-0000-0000-0000-000000000000 HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy
  • 响应参数 返回状态码为200:删除成功,响应体参考CommonAaaResponse。 表2 CommonAaaResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~10个字符。 - 错误码。 "0" errmsg string 0~255个字符。 - 错误描述。 "" 返回状态码为400:请求参数错误。 详细信息请参见实际响应消息体。 返回状态码为500:内部异常。 详细信息请参见实际响应消息体。
  • 响应示例 返回状态码为200:更新BGP对等体出参。 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" : "", "success" : { "linkId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "peerInfo" : { "coreAs" : 65002, "corePeerIp" : "192.168.10.1", "gatewayAs" : 100, "gatewayPeerIp" : "192.168.10.1", "keepaliveTime" : 60, "holdTime" : 180, "authMode" : "KEYCHAIN", "md5Pwd" : "Abc123", "keyChainName" : "keyChainName", "bfdEnable" : false, "bfdInformation" : { "minTxInterval" : 1000, "minRxInterval" : 1000, "detectMultiplier" : 3 } }, "coreBgpAdvancedInfo" : { "deviceId" : "b473136d-17ff-4f4f-9fa9-a4c0e1e87e42", "familyGlobalInfo" : { "externalPreferences" : 30, "defaultRouteRedistribution" : false, "routeRedistribute" : ["Static","Direct"], "aggregationRoute" : ["192.168.10.0/24"], "compareDifAsMed" : false, "maxLoadBalanceNum" : 1 }, "exportRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "importRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "allowAsLoop" : 1, "ebgpMaxHop" : 1, "peerIgnore" : false, "advertiseCommunity" : false }, "gatewayBgpAdvancedInfo" : { "deviceId" : "b473136d-17ff-4f4f-9fa9-a4c0e1e87e42", "familyGlobalInfo" : { "externalPreferences" : 30, "defaultRouteRedistribution" : false, "routeRedistribute" : ["Static","Direct"], "aggregationRoute" : ["192.168.10.0/24"], "compareDifAsMed" : false, "maxLoadBalanceNum" : 1 }, "exportRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "importRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "allowAsLoop" : 1, "ebgpMaxHop" : 1, "peerIgnore" : false, "advertiseCommunity" : false }, "coreBgpPeers" : [ { "coreAs" : 65002, "corePeerIp" : "192.168.10.1", "gatewayAs" : 100, "gatewayPeerIp" : "192.168.10.1", "keepaliveTime" : 60, "holdTime" : 180, "authMode" : "KEYCHAIN", "md5Pwd" : "Abc123", "keyChainName" : "keyChainName", "bfdEnable" : false, "bfdInformation" : { "minTxInterval" : 1000, "minRxInterval" : 1000, "detectMultiplier" : 3 }, "deviceId" : "b473136d-17ff-4f4f-9fa9-a4c0e1e87e42", "familyGlobalInfo" : { "externalPreferences" : 30, "defaultRouteRedistribution" : false, "routeRedistribute" : ["Static","Direct"], "aggregationRoute" : ["192.168.10.0/24"], "compareDifAsMed" : false, "maxLoadBalanceNum" : 1 }, "exportRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "importRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "allowAsLoop" : 1, "ebgpMaxHop" : 1, "peerIgnore" : false, "advertiseCommunity" : false } ], "gatewayBgpPeers" : [ { "coreAs" : 65002, "corePeerIp" : "192.168.10.1", "gatewayAs" : 100, "gatewayPeerIp" : "192.168.10.1", "keepaliveTime" : 60, "holdTime" : 180, "authMode" : "KEYCHAIN", "md5Pwd" : "Abc123", "keyChainName" : "keyChainName", "bfdEnable" : false, "bfdInformation" : { "minTxInterval" : 1000, "minRxInterval" : 1000, "detectMultiplier" : 3 }, "deviceId" : "b473136d-17ff-4f4f-9fa9-a4c0e1e87e42", "familyGlobalInfo" : { "externalPreferences" : 30, "defaultRouteRedistribution" : false, "routeRedistribute" : ["Static","Direct"], "aggregationRoute" : ["192.168.10.0/24"], "compareDifAsMed" : false, "maxLoadBalanceNum" : 1 }, "exportRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "importRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "allowAsLoop" : 1, "ebgpMaxHop" : 1, "peerIgnore" : false, "advertiseCommunity" : false } ] }, "fail" : { "linkId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "coreBgpFailInfo" : { "errcode" : "0", "errmsg" : "", "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "bgpAs" : 100, "peerIp" : "192.168.10.1" }, "gatewayBgpFailInfo" : { "errcode" : "0", "errmsg" : "", "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "bgpAs" : 100, "peerIp" : "192.168.10.1" }, "coreBgpBaseInfos" : [ { "errcode" : "0", "errmsg" : "", "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "bgpAs" : 100, "peerIp" : "192.168.10.1" } ], "gatewayBgpBaseInfos" : [ { "errcode" : "0", "errmsg" : "", "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "bgpAs" : 100, "peerIp" : "192.168.10.1" } ] } } 返回状态码为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
  • 请求示例 HTTP的示例 PUT /controller/campus/v1/lanwan/interconnection/route/bgp HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy { "linkId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "peerInfo" : { "coreAs" : 65002, "corePeerIp" : "192.168.10.1", "gatewayAs" : 100, "gatewayPeerIp" : "192.168.10.1", "keepaliveTime" : 60, "holdTime" : 180, "authMode" : "KEYCHAIN", "md5Pwd" : "Abc123", "keyChainName" : "keyChainName", "bfdEnable" : false, "bfdInformation" : { "minTxInterval" : 1000, "minRxInterval" : 1000, "detectMultiplier" : 3 } }, "coreBgpAdvancedInfo" : { "deviceId" : "b473136d-17ff-4f4f-9fa9-a4c0e1e87e42", "familyGlobalInfo" : { "externalPreferences" : 30, "defaultRouteRedistribution" : false, "routeRedistribute" : ["Static","Direct"], "aggregationRoute" : ["192.168.10.0/24"], "compareDifAsMed" : false, "maxLoadBalanceNum" : 1 }, "exportRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "importRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "allowAsLoop" : 1, "ebgpMaxHop" : 1, "peerIgnore" : false, "advertiseCommunity" : false }, "gatewayBgpAdvancedInfo" : { "deviceId" : "b473136d-17ff-4f4f-9fa9-a4c0e1e87e42", "familyGlobalInfo" : { "externalPreferences" : 30, "defaultRouteRedistribution" : false, "routeRedistribute" : ["Static","Direct"], "aggregationRoute" : ["192.168.10.0/24"], "compareDifAsMed" : false, "maxLoadBalanceNum" : 1 }, "exportRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "importRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "allowAsLoop" : 1, "ebgpMaxHop" : 1, "peerIgnore" : false, "advertiseCommunity" : false }, "coreBgpPeers" : [ { "coreAs" : 65002, "corePeerIp" : "192.168.10.1", "gatewayAs" : 100, "gatewayPeerIp" : "192.168.10.1", "keepaliveTime" : 60, "holdTime" : 180, "authMode" : "KEYCHAIN", "md5Pwd" : "Abc123", "keyChainName" : "keyChainName", "bfdEnable" : false, "bfdInformation" : { "minTxInterval" : 1000, "minRxInterval" : 1000, "detectMultiplier" : 3 }, "deviceId" : "b473136d-17ff-4f4f-9fa9-a4c0e1e87e42", "familyGlobalInfo" : { "externalPreferences" : 30, "defaultRouteRedistribution" : false, "routeRedistribute" : ["Static","Direct"], "aggregationRoute" : ["192.168.10.0/24"], "compareDifAsMed" : false, "maxLoadBalanceNum" : 1 }, "exportRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "importRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "allowAsLoop" : 1, "ebgpMaxHop" : 1, "peerIgnore" : false, "advertiseCommunity" : false } ], "gatewayBgpPeers" : [ { "coreAs" : 65002, "corePeerIp" : "192.168.10.1", "gatewayAs" : 100, "gatewayPeerIp" : "192.168.10.1", "keepaliveTime" : 60, "holdTime" : 180, "authMode" : "KEYCHAIN", "md5Pwd" : "Abc123", "keyChainName" : "keyChainName", "bfdEnable" : false, "bfdInformation" : { "minTxInterval" : 1000, "minRxInterval" : 1000, "detectMultiplier" : 3 }, "deviceId" : "b473136d-17ff-4f4f-9fa9-a4c0e1e87e42", "familyGlobalInfo" : { "externalPreferences" : 30, "defaultRouteRedistribution" : false, "routeRedistribute" : ["Static","Direct"], "aggregationRoute" : ["192.168.10.0/24"], "compareDifAsMed" : false, "maxLoadBalanceNum" : 1 }, "exportRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "importRoutePolicy" : [ { "nodeMatchmode" : "PERMIT", "matchCondition" : { "ipPrefixList" : [ { "ipAddress" : "192.168.10.0", "maskLength" : 24, "maskUpperLimit" : 24, "maskLowerLimit" : 24 } ], "communityFilters" : [ { "name" : "teamName", "communityNodes" : [ { "matchMode" : "permit", "communityMembers" : ["1","2"] } ], "wholeMatch" : true } ] }, "applyAction" : { "applyCommunity" : { "communityNumbers" : [ 100 ], "communityNumberList" : [ "100" ] }, "applyAsPath" : { "asNumbers" : [ 100 ] }, "applyMetric" : { "cost" : 60 }, "preferredValue" : 100, "localPreference" : 100, "nodeIndex" : 20060 } } ], "allowAsLoop" : 1, "ebgpMaxHop" : 1, "peerIgnore" : false, "advertiseCommunity" : false } ] }
  • 响应示例 返回状态码为200:响应对象,接口返回体参考GetIpListResponseVo。 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" : "", "pageVo" : { "pageIndex" : 1, "pageSize" : 20, "totalRecords" : 1 }, "ipItems" : [ { "siteId" : "d235353a-1284-4aad-9f35-18af543fcf5b", "siteName" : "s74", "deviceName" : "AR8140-74", "deviceId" : "6a650c65-b5d7-482f-811a-18efbbde48b6", "linkName" : "GigabitEthernet0/0/3", "vrf" : "underlay_2", "vpnName" : "vpn1", "ipAddress" : "10.1.1.1", "ipv6Address" : "10::1", "usage" : "UNDERLAY" } ] } 返回状态码为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
  • 响应参数 返回状态码为200:响应对象,接口返回体参考GetIpListResponseVo。 表4 GetIpListResponseVo对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~256个字符。 - 错误码。 "0" errmsg string 0~256个字符。 - 错误信息。 "" pageVo REFERENCE 详细请参见表5。 分页的响应数据。 - ipItems ARRAY_REFERENCE 0-65535个列表项,详细请参见表6。 Ip资源详细信息列表。 - 表5 PageVo对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 pageIndex int32 [1-1000] - 当前页数。 1 pageSize int32 [1-1000] - 每页显示数量。 20 totalRecords int32 [1-65535] - 总的数据条数。 1 表6 IpItem对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 siteId string [1-64] - 站点Id。 "d235353a-1284-4aad-9f35-18af543fcf5b" siteName string [0-64] - 站点名称。 "s74" deviceName string 0~64个字符。 - 设备名称。 "AR8140-74" deviceId string 1~36个字符。 - 设备Id。 "6a650c65-b5d7-482f-811a-18efbbde48b6" linkName string 0~128个字符。 - 链路名称。 "GigabitEthernet0/0/3" vrf string 0~64个字符。 - vrf实例名称。 "underlay_2" vpnName string 0~128个字符。 - VN名称。 "vpn1" ipAddress string 0~128个字符。 - IP地址。 "10.1.1.1" ipv6Address string 0~128个字符。 - IPV6地址。 "10::1" usage string - - 业务类型:| UNDERLAY:UNDERLAY, evpn:EVPN, inter-cpe:内联链路, lan-access:LAN侧接入, inter-loopback:内环隧道, inter-tunnel, system:EVPN管理口, VAS:VAS, iwg:IWG, tunnel-configuration:隧道配置, cloud-security: 云安全 , management:管理配置, unknown:其他。 "UNDERLAY" 返回状态码为400:校验异常。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误。 详细信息请参见实际响应消息体。
  • 请求示例 HTTP的示例 POST /controller/campus/v1/sdwan/performance/ipresources/query HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy { "siteIdList" : [ "d235353a-1284-4aad-9f35-18af543fcf5b" ], "vpnId" : "b09a0266-f34e-125d-ce23-ad1278b6c59a", "ipAddress" : "10.1.1.1", "scopeType" : "INTER_ACCESS", "pageDto" : { "pageIndex" : 1, "pageSize" : 20 } }
  • 响应示例 返回状态码为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" : { "id" : "", "groupName" : "HUAWEI", "parentId" : "22fbb5f2-d07e-4710-94ac-7705517ab842", "description" : "product" } } 返回状态码为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
  • 请求示例 HTTP的示例 PUT /controller/campus/v1/accountservice/terminalmgr/endpointgroup/22fbb5f2-d07e-4710-94ac-7705517ab842 HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy { "groupName" : "HUAWEI", "description" : "product" }
  • 请求参数 表2 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 modifyParam 是 REFERENCE 详细请参见表3。 待修改的终端组详细信息。响应体参考TerminalGroupUpdateDto。 - 表3 TerminalGroupUpdateDto对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 groupName 是 string 0~64个字符。 - 终端组名称,1~64个字符,不支持特殊字符。 "HUAWEI" description 否 string 0~64个字符。 - 终端组描述,不支持特殊字符。 "product"
  • 响应示例 返回状态码为200:配置的设备BootROM密码。 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" : "" }
  • 请求示例 HTTP的示例 PUT /controller/campus/v1/networkservice/networkconfig/net/bootrom/sites/fbb684c8-0d37-496f-bafa-4b06d5151e2e/bootrom HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy { "passwd" : "Iam@example1", "oldPasswd" : "Iam@example1" }
  • URI /controller/campus/v1/networkservice/networkconfig/net/bootrom/sites/{siteId}/bootrom 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 siteId 是 string 36个字符。 - 站点标识,UUID格式。 "fbb684c8-0d37-496f-bafa-4b06d5151e2e"
  • 请求参数 表2 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 bootRomDto 是 REFERENCE 详细请参见表3。 配置的设备BootROM密码。 - 表3 BootRomDto对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 passwd 否 password 8~255个字符。 - 该字段可能包含敏感信息和个人数据,请妥善做好保护。 V200版本的LSW设备新密码必须包含如下规则: 1.密码长度必须在8-80位。 2.密码必须满足复杂度,即至少包含英文大写字母(A~Z)、英文小写字母(a~z)、数字(0~9)、特殊字符(如!、@、#、$、%)等中的三种,不允许包含'、?和空格。 3.密码中不能包含两个以上连续的相同字符。 V600版本的LSW设备新密码必须包含如下规则: 1、长度限制 8~255 2、新旧密码不能相同 3、密码不包含空格 4、密码复杂度校验 小写字母 大写字母 数字 特殊字符至少包含两种 "Iam@example1" oldPasswd 否 password 8~255个字符。 - 该字段可能包含敏感信息和个人数据,请妥善做好保护。 V200版本的LSW设备不需要此字段,V600版本的LSW设备旧密码必须包含如下规则: 1、长度限制 8~255 2、新旧密码不能相同 3、密码不包含空格 4、密码复杂度校验 小写字母 大写字母 数字 特殊字符至少包含两种 "Iam@example1"
  • 响应示例 返回状态码为200:查询AP VLAN POOL成功,响应体参考GetApVlanPoolResponse。 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" : "", "siteId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "data" : [ { "id" : "fbde1c5d-5b94-49e3-a912-48641015e45c", "name" : "VLANPOOLTemplate1", "range" : "3001", "type" : "even" } ], "pageIndex" : 1, "pageSize" : 1, "totalRecords" : 1 } 返回状态码为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
  • URI /v1/networkconfig/wlan/ap/vlanpools 表1 query参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 siteId 是 string 36个字符。 - 站点ID。 "fbb684c8-0d37-496f-bafa-4b06d6151e2e" pageIndex 否 int32 [1-1500] 1 第几页的数据。 1 pageSize 否 int32 [1-100] 20 一页多少条数据。 1 vlanPoolName 否 string 0~32个字符。 - VLAN POOL名称。 "pool1"
  • 请求示例 HTTP的示例 GET /v1/networkconfig/wlan/ap/vlanpools?siteId=fbb684c8-0d37-496f-bafa-4b06d6151e2e&pageIndex=1&pageSize=1&vlanPoolName=pool1 HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy
  • 响应参数 返回状态码为200:配置的设备离线管理SSID密码。 表4 MngVapPskResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 random int32 [0-1] - 密码是否已被设置(0:未设置,1:已设置)。 0 errcode string 0~256个字符。 - 错误码。 "0" errmsg string 0~256个字符。 - 错误信息。 ""
  • 请求参数 表2 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 mngVapPskDto 是 REFERENCE 详细请参见表3。 配置的设备离线管理SSID密码。 - 表3 MngVapPskDto对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 passwd 否 password 8~63个字符。 - 该字段可能包含敏感信息和个人数据,请妥善做好保护。 1、密码长度必须在8-63位。 2、密码必须满足复杂度,即至少包含英文大写字母(A~Z)、英文小写字母(a~z)、数字(0~9)、特殊字符(如!、@、#、$、%)等中的三种,不允许包含'、?和空格。 3、密码中不能包含两个以上连续的相同字符。 "Example@123"
  • 请求示例 HTTP的示例 PUT /controller/campus/v1/sdwan/aaa/devicemanager/00000000-0000-0000-0000-000000000000 HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy { "siteId" : "00000000-0000-0000-0000-000000000000", "deviceId" : "00000000-0000-0000-0000-000000000000", "domainId" : "00000000-0000-0000-0000-000000000000", "userName" : "name", "state" : "active", "serviceType" : "['http','ssh','terminal']", "privilegeLevel" : 0, "expireTime" : "2025-04-12T23:20:50.520Z", "timerange" : "10:00-12:00", "idleTimeout" : 5, "deviceUserId" : "00000000-0000-0000-0000-000000000000", "password" : "Example@123" }
  • 响应示例 返回状态码为200:修改成功,响应体参考DeviceManagerUserResponse。 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" : { "siteId" : "00000000-0000-0000-0000-000000000000", "deviceId" : "00000000-0000-0000-0000-000000000000", "domainId" : "00000000-0000-0000-0000-000000000000", "userName" : "name", "state" : "active", "serviceType" : "['http','ssh','terminal']", "privilegeLevel" : 0, "expireTime" : "2025-04-12T23:20:50.520Z", "timerange" : "10:00-12:00", "idleTimeout" : 5, "deviceUserId" : "00000000-0000-0000-0000-000000000000", "createTime" : "1985-04-12 23:20:50" } } 返回状态码为400:请求参数错误,响应体参考CommonDeviceManagerResponse。 HTTP/1.1 400 Bad Request Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive { "errcode" : "0x587679", "errmsg" : "" } 返回状态码为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
  • 响应参数 返回状态码为200:修改成功,响应体参考DeviceManagerUserResponse。 DeviceManagerUserResponse对象的参数列表,详细请参见表3。 返回状态码为400:请求参数错误,响应体参考CommonDeviceManagerResponse。 表4 CommonDeviceManagerResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~64个字符。 - 错误码。 "0" errmsg string 0~255个字符。 - 错误描述。 "" 返回状态码为500:内部异常。 详细信息请参见实际响应消息体。
  • 请求参数 表2 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 body 是 REFERENCE 详细请参见表3。 设备管理员。 - 表3 DeviceManagerUserRequest对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 siteId 是 uuid - - 站点ID,UUID格式。 "00000000-0000-0000-0000-000000000000" deviceId 是 uuid - - 设备ID,UUID格式。 "00000000-0000-0000-0000-000000000000" domainId 是 uuid - - 域ID,UUID格式,需要先创建域。 "00000000-0000-0000-0000-000000000000" userName 是 string 1~64个字符。 - 设备管理员名称。 创建后不允许修改。 其中V600版本设备的设备管理员名称有如下说明: a) 针对V600R021C00版本及之后版本的设备,名称为admin时补齐为administrator下发; b) 长度不能小于6; c) 不允许创建名称为administrator的设备管理员。 "name" state 否 string active block active 帐号状态,该字段可以设置为以下几种: a) active:激活状态 b) block:阻塞状态 激活状态的帐号可以进行登录认证,阻塞状态的帐号设备拒绝登录认证。 默认值active。 "active" serviceType 否 string - ['http'] 服务类型,该字段可以设置为以下几种: a) http b) ssh c) terminal http为不安全协议,建议使用更安全的服务类型。 默认值['http']。 "['http','ssh','terminal']" privilegeLevel 否 integer [0-15] 0 用户级别,取值范围:0~15。 其中FW设备的用户级别取值范围为0~3。默认值0。 0 expireTime 否 string 0~128个字符。满足正则表达((((20)(([2468][048])|([13579][26])))-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|(11))-(0[1-9]|[12][0-9]|(30)))|(((02)-(0[1-9]|[12][0-9])))))|(((20)(([2468][1235679])|([13579][01345789])))-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|(11))-(0[1-9]|[12][0-9]|(30)))|(((02)-(0[1-9]|[12][0-8]))))))T(([01][0-9])|(2[0-3])):([0-5][0-9]):([0-5][0-9])(\.\d{3})(Z|[\+\-]([0-5][0-9]):([0-5][0-9]))。 2099-12-31T00:00:00.000Z 帐号有效期截止时间,格式为YYYY-MM-DDTHH:MM:SS.SSSZ。 其中V600版本设备的帐号有效期截止时间最大可设置为2037-12-31T23:59:59.000Z。 默认2099-12-31T00:00:00.000Z,其中V600版本设备默认2037-12-31T23:59:59.000Z。 设备管理员创建后此属性不可修改。 "2025-04-12T23:20:50.520Z" timerange 否 string 1~128个字符。满足正则表达^(([01]?[0-9])|(2[0-3])):[0-5]?[0-9]-(([01]?[0-9])|(2[0-3])):[0-5]?[0-9]$。 - 指定userName接入时间段范围,格式:HH:MM-HH:MM。 设备管理员创建后不可修改。 "10:00-12:00" idleTimeout 否 int32 [0-1200] 10 用户的闲置超时时间,单位:秒。 默认为10。 5 deviceUserId 是 uuid - - 设备管理员ID,UUID格式。 "00000000-0000-0000-0000-000000000000" password 否 password 8~128个字符。 - 该字段可能包含敏感信息和个人数据,请妥善做好保护。 1.密码长度必须在8~128位。 2.密码必须满足复杂度,即至少包含英文大写字母(A~Z)、英文小写字母(a~z)、数字(0~9)、特殊字符(如!、@、#、$、%)等中的三种,V600版本的设备至少包含其中的四种,不允许包含'、?和空格。 3.密码中不能包含超过两个连续的相同字符。 4.密码不能为用户名或用户名的倒写。 "Example@123"
  • 请求示例 HTTP的示例 POST /controller/campus/v1/sdwan/policy/security/address-set/action/batch-delete HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy { "addressSetInfo" : [ { "id" : "000000-0000-0000-0000-000000000000", "name" : "test_1", "description" : "XXX", "addressSetType" : 0, "ipAddresses" : [ "192.168.0.0/24" ] } ] }
  • 响应示例 返回状态码为200:删除成功,响应体参考AddressSetResponse。 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" : "", "processInstanceId" : "", "success" : [ { "id" : "000000-0000-0000-0000-000000000000", "name" : "test_1", "description" : "XXX", "addressSetType" : 0, "ipAddresses" : [ "192.168.0.0/24" ] } ], "fail" : [ { "errcode" : "0x00c8000c", "errmsg" : "The parameter is invalid.", "data" : { "id" : "000000-0000-0000-0000-000000000000", "name" : "test_1", "description" : "XXX", "addressSetType" : 0, "ipAddresses" : [ "192.168.0.0/24" ] } } ] } 返回状态码为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
  • 响应示例 返回状态码为200:查询成功,响应体参考QueryLocatedDeviceDetailsResponse。 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" : "error", "data" : [ { "id" : "c2b378d8-145f-4e46-8d71-c3709695dd06", "name" : "AP6605", "status" : "0", "esn" : "AA50082925AAAA001154", "mac" : "xx:xx:xx:xx:xx:xx", "description" : "HUAWEI", "apType" : "cloud AP", "positionX" : "32", "positionY" : "32", "planPositionX" : "32", "planPositionY" : "32", "planPointId" : "75ade72a-e7a9-4c81-8fca-894e7ca9c2c2" } ] } 返回状态码为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
共100000条