Applies for a Letter of Authorization (LOA) for 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
ClientToken String No 123e4567-e89b-12d3-a456-426655440000

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. The token can contain only ASCII characters and cannot exceed 64 characters in length.

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

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

RegionId String Yes cn-hangzhou

The region ID of the Express Connect circuit.

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

Bandwidth Integer No 3

The bandwidth of the Express Connect circuit. Unit: Mbit/s.

PeerLocation String No Hangzhou

The geographic location where the Express Connect circuit is deployed.

InstanceId String Yes pc-bp1qrb3044eqi****

The ID of the Express Connect circuit.

CompanyName String Yes company

The name of the customer company that requires the Express Connect circuit.

LineType String Yes FIBRE

The type of the Express Connect circuit. Valid values:

  • MSTP
  • MPLSVPN
  • FIBRE
  • Other
Si String Yes Alibaba Cloud

The construction company.

ConstructionTime String Yes 2021-02-28T16:00:00.000Z

The time when construction started.

PMInfo.N.PMCertificateNo String No 3****************3

The identity number of the construction personnel.

N is a natural number. Replace N with a value when you call this operation.

PMInfo.N.PMName String No Tom

The name of the construction personnel.

N is a natural number. Replace N with a value when you call this operation.

PMInfo.N.PMCertificateType String No IDCard

The identity type of the construction personnel.

N is a natural number. Replace N with a value when you call this operation.

PMInfo.N.PMGender String No Male

The gender of the construction personnel.

N is a natural number. Replace N with a value when you call this operation.

PMInfo.N.PMContactInfo String No 1320000****

The contact information about the construction personnel.

N is a natural number. Replace N with a value when you call this operation.

Response parameters

Parameter Type Example Description
RequestId String A47BD386-7FDE-42C4-8D22-C6223D18AA1C

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?ClientToken=123e4567-e89b-12d3-a456-426655440000
&Action=ApplyPhysicalConnectionLOA
&RegionId=cn-hangzhou
&Bandwidth=3
&PeerLocation=Hangzhou
&InstanceId=pc-bp1qrb3044eqi****
&CompanyName=company
&LineType=FIBRE
&Si=Alibaba
&ConstructionTime=2021-02-28T16:00:00.000Z
&PMInfo=[{"PMCertificateNo":"3****************3","PMName":"Tom","PMCertificateType":"IDCard","PMGender":"Male","PMContactInfo":"1320000****"}]
&<Common request parameters>

Sample success responses

XML format

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

<ApplyPhysicalConnectionLOAResponse>
    <RequestId>A47BD386-7FDE-42C4-8D22-C6223D18AA1C</RequestId>
</ApplyPhysicalConnectionLOAResponse>

JSON format

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

{
  "RequestId" : "A47BD386-7FDE-42C4-8D22-C6223D18AA1C"
}

Error codes

HttpCode Error code Error message Description
400 OperationFailed.PconnTrafficNotEnable The operation is failed because of PconnTrafficNotEnable. The operation failed because outbound traffic is disabled.

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