华为云用户手册

  • URI /controller/campus/v1/sdwan/net/site/inter/connect/ipsec/tunnel 表1 query参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 id 否 string - - Ipsec Tunnel id。 "fbb684c8-0d37-496f-bafa-4b06d5151e2e" siteId 否 string - - 站点ID。 "fbb684c8-0d37-496f-bafa-4b06d5151e2e" vpnId 否 string - - VPN ID。 "00000000-0000-0000-0000-000000000000" keyWord 否 string - - 查询关键字。 "Tunnel0/0/1" pageIndex 否 int32 - 1 当前页数,默认是1。 1 pageSize 否 int32 - 20 每页显示数量,默认是20。 20 order 否 string 0~20个字符。 - 按照Tunnel端口名排序,asc:升序,desc:降序,不填写不排序。 "asc"
  • 请求示例 HTTP的示例 POST /controller/campus/v3/networkconfig/customized/fbde1c5d-5b94-49e3-a912-48641015e45c/apssid/action/batch-delete HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-AC CES S-TOKEN: x-yyyyyy { "ids" : [ "de5813f8ff1e41f5ba9c324da70b49ed" ] }
  • 响应参数 返回状态码为200:SSID全部删除成功,返回结构体参见APDeleteSsidResponse。 APDeleteSsidResponse对象的参数列表,详细请参见表4。 返回状态码为207:SSID部分删除成功,返回结构体参见APDeleteSsidResponse。 APDeleteSsidResponse对象的参数列表,详细请参见表4。 返回状态码为400:SSID删除失败,返回结构体参见APDeleteSsidResponse。 APDeleteSsidResponse对象的参数列表,详细请参见表4。 返回状态码为500:内部服务异常。 详细信息请参见实际响应消息体。
  • 响应示例 返回状态码为200:SSID全部删除成功,返回结构体参见APDeleteSsidResponse。 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" : "", "success" : [ "de5813f8ff1e41f5ba9c324da70b49ed" ], "fail" : [ { "errcode" : "0302000020", "errmsg" : "The site ID format is incorrect or the site does not exist", "id" : "de5813f8ff1e41f5ba9c324da70b49ed" } ] } 返回状态码为207:SSID部分删除成功,返回结构体参见APDeleteSsidResponse。 HTTP/1.1 207 Multi-Status 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" : "", "success" : [ "de5813f8ff1e41f5ba9c324da70b49ed" ], "fail" : [ { "errcode" : "0302000020", "errmsg" : "The site ID format is incorrect or the site does not exist", "id" : "de5813f8ff1e41f5ba9c324da70b49ed" } ] } 返回状态码为400:SSID删除失败,返回结构体参见APDeleteSsidResponse。 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 { "errcode" : "0", "errmsg" : "", "success" : [ "de5813f8ff1e41f5ba9c324da70b49ed" ], "fail" : [ { "errcode" : "0302000020", "errmsg" : "The site ID format is incorrect or the site does not exist", "id" : "de5813f8ff1e41f5ba9c324da70b49ed" } ] } 返回状态码为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
  • URI /controller/campus/v3/networkconfig/customized/{siteId}/apssid/action/batch-delete 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 siteId 是 string 36个字符。 - 站点模板个性化标识,UUID格式。 "fbde1c5d-5b94-49e3-a912-48641015e45c"
  • 响应示例 返回状态码为200:添加成功,响应体参考TimeFlowConfigsOutputDto。 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" : "", "total" : 10, "data" : [ { "id" : "a91e169602a24a68bad4aa639359c8cf", "timeFlowName" : "one", "siteId" : "75f8ed0f-810a-4ff5-8e64-67c81312d01c", "enableTrafficLimitMode" : true, "trafficLimitMode" : 1, "trafficLimit" : 34, "trafficLimitValue" : 34, "enableDurationLimitMode" : true, "durationLimitMode" : 1, "durationLimit" : 34, "durationLimitValue" : 34, "isReCount" : true, "isAnonymous" : false, "userGroupIds" : [ "33f8ed0f-810a-4ff5-8e64-67c81312d012" ], "description" : "a policy", "policyType" : 1, "oneTimeValue" : 60, "terminalTimeValue" : 1440, "terminalTimeUnit" : 1, "terminalFlowValue" : 1024, "terminalFlowUnit" : 1, "terminalReCountEnable" : true, "redirectEnable" : false, "redirectUrl" : "https://xxx.xxx.xxx.xxx" } ] } 返回状态码为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
  • 请求示例 HTTP的示例 POST /controller/campus/v1/authconfigservice/accessconfig/timeflowconfig 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 { "timeFlowName" : "one", "siteId" : "75f8ed0f-810a-4ff5-8e64-67c81312d01c", "enableTrafficLimitMode" : true, "trafficLimitMode" : 1, "trafficLimit" : 34, "trafficLimitValue" : 34, "enableDurationLimitMode" : true, "durationLimitMode" : 1, "durationLimit" : 34, "durationLimitValue" : 34, "isReCount" : true, "isAnonymous" : false, "userGroupIds" : [ "33f8ed0f-810a-4ff5-8e64-67c81312d012" ], "description" : "a policy", "policyType" : 1, "oneTimeValue" : 60, "terminalTimeValue" : 1440, "terminalTimeUnit" : 1, "terminalFlowValue" : 1024, "terminalFlowUnit" : 1, "terminalReCountEnable" : true, "redirectEnable" : false, "redirectUrl" : "https://xxx.xxx.xxx.xxx" }
  • 响应示例 返回状态码为200:修改认证模板成功,响应体参考LswAuthConfigResponse。 HTTPS 200 OK Date: Thu,13 Sep 2022 10:00:00 GMT Server: example-server Content-Type: application/json { "errcode":"0", "errmsg":"", "data":[ { "id":"64b15bd66c8f44c086994e35b32aac1c", "name":"test6666", "ssidName":"test6666", "authMode":1, "escapeStrategy":0, "escapeStrategyId":null, "escapePolicyName":null, "apFreeAuthEnable":null, "forceDomainEnable": true, "preAuthPrivilege":{ "preAuthPrivilegeEnable":false, "vlan":null }, "authFailPrivilege":{ "authFailPrivilegeEnable":false, "vlan":null }, "voiceDeviceNoAuth":{ "voiceDeviceNoAuthEnable":null, "vlan":null }, "hasPermission":null, "portalConfigDto":{ "pagePushMode":0, "freeAuthEnable":false, "freeAuthExpired":null, "freeAuthExpiredUnit":null, "internalPortalConfigDto":{ "portalProtocol":0, "pushProtocol":0, "pushMethod":0, "pushPageId":"9012b661-1750-4338-b84d-8ecf672bb790", "pushPageName":"默认用户名密码认证定制页面", "ipv6Enable":false, "accountingEnable":false, "accountingPeriod":null, "anonymousAuthEnable":null, "normalAuthEnable":null, "normalAccessConfigDto":{ "registerEnable":false, "userExpiredTime":null, "userExpiredUnit":null, "passwdExpiredTime":null, "passwdExpiredUnit":null, "accessMaxNumber":null, "userGroupId":null, "userGroupName":null }, "smsAuthEnable":null, "smsAccessConfigDto":null, "weChatUrlAuthEnable":null, "weChatAuthEnable":null, "socialMediaAuthEnable":null, "twitterAuthEnable":null, "sinaWeiboAuthEnable":null, "qqAuthEnable":null, "googleAuthEnable":null, "weComAuthEnable":null, "dingTalkEnable":null, "passcodeAuthEnable":null, "oneKeyAuthEnable":null, "qrCodeAuthEnable":null, "masterPortalTemplateId":null, "masterPortalTemplateName":null, "slavePortalServerEnable":null, "slavePortalTemplateId":null, "slavePortalTemplateName":null, "authorRedirectUrlParamEnable":null }, "relayPortalConfigDto":null, "thirdPortalConfigDto":null }, "radiusConfigDto":null } ] } 返回状态码为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
  • 请求示例 HTTP的示例 PUT /controller/campus/api/v1/lswauth/wireless/20ab206c-5f5f-4cb6-9090-05cda5e9727b HTTPS Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN:CA48D152F6B19D84:637C38259E6974E17788348128A430FEE150E874752CE754B6BF855281219925 { "id":"64b15bd66c8f44c086994e35b32aac1c", "name":"test6666", "ssidName":"test6666", "authMode":1, "escapeStrategy":0, "preAuthPrivilege":{ "preAuthPrivilegeEnable":false, "vlan":"" }, "authFailPrivilege":{ "authFailPrivilegeEnable":false, "vlan":"" }, "voiceDeviceNoAuth":{ }, "portalConfigDto":{ "pagePushMode":0, "freeAuthEnable":false, "internalPortalConfigDto":{ "portalProtocol":0, "pushProtocol":0, "pushMethod":0, "ipv6Enable":false, "accountingEnable":false, "accountingPeriod":null, "pushPageId":"9012b661-1750-4338-b84d-8ecf672bb790", "pushPageName":"默认用户名密码认证定制页面", "normalAccessConfigDto":{ "registerEnable":false, "userExpiredTime":null } } } }
  • 响应示例 返回状态码为200:删除成功,响应体参考CommonResponse。 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" : "" } 返回状态码为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
  • 请求示例 HTTP的示例 POST /controller/campus/v1/sdwan/snmp/user/00000000-0000-0000-0000-000000000000/mibView/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 { "names" : [ "view1" ] }
  • 请求示例 HTTP的示例 POST /controller/sdwan/v1/naas/virtual/device/batch-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 { "parentId" : "00000000-0000-0000-0000-000000000000", "deviceName" : "tenant1", "deviceId" : "00000000-0000-0000-0000-000000000000", "status" : 0, "sort" : "+deviceName,-deviceName", "pageIndex" : 1, "pageSize" : 10 }
  • 响应示例 返回状态码为200:查询成功返回。 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" : "", "totalRecords" : 100, "data" : [ { "parentId" : "00000000-0000-0000-0000-000000000000", "deviceId" : "00000000-0000-0000-0000-000000000000", "deviceName" : "tenant1", "isExclusiveResource" : false, "vpnNumber" : 100, "bandWidth" : 100, "siteNumber" : 100, "sdwanBandwidth" : 100, "encryptedSdwanBandwidth" : 100, "vxlanBandwidth" : 100, "status" : 0, "role" : "Interworking Gateway", "siteId" : "00000000-0000-0000-0000-000000000000", "siteName" : "site1" } ] } 返回状态码为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
  • 请求参数 表1 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 queryPara 是 REFERENCE 详细请参见表2。 子设备信息。 - 表2 VirtualDeviceQueryRequest对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 parentId 否 string 0~128个字符。 - 父设备ID。 "00000000-0000-0000-0000-000000000000" deviceName 否 string 0~128个字符。 - 设备名称。 "tenant1" deviceId 否 string 0~128个字符。 - 设备ID。 "00000000-0000-0000-0000-000000000000" status 否 int32 [0-4] - 子设备状态。0:注册异常,1:上线异常,2:离线异常,3:在线,4:离线。 0 sort 否 string 0~128个字符。 - 排序。 "+deviceName,-deviceName" pageIndex 否 int32 [1-1000] - 页面索引,不填时默认为1。 1 pageSize 否 int32 [1-100] - 页面大小。 10
  • 响应示例 返回状态码为200:查询成功,响应体参考QueryBandwidthMgrApplyPolicyResponse。 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" : [ { "policyId" : "00000000-0000-0000-0000-000000000000", "sites" : [ { "siteId" : "00000000-0000-0000-0000-000000000000", "siteName" : "Site1" } ] } ] } 返回状态码为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
  • URI /controller/campus/v1/sdwan/policy/traffic/bandwidth-management-policies/apply-policy 表1 query参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 policyId 否 string 0~64个字符。 - FW带宽管理策略ID。 "00000000-0000-0000-0000-000000000000" vpnId 否 string 0~64个字符。 - VPN业务ID。vpnId和vpnGroupId最多只能配置其中一个进行查询。 "00000000-0000-0000-0000-000000000000" vpnGroupId 否 string 0~64个字符。 - VPN Group业务ID。vpnId和vpnGroupId最多只能配置其中一个进行查询。 "00000000-0000-0000-0000-000000000000" siteId 否 string 0~64个字符。 - 站点ID。 "00000000-0000-0000-0000-000000000000"
  • 响应参数 返回状态码为200:查询成功,响应体参考QueryBandwidthMgrApplyPolicyResponse。 表2 QueryBandwidthMgrApplyPolicyResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string - - 错误码。 "0" errmsg string - - 错误信息。 "" data ARRAY_REFERENCE 0-4096个列表项,详细请参见表3。 策略应用的站点信息。 - 表3 BandwidthMgrApplyPolicyInfo对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 policyId string 0~64个字符。 - 策略id。 "00000000-0000-0000-0000-000000000000" sites ARRAY_REFERENCE 0-2000个列表项,详细请参见表4。 策略应用的站点信息。 - 表4 Site对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 siteId string 0~64个字符。 - 站点id "00000000-0000-0000-0000-000000000000" siteName string 0~64个字符。 - 站点名称。 "Site1" 返回状态码为400:请求参数错误。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误。 详细信息请参见实际响应消息体。
  • 请求示例 HTTP的示例 GET /controller/campus/v1/sdwan/policy/traffic/bandwidth-management-policies/apply-policy?policyId=00000000-0000-0000-0000-000000000000&vpnId=00000000-0000-0000-0000-000000000000&vpnGroupId=00000000-0000-0000-0000-000000000000&siteId=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
  • URI /restconf/v2/data/huawei-ac-nes-device:nes/ne/{id}/huawei-nce-e-bd:bd 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 id 是 string 36个字符。满足正则表达[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}。 - 设备ID。 "00000000-0000-0000-0000-000000000000"
  • 响应示例 返回状态码为200:操作成功。 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 { "huawei-nce-e-bd:bd" : [ { "config-status" : "configured-database-success", "last-committed-time" : "2022-01-01 00:00:00", "related-pkg-version" : "1.0.1", "edit-state" : "RUNNING", "bd-id" : 10, "vni" : 10, "vlan-id" : 10, "split-horizon" : "disable" } ] } 返回状态码为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
  • 请求示例 HTTP的示例 GET /restconf/v2/data/huawei-ac-nes-device:nes/ne/00000000-0000-0000-0000-000000000000/huawei-nce-e-bd:bd 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 restconf-transaction-id: "00000000-0000-0000-0000-000000000000"
  • 响应参数 返回状态码为200:操作成功。 表3 bd-list对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 huawei-nce-e-bd:bd ARRAY_REFERENCE 详细请参见表4。 Bridge Domain配置参数。 - 表4 nes-ne-bd对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 config-status string reserved initial configuring-database configured-database-success configured-database-failed configuring-device configured-device-success configured-device-failed reserved 配置状态,对应保留未用状态、初始状态、数据库存储中状态、预配置状态、数据库存储失败状态、部署中状态、成功状态、失败状态;不支持编辑,仅查询返回。 "configured-database-success" last-committed-time string 0~255个字符。 - 最后提交时间,该特性最后提交时间;不支持编辑,仅查询返回。 "2022-01-01 00:00:00" related-pkg-version string 0~255个字符。 - 包版本,插件包版本;不支持编辑,仅查询返回。 "1.0.1" edit-state string RUNNING CANDIDATE UNDEPLOYING UNDEPLOYED - 编辑状态,对应运行状态、候选状态、取消部署状态、未部署状态;不支持编辑,仅查询返回。 "RUNNING" bd-id int64 [1-16777215] - Bridge Domain ID,单一主键字段。 10 vni int64 [1-16777215] - VNI ID。 10 vlan-id int32 [1-4094] - VLAN ID,不支持AR6700V-L款型。 10 split-horizon string enable disable disable 成员隔离,不支持AR6700V子设备和AR6700V-L款型。 "disable" 返回状态码为400:请求参数错误。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误。 详细信息请参见实际响应消息体。
  • 响应参数 返回状态码为200:查询成功,响应体参考QueryDeviceDot1xConfigRsp。 表2 QueryDeviceDot1xConfigRsp对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~10个字符。 - 错误码。 "0" errmsg string 0~255个字符。 - 错误描述。 "" pageIndex int32 [1-10000] - 当前页,从1开始。 1 pageSize int32 [1-10000] - 页大小。 10 totalRecords int32 [1-100000] - 总记录数。 100 data ARRAY_REFERENCE 0-10000个列表项,详细请参见表3。 - - 表3 DetailedDeviceDot1xConfig对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 id string 0~36个字符。 - 标识ID。 "fbb684c8-ddaa-3451-bafa-4b06d5158956" siteId string 0~36个字符。 - 站点ID。 "fbb684c8-ddaa-3451-bafa-4b06d5158956" deviceId string 0~36个字符。 - 设备ID。 "fbb684c8-ddaa-3451-bafa-4b06d5158956" interfaceId string 0~36个字符。 - 设备接口ID。 "fbb684c8-ddaa-3451-bafa-4b06d5158956" dot1xTemplateName string 1~31个字符。 - 802.1X和MAC认证模板名称。 "dot1xtemplate1" createTime string 0~13个字符。 - 使能时间 "1604909066000" 返回状态码为400:请求参数错误。 详细信息请参见实际响应消息体。 返回状态码为500:内部异常。 详细信息请参见实际响应消息体。
  • 响应示例 返回状态码为200:查询成功,响应体参考QueryDeviceDot1xConfigRsp。 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" : "", "pageIndex" : 1, "pageSize" : 10, "totalRecords" : 100, "data" : [ { "id" : "fbb684c8-ddaa-3451-bafa-4b06d5158956", "siteId" : "fbb684c8-ddaa-3451-bafa-4b06d5158956", "deviceId" : "fbb684c8-ddaa-3451-bafa-4b06d5158956", "interfaceId" : "fbb684c8-ddaa-3451-bafa-4b06d5158956", "dot1xTemplateName" : "dot1xtemplate1", "createTime" : "1604909066000" } ] } 返回状态码为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
  • URI /controller/campus/rest/sdwan/v1/device/dot1x/config 表1 query参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 pageIndex 是 int32 [0-10000] - 起始页。 pageIndex或pageSize为0时表示查询所有。 1 pageSize 是 int32 [0-100] - 页行记录数。 pageIndex或pageSize为0时表示查询所有。 10 siteId 否 string 0~36个字符。 - 站点ID。 "fbb684c8-0d37-496f-bafa-4b06d5151e2e" deviceId 否 string 0~36个字符。 - 设备ID。 "fbb684c8-0d37-496f-bafa-4b06d5151e2e" interfaceId 否 string 0~36个字符。 - 设备接口ID。 "fbb684c8-0d37-496f-bafa-4b06d5151e2e"
  • 请求示例 HTTP的示例 GET /controller/campus/rest/sdwan/v1/device/dot1x/config?pageIndex=1&pageSize=10&siteId=fbb684c8-0d37-496f-bafa-4b06d5151e2e&deviceId=fbb684c8-0d37-496f-bafa-4b06d5151e2e&interfaceId=fbb684c8-0d37-496f-bafa-4b06d5151e2e 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配置信息,返回结构体参见SiteTemplateDeleteSsidResponse。 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" : "", "success" : [ "de5813f8ff1e41f5ba9c324da70b49ed" ], "fail" : [ { "errcode" : "0304010010", "errmsg" : "The SSID does not exist", "data" : "de5813f8ff1e41f5ba9c324da70b49ed" } ] } 返回状态码为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
  • URI /controller/campus/v3/networkconfig/site-templates/{siteTemplateId}/apssid/batch-delete 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 siteTemplateId 是 string 36个字符。 - 站点模板标识,UUID格式。 "fbde1c5d-5b94-49e3-a912-48641015e45c"
  • 请求示例 HTTP的示例 POST /controller/campus/v3/networkconfig/site-templates/fbde1c5d-5b94-49e3-a912-48641015e45c/apssid/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 { "ids" : [ "de5813f8ff1e41f5ba9c324da70b49ed" ] }
  • 响应示例 返回状态码为200:查询成功的信息。响应体参考TerminalMgrTerminalListDto。 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" : "", "pageIndex" : 1, "pageSize" : 10, "totalRecords" : 30, "data" : [ { "id" : "62008e2c-6bf2-48ea-a17c-d278c594d83a", "terminalmac" : "11-11-11-11-11-11", "terminalGroupId" : "22fbb5f2-d07e-4710-94ac-7705517ab842", "terminalGroupBsId" : "00000-00001", "isBlocked" : true, "isApproved" : 1, "expirationDate" : "2020-02-02", "bindingDeviceMac" : "11-11-11-11-11-11", "bindingDevicePort" : "GigabitEthernet0/0/1", "bindingDeviceName" : "2102351LKB1234567890", "description" : "update", "accessPosition" : "ssid", "status" : "offline", "ecology" : "iConnect/hlink", "createTime" : "1571710215000", "firstLoginTime" : "1571710215000", "loginTime" : "1571710215000", "lastLogoutTime" : "1571710215000", "serialNumber" : "SN10219210", "terminalType" : "normal", "deviceId" : "22fbb5f2-d07e-4710-94ac-7705517ab842", "terminalIP" : "192.168.0.1", "syncType" : 1, "selfDefineId" : "22849cf7-c144-4699-929a-9954f227b3e6", "selfDefineName" : "生产区", "deviceTypeId" : "3324", "deviceTypeName" : "手机", "osId" : "17985", "osName" : "Windows 10", "deviceType" : "手机", "vendor" : "华为", "model" : "P40 Pro", "accessSsid" : "FreeWiFi" } ] } 返回状态码为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
共100000条
提示

您即将访问非华为云网站,请注意账号财产安全