调用DescribePhysicalConnectionLOA查询物理专线LOA信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribePhysicalConnectionLOA

要执行的操作。

取值:DescribePhysicalConnectionLOA

InstanceId String pc-bp1ca4wca27ex******

物理专线实例ID。

RegionId String cn-hangzhou

部署物理专线的地域ID。

ClientToken String 123e4567-e89b-12d3-a456-426655440000

客户端Token,用于保证请求的幂等性。

由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。

返回数据

名称 类型 示例值 描述
PhysicalConnectionLOAType Struct

物理专线LOA信息。

CompanyLocalizedName String company

施工单位名称。

CompanyName String test1234

需要部署物理专线的单位名称。

ConstructionTime String 2019-02-26T08:00:00Z

施工进场时间。

InstanceId String pc-bp1ca4wca27****

物理专线实例ID。

LineCode String aaa111

运营商线路编码。

LineLabel String bbb222

机房楼内线缆标签。

LineType String FIBRE

物理专线类型。

  • MSTP
  • MPLSVPN
  • FIBRE
  • Other
LoaUrl String http://******

LOA文件下载地址。

PMInfo Array of PMInfo

施工人员信息。

PMInfo
PMCertificateNo String 12345671****

施工人员证件号码。

PMCertificateType String Other

施工人员证件类型。

  • IDCard:身份证。
  • Passport:护照。
  • Other:其他。
PMContactInfo String 18910010****

施工人员联系电话。

PMGender String Male

施工人员性别。

  • Male:男。
  • Female:女。
PMName String name

施工人员姓名。

SI String ctcu

入场施工单位。

Status String Available

LOA的状态。

  • Applying:LOA申请中。
  • Accept:LOA申请通过。
  • Available:LOA可用。
  • Rejected:LOA申请驳回。
  • Completing:专线施工中。
  • Complete:专线施工完成。
  • Deleted:LOA已删除。
RequestId String 318BB676-0A2B-43A0-9AD8-F1D34E93750F

请求ID。

示例

请求示例

http(s)://[Endpoint]/?Action=DescribePhysicalConnectionLOA
&InstanceId=pc-bp1ca4wca27ex******
&RegionId=cn-hangzhou
&<公共请求参数>

正常返回示例

XML格式

<DescribePhysicalConnectionLOAResponse>
      <RequestId>318BB676-0A2B-43A0-9AD8-F1D34E93750F</RequestId>
      <PhysicalConnectionLOAType>
            <Status>Available</Status>
            <CompanyName>test1234</CompanyName>
            <ConstructionTime>2019-02-26T08:00:00Z</ConstructionTime>
            <InstanceId>pc-bp1ca4wca27****</InstanceId>
            <SI>ctcu</SI>
            <CompanyLocalizedName>company</CompanyLocalizedName>
            <LoaUrl>http://******</LoaUrl>
            <LineCode>aaa111</LineCode>
            <LineType>FIBRE</LineType>
            <LineLabel>bbb222</LineLabel>
            <PMInfo>
                  <PMInfo>
                        <PMCertificateNo>12345671****</PMCertificateNo>
                        <PMCertificateType>Other</PMCertificateType>
                        <PMContactInfo>18910010****</PMContactInfo>
                        <PMGender>Male</PMGender>
                        <PMName>name</PMName>
                  </PMInfo>
            </PMInfo>
      </PhysicalConnectionLOAType>
</DescribePhysicalConnectionLOAResponse>

JSON格式

{
    "DescribePhysicalConnectionLOAResponse": {
        "RequestId": "318BB676-0A2B-43A0-9AD8-F1D34E93750F",
        "PhysicalConnectionLOAType": {
            "Status": "Available",
            "CompanyName": "test1234",
            "ConstructionTime": "2019-02-26T08:00:00Z",
            "InstanceId": "pc-bp1ca4wca27****",
            "SI": "ctcu",
            "CompanyLocalizedName": "company",
            "LoaUrl": "http://******",
            "LineCode": "aaa111",
            "LineType": "FIBRE",
            "LineLabel": "bbb222",
            "PMInfo": {
                "PMInfo": {
                    "PMCertificateNo": "12345671****",
                    "PMCertificateType": "Other",
                    "PMContactInfo": "18910010****",
                    "PMGender": "Male",
                    "PMName": "name"
                }
            }
        }
    }
}

错误码

访问错误中心查看更多错误码。