Docs
api
Cloud Network(UGN)
CreateSimpleUGNBwPackage

CreateSimpleUGNBwPackage - CreateSimpleUGNBwPackage

Overview

Create Simple Bandwidth Package for UGN

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is CreateSimpleUGNBwPackage.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
ProjectIdstringProject ID. Leave it blank for the default project. Sub-accounts must fill in. Please refer to the GetProjectList APIYes
UGNIDstringugn idYes
RegionAstringRegion A NameYes
RegionBstringRegion B NameYes
BandWidthintPurchased bandwidth valueYes
PayModestringBilling Mode FixedBw: Fixed Bandwidth | Max5: Fifth Peak | Traffic: Traffic Billing Fixed Bandwidth: Monthly/Yearly Max5: Postpaid Traffic Billing: Pay-as-you-goYes
ChargeTypestringPayment Method Month: Monthly | Year: Yearly | PostPay: Postpaid | Count: By VolumeYes
QuantityfloatPurchase durationYes
Namestringbandwidth package nameNo
RemarkstringremarkNo
QosstringService Quality Diamond: Diamond | Platinum: Platinum | Gold: GoldNo
PathstringIntelligent Path Delay: Lowest Latency | IGP: Standard Route | TCO: Lowest CostNo
CouponIdstringcoupon idNo

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

Example

Request Example

https://api.dezai.com/?Action=CreateSimpleUGNBwPackage
&ProjectId=FJfvcwyc
&UGNID=vLTjghrQ
&RegionA=CXjpivSV
&RegionB=tuzQKHjH
&BandWidth=5
&PayMode=hqBOeGLB
&ChargeType=JaZsRxIP
&Quantity=2.17933
&Name=DycDxxlS
&Remark=YSAeemnC
&Qos=kSBlZKnX
&Path=qNXFXBtV
&CouponId=mnBiOvFL

Response Example

{
  "Action": "CreateSimpleUGNBwPackageResponse",
  "Message": "BecWdyhf",
  "RetCode": 0
}