Creates an order for initial installation of an Express Connect circuit.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
RegionId String Yes cn-beijing

The region ID of the Express Connect circuit.

You can call the DescribeRegions operation to query the most recent region list.

AccessPointId String Yes ap-cn-beijing-ft-A

The ID of the access point.

LineOperator String Yes CT

The connectivity provider of the Express Connect circuit. Valid values:

  • CT: China Telecom
  • CU: China Unicom
  • CM: China Mobile
  • CO: other connectivity providers in the Chinese mainland
  • Equinix: Equinix
  • Other: other connectivity providers outside the Chinese mainland
PortType String No 100Base-T

The port type. Valid values:

  • 100Base-T: 100 Mbit/s copper Ethernet port
  • 1000Base-T (default): 1,000 Mbit/s copper Ethernet port
  • 1000Base-LX: 1,000 Mbit/s single-mode optical port (10 km)
  • 10GBase-T: 10,000 Mbit/s copper Ethernet port
  • 10GBase-LR: 10,000 Mbit/s single-mode optical port (10 km)
  • 40GBase-LR: 40,000 Mbit/s single-mode optical port
  • 100GBase-LR: 100,000 Mbit/s single-mode optical port
Note Whether 40GBase-LR and 100GBase-LR ports can be created is based on resource supplies. For more information, contact your business manager.
RedundantPhysicalConnectionId String No pc-bp10zsv5ntp****

The ID of the redundant Express Connect circuit. The redundant Express Connect circuit must be in the Allocated, Confirmed, or Enabled state.

AutoPay Boolean No false

Specifies whether to enable automatic payment. Valid values:

  • false (default): disables automatic payment.
  • true: enables automatic payment.
ClientToken String No 318BB676-0A2B-43A0-9AD8-F1D34E93750F

The client token that is used to ensure the idempotence of the request.

You can use the client to generate the value, but you must make sure that it is unique among different requests. ClientToken can contain only ASCII characters.

Note If you do not set this parameter, the system automatically uses RequestId as ClientToken. RequestId of each API request may be different.
Action String Yes CreatePhysicalConnectionSetupOrder

The operation that you want to perform. Set the value to CreatePhysicalConnectionSetupOrder.

Response parameters

Parameter Type Example Description
RequestId String F7A6301A-64BA-41EC-8284-8F4838C15D1F

The ID of the request.

OrderId String 202844382740728

The ID of the order.

PhysicalConnectionId String pc-2zegmc02v7ss4****

The ID of the Express Connect circuit.

Examples

Sample requests

http(s)://[Endpoint]/?RegionId=cn-beijing
&AccessPointId=ap-cn-beijing-ft-A
&LineOperator=CT
&PortType=100Base-T
&RedundantPhysicalConnectionId=pc-bp10zsv5ntp****
&AutoPay=false
&ClientToken=318BB676-0A2B-43A0-9AD8-F1D34E93750F
&Action=CreatePhysicalConnectionSetupOrder
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<CreatePhysicalConnectionSetupOrderResponse>
    <RequestId>F7A6301A-64BA-41EC-8284-8F4838C15D1F</RequestId>
    <OrderId>202844382740728</OrderId>
    <PhysicalConnectionId>pc-2zegmc02v7ss4****</PhysicalConnectionId>
</CreatePhysicalConnectionSetupOrderResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "F7A6301A-64BA-41EC-8284-8F4838C15D1F",
  "OrderId" : "202844382740728",
  "PhysicalConnectionId" : "pc-2zegmc02v7ss4****"
}

Error codes

For a list of error codes, visit the API Error Center.