Creates a Smart Access Gateway (SAG) Software.


Use API Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
AutoPay Boolean Yes true

Indicates whether to automatically pay the bill of a Subscription instance.

Valid values: true | false

Default value: false.

ChargeType String Yes PREPAY

The billing method of the instance. Valid values:

  • PayOnDemand: Pay-As-You-Go
  • Prepay: Subscription
Note Currently, only the Subscription billing method is supported.
DataPlan Long Yes 5

The specification of the free data plan provided for each account each month. Unit: G.

Note Currently, only free 5G data plans are provided.
Period Integer Yes 12

The validity period of the data plan under each account. Unit: month. If the value exceeds 12, it must be a multiple of 12.

RegionId String Yes cn-shanghai

The region to which the Smart Access Gateway Software belongs.

UserCount Integer Yes 5

The number of client accounts the administrator can create. Generally, one account is created for each employee that needs to log on to the client.

Action String No CreateSmartAccessGatewaySoftware

The name of this action.

Valid value: CreateSmartAccessGatewaySoftware

Response parameters

Parameter Type Example value Description
OrderId String 203782300920296

The order number of the purchase.

RequestId String 24675405-74DF-4C94-82C6-B749580C498E

The ID of the request.

SmartAGId String sag-gnhe6sywtare5******

The ID of the Smart Access Gateway Software.


Request example

http(s)://[Endpoint]/? Action=CreateSmartAccessGatewaySoftware

Response example

XML format


JSON format


Error codes

See common error codes