# Query CPE-bound acceleration line information - DescribeExportLine

## Overview

Query the acceleration line information bound to CPE






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `DescribeExportLine`.                      | **Yes** |
| **PublicKey**  | string  | The user's public key can be obtained from [Console](https://console.ckcloudai.com/uaccount/api_manage)                                             | **Yes** |
| **Signature**  | string  | User signature generated based on public key and API command, see [Signature Algorithm](/docs/api/summary/signature.md)  | **Yes** |

### Request Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **ProjectId** | string | Project ID. Leave it blank for the default project. Sub-accounts must fill in. Please refer to the [GetProjectList API](/docs/api/summary/get_project_list) |No|
| **CPEId** | string | CPE Resource ID |No|
| **ResourceId** | string | UReach Resource ID |No|

### Response Field

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **RetCode** | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. |**Yes**|
| **Action** | string | Operation command name. |**Yes**|
| **Message** | string | Returns an error message, providing detailed description when `RetCode` is non-zero. |No|
| **LineInfos** | array[[*LineInfo*](#lineinfo)] | Line Information |No|

#### Data Model


#### LineInfo

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Name** | string | Name |No|
| **Remark** | string |  |No|
| **ResourceId** | string |  |No|
| **InstanceId** | string |  |No|
| **Bandwidth** | int | Bandwidth Size (Mbps) |No|
| **ChargeType** | string |  |No|
| **PayMode** | string | Billing Method (Bandwidth Billing: bandwidth etc.) |No|
| **FromRegion** | string | Entry Region |No|
| **FromRegionName** | string |  |No|
| **ToRegion** | string | Export Region |No|
| **ToRegionName** | string |  |No|
| **IP** | array[string] |  |No|
| **Status** | string | Line Status; '1': Bound; '0': Unbound |No|
| **CreateTime** | int |  |No|
| **ExpireTime** | int | Expiration Date |No|
| **CPEIds** | array[string] |  |No|
| **PkgType** | string |  |No|
| **IpType** | string |  |No|
| **InstanceStatus** | string |  |No|
| **Socks** | [*SocksInfo*](#socksinfo) |  |No|
| **Source** | array[string] |  |No|

#### SocksInfo

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Addr** | string |  |No|
| **Port** | int |  |No|
| **Account** | string |  |No|

## Example

### Request Example
    
```
https://api.ckcloudai.com/?Action=DescribeExportLine
&ProjectId=WIrVbEjq
&CPEId=VTKomNmm
&ResourceId=QlHbVjWQ
```

### Response Example
    
```json
{
  "Action": "DescribeExportLineResponse",
  "LineInfos": [
    {
      "Bandwidth": 1,
      "ExpireTime": 2,
      "FromRegion": "vncTxGOf",
      "IP": [
        "ioeIljnG"
      ],
      "Name": "XxWsPZje",
      "PayMode": "ToSyENwj",
      "Status": "whrozgeR",
      "ToRegion": "fQfdghxB"
    }
  ],
  "Message": "fpcAziPK",
  "RetCode": 0
}
```





