Increases the quota of client accounts of Smart Access Gateway (SAG) APP.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | UpgradeSmartAccessGatewaySoftware |
The operation that you want to perform. Set the value to UpgradeSmartAccessGatewaySoftware. |
AutoPay | Boolean | Yes | 1 |
Specify whether the order belongs to a subscription instance that has auto renewal enabled. Valid values:
Note If the parameter is set to 0, you must complete the payment in the SAG console after
you call this operation.
|
DataPlan | Long | Yes | 5 |
The data transfer plan for each client account. Unit: GB. Note Each client account is assigned 5 GB data each month free of charge.
|
RegionId | String | Yes | cn-shanghai |
The ID of the region where the SAG APP instance is deployed. |
SmartAGId | String | Yes | sag-8biez7habqwmx6**** |
The ID of the SAG APP instance. |
UserCount | Integer | Yes | 5 |
The quota of client accounts for the SAG APP instance. The quota that you purchase specifies the maximum number of client accounts that you can create. You can create a client account for each employee who needs to use SAG APP. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
OrderId | String | 20697688135**** |
The ID of the order. |
RequestId | String | 97A4F8A5-603E-4C3B-A91E-17CD87090EA9 |
The ID of the request. |
Examples
Sample request
http(s)://[Endpoint]/? Action=UpgradeSmartAccessGatewaySoftware
&AutoPay=1
&DataPlan=5
&RegionId=cn-shanghai
&SmartAGId=sag-8biez7habqwmx6****
&UserCount=5
&<Common request parameters>
Sample success responses
XML
format
<UpgradeSmartAccessGatewaySoftwareResponse>
<RequestId>97A4F8A5-603E-4C3B-A91E-17CD87090EA9</RequestId>
<OrderId>20697688135****</OrderId>
</UpgradeSmartAccessGatewaySoftwareResponse>
JSON
format
{
"RequestId": "97A4F8A5-603E-4C3B-A91E-17CD87090EA9",
"OrderId": "20697688135****"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | SAG.InvalidUserCount | The specified UserCount is invalid. | The error message returned because the specified number of client accounts is invalid. |
400 | SAG.InvalidDataPlan | The specified DataPlan is invalid. | The error message returned because the specified data transfer plan is invalid. |
For a list of error codes, visit the API Error Center.