Creates an order for initial installation of a physical connection.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | CreatePhysicalConnectionSetupOrder |
The operation that you want to perform. Set the value to CreatePhysicalConnectionSetupOrder. |
AccessPointId | String | Yes | ap-cn-beijing-ft-A |
The ID of the access point. |
LineOperator | String | Yes | CT |
The Internet service provider (ISP). Valid values:
|
RegionId | String | Yes | cn-shanghai |
The ID of the region where the physical connection is deployed. You can call the DescribeRegions operation to query region IDs. |
PortType | String | No | 100Base-T |
The port type of the physical connection. Valid values:
|
RedundantPhysicalConnectionId | String | No | pc-bp10zsv5ntp******** |
The ID of the standby physical connection. The standby physical connection must be in the Allocated, Confirmed, or Enabled state. |
AutoPay | Boolean | No | true |
Specifies whether to enable automatic payment. Valid values: true and false |
ClientToken | String | No | 318BB676-0A2B-43A0-9AD8-F1D34E93750F |
The client token that is used for authentication. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | F7A6301A-64BA-41EC-8284-8F4838C15D1F |
The ID of the instance. |
OrderId | String | 202844382740728 |
The ID of the order. |
PhysicalConnectionId | String | pc-2zegmc02v7ss4****** |
The ID of the physical connection. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=CreatePhysicalConnectionSetupOrder
&AccessPointId=ap-cn-beijing-ft-A
&LineOperator=CT
&RegionId=cn-shanghai
&<Common request parameters>
Sample success responses
XML
format
<CreatePhysicalConnectionSetupOrderResponse>
<OrderId>205226815210296</OrderId>
<RequestId>76CCB7F1-C141-4BD1-8106-63987D12BEF4</RequestId>
<PhysicalConnectionId>pc-2zegmc02v7ss4pin******</PhysicalConnectionId>
</CreatePhysicalConnectionSetupOrderResponse>
JSON
format
{
"OrderId": 205226815210296,
"RequestId": "76CCB7F1-C141-4BD1-8106-63987D12BEF4",
"PhysicalConnectionId": "pc-2zegmc02v7ss4******"
}
Error codes
For a list of error codes, visit the API Error Center.