docs
api
Cloud Network(UGN)
GetSimpleUGNBwPackages

Retrieve the simplified bandwidth package within the UGN - GetSimpleUGNBwPackages

Overview

Obtain the bandwidth package within the specified UGN

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetSimpleUGNBwPackages.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.Yes
UGNIDstringYes
OffsetintOffset, default 0No
LimitintPage size, default is 20No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
BwPackagesarray[SimpleBwPackage]Yes
TotalCountintYes
OffsetintYes
LimitintYes

Data Model

SimpleBwPackage

Field NameTypeDescription InformationRequired
PackageIDstringYes
UGNIDstringYes
PayModestringBilling Mode FixedBw: Fixed Bandwidth | Peak95: Classic 95 | Max5: Fifth Peak | Traffic: Traffic BillingYes
RegionAstringRegion A NameYes
RegionBstringRegion B NameYes
BandWidthfloatBandwidth ValueYes
QosstringService Quality
Diamond: Diamond | Platinum: Platinum | Gold: Gold
Yes
PathstringIntelligent Path
Delay: Minimum Delay | IGP: Regular Route | TCO: Lowest Cost
Yes
CreateTimeintCreation TimeYes
NamestringNo
RemarkstringNo
ExpireTimeintExpiration TimeNo
ChangeStatusintBandwidth Package Switch StatusNo
ChangeTimeintBandwidth Package Switching TimeNo
ChangePayModestringSwitch Billing Type for Bandwidth PackageNo

Example

Request Example

https://api.surfercloud.com/?Action=GetSimpleUGNBwPackages
&ProjectId=WYGwTLkQ
&UGNID=KHzNansp
&Offset=1
&Limit=4

Response Example

{
  "Action": "GetSimpleUGNBwPackagesResponse",
  "BwPackages": [
    {
      "ChangePayMode": "PZOKWlLK",
      "ChangeStatus": 5,
      "ChangeTime": 1,
      "CreateTime": 6,
      "ExpireTime": 6,
      "IsCrossBorder": true,
      "Message": "zdpOXSwS",
      "Name": "KWKYParo",
      "PackageID": "sKSlVKTf",
      "Path": "TCO|IGP|Delay",
      "PayMode": "Free|SolidBw|Peak95|Max5|Traffic",
      "Qos": "金|银|铜",
      "RegionA": "CqjmDate",
      "RegionABwMax": 8,
      "RegionABwMin": 4,
      "RegionB": "yIxKgQxV",
      "RegionBBwMax": 1,
      "RegionBBwMin": 9,
      "Remark": "rpZlMjgK",
      "UGNID": "zuiYmTMN"
    }
  ],
  "Limit": 9,
  "Message": "doKXAKSR",
  "Offset": 2,
  "RetCode": 0,
  "TotalCount": 8
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved