All Products
Search
Document Center

Elastic Desktop Service:CreateNetworkPackage

Last Updated:Mar 17, 2026

Create a premium public bandwidth package for your office network.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID. Call DescribeRegions to get the list of regions supported by WUYING Workspace.

cn-hangzhou

Bandwidth

integer

Yes

The bandwidth of the premium public bandwidth package. Unit: Mbps.

  • For subscription packages, valid values are 2 to 1000.

  • For pay-as-you-go packages billed by traffic (PayByTraffic), valid values are 2 to 200.

  • For pay-as-you-go packages billed by bandwidth (PayByBandwidth), valid values are 2 to 1000.

2

OfficeSiteId

string

No

The office network ID.

cn-hangzhou+dir-363353****

PayType

string

No

The payment type.

Valid values:

  • PostPaid :

    Pay-as-you-go

  • PrePaid :

    Subscription

PrePaid

InternetChargeType

string

No

The billing method for the premium public bandwidth package.

  • When PayType is PrePaid, valid values are:
    • PayByBandwidth: billed by fixed bandwidth.

  • When PayType is PostPaid, valid values are:
    • PayByTraffic: billed by traffic usage.

    • PayByBandwidth: billed by fixed bandwidth.

Valid values:

  • PayByTraffic :

    Billed by traffic usage

  • PayByBandwidth :

    Billed by fixed bandwidth

PayByTraffic

Period

integer

No

The subscription duration for a subscription-based premium bandwidth package. This parameter takes effect and is required only when PayType is PrePaid. Valid values depend on the value of PeriodUnit.

  • When PeriodUnit is Week, valid value is: 1.

  • When PeriodUnit is Month, valid values are: 1, 2, 3, 6.

  • When PeriodUnit is Year, valid values are: 1, 2, 3.

Default value: 1.

1

PeriodUnit

string

No

The unit of subscription duration for a subscription-based premium bandwidth package. This parameter takes effect and is required only when PayType is PrePaid.

Valid values:

  • Month :

    Month

  • Year :

    Year

  • Week :

    Week

Week

AutoPay

boolean

No

Whether to enable automatic payment.

Valid values:

  • true :

    Enable automatic payment. Ensure your account balance is sufficient. Otherwise, the order will be abnormal. [Default]

  • false :

    Create an order without payment. Log on to the console and go to My Orders in the User Center to pay using the returned order ID.

false

AutoRenew

boolean

No

Whether to enable auto-renewal.

Valid values:

  • true :

    Enable auto-renewal

  • false :

    Disable auto-renewal

false

PromotionId

string

No

The promotion ID.

23141

ResellerOwnerUid

integer

No

ChannelCookie

string

No

Response elements

Element

Type

Description

Example

object

The response object.

NetworkPackageId

string

The premium bandwidth package ID.

np-amtp8e8q1o9e4****

RequestId

string

The request ID.

269BDB16-2CD8-4865-84BD-11C40BC21DB0

OrderId

string

The bill ID.

234526262716724

Examples

Success response

JSON format

{
  "NetworkPackageId": "np-amtp8e8q1o9e4****",
  "RequestId": "269BDB16-2CD8-4865-84BD-11C40BC21DB0",
  "OrderId": "234526262716724"
}

Error codes

HTTP status code

Error code

Error message

Description

400 RISK.RISK_CONTROL_REJECTION In order to protect the security of your account, the order was suspended, please contact customer service for details. In order to protect the security of your account, the order was suspended, please contact customer service for details.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.