docs
api
Cloud Network(UGN)
GetSimpleBuyBwPrice

GetSimpleBuyBwPrice - GetSimpleBuyBwPrice

Overview

Get the price of the simplified bandwidth package

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetSimpleBuyBwPrice.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. Leave it blank for the default project. Sub-accounts must fill in. Please refer to the GetProjectList APIYes
RegionAstringRegion A NameYes
RegionBstringRegion B NameYes
PayModestringBilling Mode FixedBw: Fixed Bandwidth | Max5: Fifth Peak | Traffic: Traffic Billing
Fixed Bandwidth: Monthly/Yearly
Max5: Postpaid
Traffic Billing: Pay-as-you-go
Yes
ChargeTypestringPayment Method Month: Monthly | Year: Yearly | PostPay: Postpaid | Count: By VolumeYes
QosstringService Quality Diamond: Diamond | Platinum: Platinum | Gold: GoldYes
PathstringIntelligent Path Delay: Lowest Latency | IGP: Standard Route | TCO: Lowest CostYes
BandWidthintThe purchased bandwidth value, default is 1No

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
TotalPriceintFinal Price = Original Price * User Discount * Product DiscountYes
CustomPriceintCustomer Discount Price = Original Price * User DiscountYes
OriginalPriceintOriginal PriceYes

Example

Request Example

https://api.surfercloud.com/?Action=GetSimpleBuyBwPrice
&RegionA=fRpJDnxZ
&RegionB=eKMkSCGn
&PayMode=JAJikQtx
&ChargeType=uiBMSaYK
&Qos=XNOubKqj
&Path=PyruDAeA
&BandWidth=6
&ProjectId=dYgxmVoW

Response Example

{
  "Action": "GetSimpleBuyBwPriceResponse",
  "CustomPrice": 9,
  "OriginalPrice": 2,
  "RetCode": 0,
  "TotalPrice": 8
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved