Create an order for the resource fee.

Debug

Perform a debug in OpenAPI Explorer. We recommend that you use OpenAPI Explorer. By using OpenAPI Explorer, you can call APIs, generate SDK code examples automatically, and search APIs, allowing you to quickly and easily get started with using APIs on the cloud.

Request parameters

Parameter Type Required? Example value Description
AccessPointId String Yes ap-cn-beijing-ft-A

The ID of the access point.

Action String Yes CreatePhysicalConnectionSetupOrder

The action to perform.

Valid value: CreatePhysicalConnectionSetupOrder.

LineOperator String Yes CT

The service provider that provides the leased line. Valid values:

  • CT: China Telecom
  • CU: China Unicom
  • CM: China Mobile
  • CO: Other Chinese service providers
  • Equinix: Equinix
  • Other: Other service providers outside Mainland China
RegionId String Yes cn-shanghai

The ID of the region where the leased line is deployed. You can get the region ID by calling the DescribeRegions API.

AutoPay Boolean No true

Optional. Indicates whether to pay the fee automatically.

Valid values: true | false.

ClientToken String No 318BB676-0A2B-43A0-9AD8-F1D34E93750F

Optional. The token used for client authentication.

PortType String No 100Base-T

Optional. The type of the leased line connection port. Valid values:

  • 100Base-T: 100M electrical ports
  • 1000Base-T (default value): Gigabit electrical ports
  • 1000Base-LX: 1000M single-mode optical ports (10 km)
  • 10GBase-T: 10GE electrical ports
  • 10GBase-LR: 10GE single-mode optical ports (10km)
RedundantPhysicalConnectionId String No pc-bp10zsv5ntpxxxxxxxxxx

Optional. The ID of the redundant physical connection. Its status must be Allocated, Confirmed, or Enabled.

Type String No VPC

Optional. The type of the physical connection.

Response parameters

Parameter Type Example value Description
OrderId String 202844382740728

The ID of the order.

Example

Request example


http(s)://[Endpoint]/?AccessPointId=ap-cn-beijing-ft-A
&LineOperator=CT
&RegionId=cn-shanghai
&<CommonParameters>

Response example

XML format

<CreatePhysicalConnectionSetupOrder>
  <code>200</code>
  <data>
    <orderId>203255400960138</orderId>
  </data>
  <httpStatusCode>200</httpStatusCode>
  <message>successful</message>
  <requestId>AA874147-4A58-41D4-95E2-F2FFDAF417A6</requestId>
  <success>true</success>
</CreatePhysicalConnectionSetupOrder>

JSON format

{
	"message":"successful",
	"httpStatusCode":200,
	"requestId":"AA874147-4A58-41D4-95E2-F2FFDAF417A6",
	"data":{
		"orderId":203255400960138
	},
	"code":"200",
	"success":true
}

Error codes

Click here to view the error codes.