华为云用户手册

  • 响应示例 返回状态码为200:删除成功,响应体参考DeleteTimeFlowConfigOutputDto。 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" : ["a91e169602a24a68bad4aa639359c8cf"], "fail" : [ { "errcode" : "0304090003", "errmsg" : "The time flow policy does not exist.", "data" : "fde91508d7b043abacd95fed357c8c2c" } ] } 返回状态码为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/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 { "siteId" : "a91e1696-02a2-4a68-bad4-aa639359c8cf", "ids" : [ "a91e169602a24a68bad4aa639359c8aa" ] }
  • 响应示例 返回状态码为200:接口调用成功,响应体参考DeviceTrafficStatisticResp。 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" : [ { "deviceId" : "ea25fdbf-8dee-4823-bac2-5bfe8e3359ca", "deviceName" : "device1", "upTraffic" : 34225.0, "downTraffic" : 34225.0, "unit" : "Byte", "status" : 0, "onlineUsers" : 10 } ] } 返回状态码为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
  • 响应参数 返回状态码为200:接口调用成功,响应体参考DeviceTrafficStatisticResp。 表3 DeviceTrafficStatisticResp对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~10个字符。 - 错误码信息。 "0" errmsg string 0~256个字符。 - 结果信息。 "" data ARRAY_REFERENCE 0-2147483647个列表项,详细请参见表4。 查询到的TopN设备或者全部设备流量列表信息。 - 表4 DeviceStatisticInfo对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 deviceId uuid - - 设备ID。 "ea25fdbf-8dee-4823-bac2-5bfe8e3359ca" deviceName string 0~256个字符。 - 设备名称。 "device1" upTraffic float [0-340282350000000000000000000000000000000] - 上行流量。 34225.0 downTraffic float [0-340282350000000000000000000000000000000] - 下行流量。 34225.0 unit string 0~256个字符。 - 流量单位。 "Byte" status int32 [0-10] - 设备状态,0---在线、1---告警、3---离线、4---未注册。 0 onlineUsers int32 [0-2147483647] - 终端连接数。 10 返回状态码为400:参数非法,查询失败。 详细信息请参见实际响应消息体。
  • 请求示例 HTTP的示例 GET /controller/campus/v1/performanceservice/basicperformance/devicetraffic/statistic/site/ea25fdbf-8dee-4823-bac2-5bfe8e3359ca?timeDimension=day&top=5&beginTime=1537408636&endTime=1537495036 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 /controller/campus/v1/performanceservice/basicperformance/devicetraffic/statistic/site/{siteId} 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 siteId 是 uuid - - 站点ID,UUID格式。 "ea25fdbf-8dee-4823-bac2-5bfe8e3359ca" 表2 query参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 timeDimension 是 string day week month year day 统计周期,day---天、week---周、month---月、year---年。 "day" top 是 int32 0 5 10 15 20 5 top数据个数,支持0、5、10、15、20。0代表查询全部设备的上下行流量。 5 beginTime 是 int64 [0-2208959999] - 起始格林威治时间(时间精度对应到秒)。 1537408636 endTime 是 int64 [0-2208959999] - 结束格林威治时间(时间精度对应到秒)。 1537495036
  • 响应示例 返回状态码为200:下发成功,响应体参考HealingResetConfigResult。 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" : { "healingResetEnable" : true, "period" : 6 } } 返回状态码为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
  • 请求参数 表2 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 requestDto 是 REFERENCE 详细请参见表3。 接口入参。 - 表3 HealingResetConfig对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 healingResetEnable 是 boolean true false true AP设备逃生配置使能。默认值为true。 该字段对应UI页面上是:UI【设备逃生策略配置】 true period 否 int32 [6-168] - 开始自动检测重启的时间,该字段的取值范围是6-168(单位:小时)。 当healingResetEnable字段是true时,必须设置该字段。 该字段对应UI页面上是:UI【断连超时时间(小时)】 6
  • 请求示例 HTTP的示例 PUT /controller/campus/api/v1/devoam/config/aphealingreset/sites/4f350825-919c-47b7-b853-f51f15912396 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 { "healingResetEnable" : true, "period" : 6 }
  • 请求示例 HTTP的示例 GET /controller/campus/v1/sdwan/policy/security/address-set?pageIndex=1&pageSize=20&sort=name&id=000000-0000-0000-0000-000000000000&templateName=addressset&address=10.1.1.1/24 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:查询成功,响应体参考QueryAddressSetResponse。 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" : 10, "pageSize" : 10, "pageIndex" : 1, "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,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
  • 响应参数 返回状态码为200:查询成功,响应体参考QueryAddressSetResponse。 表2 QueryAddressSetResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~256个字符。 - 错误码。 "0" errmsg string 0~256个字符。 - 错误信息。 "" totalRecords int32 [0-65535] - 总的数据条数。 10 pageSize int32 [0-65535] - 每页显示数量。 10 pageIndex int32 [0-65535] - 当前页数。 1 data ARRAY_REFERENCE 0-2000个列表项,详细请参见表5。 地址组信息。 - 返回状态码为400:请求参数错误,无响应体。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误,无响应体。 详细信息请参见实际响应消息体。
  • 响应参数 返回状态码为200:删除成功,响应体参考VpnBandwidthPolicyResponse。 VpnBandwidthPolicyResponse对象的参数列表,详细请参见表5。 返回状态码为202:请求正在处理中,请求处理详情请通过“查询业务编排结果”接口,确认是否处理成功。响应体参考VpnBandwidthPolicyResponse。 返回状态码为204:执行成功,无响应体。 返回状态码为400:请求参数错误,无响应体。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误,无响应体。 详细信息请参见实际响应消息体。
  • 响应示例 返回状态码为200:删除成功,响应体参考VpnBandwidthPolicyResponse。 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" : [ { "id" : "00000000-0000-0000-0000-000000000000", "name" : "VpnBandwidthPolicy", "direction" : "outbound", "enableStatistic" : false, "enableFixMode" : false, "bandwidthAllocations" : [ { "vpnId" : "00000000-0000-0000-0000-000000000000", "vpnGroupId" : "00000000-0000-0000-0000-000000000000", "bandwidth" : 10 } ] } ], "fail" : [ { "errcode" : "0x00c8000c", "errmsg" : "The parameter is invalid.", "data" : { "id" : "00000000-0000-0000-0000-000000000000", "name" : "VpnBandwidthPolicy", "direction" : "outbound", "enableStatistic" : false, "enableFixMode" : false, "bandwidthAllocations" : [ { "vpnId" : "00000000-0000-0000-0000-000000000000", "vpnGroupId" : "00000000-0000-0000-0000-000000000000", "bandwidth" : 10 } ] } } ], "processInstanceId" : "" } 返回状态码为202:请求正在处理中,请求处理详情请通过“查询业务编排结果”接口,确认是否处理成功。响应体参考VpnBandwidthPolicyResponse。 HTTP/1.1 202 Accepted 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 返回状态码为204:执行成功,无响应体。 HTTP/1.1 204 No Content 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 返回状态码为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/policy/traffic/vpn-bandwidth-policies/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 { "bandwidthPolicies" : [ { "id" : "00000000-0000-0000-0000-000000000000", "name" : "VpnBandwidthPolicy", "direction" : "outbound", "enableStatistic" : false, "enableFixMode" : false, "bandwidthAllocations" : [ { "vpnId" : "00000000-0000-0000-0000-000000000000", "vpnGroupId" : "00000000-0000-0000-0000-000000000000", "bandwidth" : 10 } ] } ] }
  • 请求参数 表2 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 delTrapFeatureInfo 是 REFERENCE 详细请参见表3。 删除SNMP Trap信息。 - 表3 DelTrapFeatureInfo对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 featureName 是 string 1~32个字符。 - Trap所属模块 "IFNET" trapName 是 string 1~63个字符。 - Trap名称。 "linkdown"
  • 请求示例 HTTP的示例 POST /controller/campus/v1/sdwan/snmp/trap/00000000-0000-0000-0000-000000000000/trap/featureName/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 { "featureName" : "IFNET", "trapName" : "linkdown" }
  • 响应示例 返回状态码为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
  • URI /controller/campus/v1/sdwan/policy/traffic/effective-times 表1 query参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 pageIndex 否 int32 [0-65535] 0 当前页数,默认是0,当0时表示查询所有页。 - pageSize 否 int32 [0-65535] 20 每页显示数量,默认是20,当为空或者0时,表示不使用。 - sort 否 string 0~255个字符。 - 排序字段。当前仅支持按name排序,"name"表示升序,"-name"表示降序,默认升序。 - id 否 uuid - - 时效模板ID。 - keyword 否 string 0~64个字符。 - 模板名关键字,如果为空查询所有的模板,支持模糊查询。 "time template"
  • 响应示例 返回状态码为200:查询成功,响应体参考QueryEffectiveTimesResponse。 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" : 1, "pageSize" : 10, "pageIndex" : 1, "data" : [ { "id" : "00000000-0000-0000-0000-000000000000", "name" : "templateName", "type" : "Weekly", "weeklyDay" : "1111100", "startTime" : "00:00:00Z", "endTime" : "23:01:40Z" } ] } 返回状态码为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 /controller/campus/v1/sdwan/policy/traffic/effective-times?keyword=time template 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:查询成功,响应体参考QueryEffectiveTimesResponse。 表2 QueryEffectiveTimesResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string - - 错误码。 "0" errmsg string - - 错误信息。 "" totalRecords int32 - - 总的数据条数。 1 pageSize int32 - - 每页显示数量。 10 pageIndex int32 - - 当前页数。 1 data ARRAY_REFERENCE 0-1000个列表项,详细请参见表5。 时效模板信息。 - 返回状态码为400:请求参数错误,无响应体。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误,无响应体。 详细信息请参见实际响应消息体。
  • 请求示例 HTTP的示例 PUT /controller/campus/v1/sdwan/routing-protocol/ipv6bgp-advance-config 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 { "advanceConfigs" : [ { "siteId" : "fbb684c8-0d37-496f-bafa-4b06d515j7l6", "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d515j7l6", "tnpId" : "fbb684c8-0d37-496f-bafa-4b06d515j7l6", "vpnId" : "fbb684c8-0d37-496f-bafa-4b06d515j7l6", "addressFamilyGlobals" : [ { "familyType" : "ipv6-unicast", "externalPreference" : 201, "maxLoadBalanceNum" : 1, "defaultRouteRedistribution" : false, "compareDifAsMed" : false, "routeRedistribution" : [ "direct" ], "ipv6AggregationRoute" : [ "fc00::/64" ] } ] } ] }
  • 响应参数 返回状态码为200:接口调用成功,响应体参考Ipv6BgpRouteAdvanceResponse。 表5 Ipv6BgpRouteAdvanceResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string - - 错误码。 "0" errmsg string - - 错误信息。 "" success ARRAY_REFERENCE 0-2个列表项,详细请参见表3。 BGP4+路由高级配置成功的信息。 - fail ARRAY_REFERENCE 0-2个列表项,详细请参见表6。 BGP4+路由高级配置失败的信息。 - 表6 FailIpv6BgpAdvanceInfo对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string - - 错误码。 "0" errmsg string - - 错误信息。 "" data REFERENCE 详细请参见表3。 BGP4+路由高级配置信息。 - 返回状态码为400:校验异常。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误。 详细信息请参见实际响应消息体。
  • 响应示例 返回状态码为200:接口调用成功,响应体参考Ipv6BgpRouteAdvanceResponse。 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" : [ { "siteId" : "fbb684c8-0d37-496f-bafa-4b06d515j7l6", "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d515j7l6", "tnpId" : "fbb684c8-0d37-496f-bafa-4b06d515j7l6", "vpnId" : "fbb684c8-0d37-496f-bafa-4b06d515j7l6", "addressFamilyGlobals" : [ { "familyType" : "ipv6-unicast", "externalPreference" : 201, "maxLoadBalanceNum" : 1, "defaultRouteRedistribution" : false, "compareDifAsMed" : false, "routeRedistribution" : [ "direct" ], "ipv6AggregationRoute" : [ "fc00::/64" ] } ] } ], "fail" : [ { "errcode" : "0", "errmsg" : "", "data" : { "siteId" : "fbb684c8-0d37-496f-bafa-4b06d515j7l6", "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d515j7l6", "tnpId" : "fbb684c8-0d37-496f-bafa-4b06d515j7l6", "vpnId" : "fbb684c8-0d37-496f-bafa-4b06d515j7l6", "addressFamilyGlobals" : [ { "familyType" : "ipv6-unicast", "externalPreference" : 201, "maxLoadBalanceNum" : 1, "defaultRouteRedistribution" : false, "compareDifAsMed" : false, "routeRedistribution" : [ "direct" ], "ipv6AggregationRoute" : [ "fc00::/64" ] } ] } } ] } 返回状态码为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
  • 响应示例 返回状态码为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" : "", "success" : [ { "naasNetworkId" : "00000000-0000-0000-0000-000000000000", "naasNetworkName" : "Template1", "errcode" : "0", "errmsg" : "" } ], "fail" : [ { "naasNetworkId" : "00000000-0000-0000-0000-000000000000", "naasNetworkName" : "Template1", "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
  • 响应参数 返回状态码为200:正常响应返回体。 表3 NaasNetworkDeleteResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string - - 错误码。 "0" errmsg string - - 错误信息。 "" success ARRAY_REFERENCE 0-100个列表项,详细请参见表4。 成功删除模板。 - fail ARRAY_REFERENCE 0-100个列表项,详细请参见表4。 失败删除模板。 - 表4 NaasNetworkDeleteInfo对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 naasNetworkId string 0~64个字符。 - 模板ID。 "00000000-0000-0000-0000-000000000000" naasNetworkName string 0~64个字符。 - 服务链名称。 "Template1" errcode string - - 错误码。 "0" errmsg string - - 错误信息。 "" 返回状态码为400:校验异常。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误。 详细信息请参见实际响应消息体。
  • 请求示例 HTTP的示例 POST /controller/sdwan/v1/naas/template/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 { "naasNetworkIds" : [ "00000000-0000-0000-0000-000000000000" ] }
  • 请求示例 HTTP的示例 PUT /controller/campus/v1/assurance/business 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 { "businessBase" : { "name" : "business-exp", "id" : "00000000-0000-0000-0000-000000000000", "label" : "label-exp", "description" : "description-exp", "startTime" : 4102415940000, "endTime" : 4102415940000, "extBusinessId" : "00000000-0000-0000-0000-000000000000" }, "terminalList" : [ { "srcIpOrMac" : "192.168.1.1", "srcPort" : 1, "name" : "terminal-exp" } ], "appList" : [ { "dstIp" : "192.168.1.1", "dstPort" : 1, "protocol" : "ANY" } ], "smartAppInfo" : { "appType" : "Custom", "appId" : "12305", "appName" : "腾讯会议" } }
  • 响应示例 返回状态码为200:成功响应,响应体参考BusinessSuccessRsp。 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" : { "businessBase" : { "name" : "business-exp", "id" : "00000000-0000-0000-0000-000000000000", "label" : "label-exp", "description" : "description-exp", "startTime" : 4102415940000, "endTime" : 4102415940000, "extBusinessId" : "00000000-0000-0000-0000-000000000000" }, "terminalList" : [ { "srcIpOrMac" : "192.168.1.1", "srcPort" : 1, "name" : "terminal-exp" } ], "appList" : [ { "dstIp" : "192.168.1.1", "dstPort" : 1, "protocol" : "ANY" } ], "smartAppInfo" : { "appType" : "Custom", "appId" : "12305", "appName" : "腾讯会议" } } } 返回状态码为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
共100000条
提示

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