Creates an order for the initial installation fee.
Debug
Use OpenAPI Explorer to perform debug operations and generate SDK code examples.
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 name of this action. Value: CreatePhysicalConnectionSetupOrder |
LineOperator | String | Yes | CT |
The service provider that provides the leased line. Valid values:
|
RegionId | String | Yes | cn-shanghai |
The ID of the region to which the physical connection belongs. To query the region ID, call DescribeRegions. |
AutoPay | Boolean | No | true |
Optional. Indicates whether to pay the bill automatically. Valid values: true | false |
ClientToken | String | No | 318BB676-0A2B-43A0-9AD8-F1D34E93750F |
Optional. The client token for authentication. |
PortType | String | No | 100Base-T |
Optional. The type of the physical connection port. Valid values:
|
RedundantPhysicalConnectionId | String | No | pc-bp10zsv5ntpxxxxxxxxxx |
Optional. The ID of the redundant physical connection. Its status must be Allocated, Confirmed, or Enabled. |
Response parameters
Parameter | Type | Example value | Description |
---|---|---|---|
OrderId | String | 202844382740728 |
The ID of the order. |
PhysicalConnectionId | String | pc-1111111 |
The ID of the physical connection. |
RequestId | String | F7A6301A-64BA-41EC-8284-8F4838C15D1F |
The request ID. |
Examples
Request example
http(s)://[Endpoint]/? AccessPointId=ap-cn-beijing-ft-A
&LineOperator=CT
&RegionId=cn-shanghai
&<CommonParameters>
Response examples
XML
format
<CreatePhysicalConnectionSetupOrderResponse>
<code>200</code>
<data>
<orderId>203255400960138</orderId>
</data>
<httpStatusCode>200</httpStatusCode>
<message>successful</message>
<requestId>AA874147-4A58-41D4-95E2-F2FFDAF417A6</requestId>
<success>true</success>
</CreatePhysicalConnectionSetupOrderResponse>
JSON
format
{
"message":"successful",
"httpStatusCode":200,
"requestId":"AA874147-4A58-41D4-95E2-F2FFDAF417A6",
"data":{
"orderId":203255400960138
},
"code":"200",
"success":true
}
Errors
For a list of error codes, visit the API Error Center.