专线ET

查询专线详情

说明:本手册请求结构与请求示例中的服务域名(Host)均为举例,实际使用时请替换为项目自定义的服务域名

描述

查询专线详情

请求结构

 GET /v{version}/et/{dcphyId} HTTP/1.1
 Host: bcc.cnhzpro.agilecloud.com
 Authorization: authorization string    

请求头域

除公共头域外,无其它特殊头域。

请求参数

参数名称 类型 是否必需 参数位置 描述
version String URL参数 API版本号
dcphyId String URL参数 专线的id

返回头域

除公共头域,无其它特殊头域。

返回参数

参数名称 类型 描述
id String 专线ID
name String 名称
description String 描述
status String 专线状态,取值范围:ack-wait/accept/reject/building/pay-wait/established/stopped/deleted,分别对应:申请中/申请已受理/申请被拒绝/建设中/未支付(建设完成,未支付端口时长费)/可用/已到期/到期删除中
expireTime String 到期时间
isp String 运营商,取值:ISP_CMCC/ISP_CUCC/ISP_CTC/ISP_CHH/ISP_OTHER,分别对应:中国移动/中国联通/中国电信/托管专线/国内其它
intfType String 接口规格,取值:1G/10G/100G
apType String 接入类型
apAddr String 接入点
userName String 用户名称
userPhone String 用户手机
userEmail String 用户邮箱
userIdc String 对端地址

请求示例

 GET /v1/et/dcphy-gq65bz9ip712 HTTP/1.1
 Host: bcc.cnhzpro.agilecloud.com
 Authorization: authorization string    

返回示例

 HTTP/1.1 200 OK     
 x-bce-request-id: 1214cca7 4ad5 451d 9215 71cb844c0a50     
 Date: Thu, 16 Mar 2017 06:29:48 GMT       
 Content Type: application/json;charset=UTF 8     
 Server: BWS     
      
{
    "id": "dcphy-gq65bz9ip712",
    "name": "ZX051501-testET",
    "description": "",
    "status": "established",
    "expireTime": 1,
    "isp": "ISP_CUCC",
    "intfType": "10G",
    "apType": "SINGLE",
    "apAddr": "WHGG",
    "userName": "张三",
    "userPhone": "18218796578",
    "userEmail": "shihuijuan@baidu.com",
    "userIdc": "北京|市辖区|东城区|吉利科技园K2"
}
上一篇
查询专线列表
下一篇
新建专线通道