调用ListOrgPorts获取组织机构端口列表。

调试

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

请求参数

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

要执行的操作。取值:ListOrgPorts

OrgId Integer 1

组织机构ID。

Search String foobar

查询组织机构端口列表。

CurrentPage Integer 1

指定返回结果的当前页码。

默认值为1。

PageSize Integer 10

指定列表每页显示数据条数。

默认值为10,可设置值最大为10。

返回数据

名称 类型 示例值 描述
CurrentPage Integer 1

指定返回结果的当前页码。

默认值为1。

PageSize Integer 10

指定列表每页显示数据条数。

默认值为10,可设置值最大为10。

Records Array

记录列表。

Fingerprint String foobar

端口指纹记录。

IP String 192.168.1.1

IP地址。

Id Integer 1

记录ID。

Index Integer 1

索引号。

OrgId Integer 1

组织机构ID。

Port Integer 80

端口号。

Product String Apache Httpd

产品名称。

Protocol String tcp

协议。

Service String http

服务。

UpdatedAt Long 1585738707000

更新时间。

Version String 1.2

版本号。

RequestId String F4A5123A-E926-4B83-8C62-62A9490163D3

返回结果的请求ID。

TotalCount Integer 10

总数。

示例

请求示例

http(s)://[Endpoint]/?Action=ListOrgPorts
&OrgId=1
&<公共请求参数>

正常返回示例

XML 格式

<ListOrgPortsResponse>
   <code>200</code>
   <data>
        <TotalCount>12</TotalCount>
        <PageSize>10</PageSize>
        <CurrentPage>1</CurrentPage>
        <Records>
              <OrgId>1</OrgId>
              <Fingerprint></Fingerprint>
              <Version>1.3.3e</Version>
              <IP>192.28.50.165</IP>
              <Port>21</Port>
              <Service>ftp</Service>
              <Product>ProFTPD</Product>
              <Index>1</Index>
              <Id>1</Id>
              <Protocol>tcp</Protocol>
              <UpdatedAt>1585738707000</UpdatedAt>
        </Records>
        <Records>
              <OrgId>1</OrgId>
              <Fingerprint></Fingerprint>
              <Version>5.3p1 Debian 3ubuntu7.1</Version>
              <IP>192.28.50.165</IP>
              <Port>22</Port>
              <Service>ssh</Service>
              <Product>OpenSSH</Product>
              <Index>2</Index>
              <Id>2</Id>
              <Protocol>tcp</Protocol>
              <UpdatedAt>1585738707000</UpdatedAt>
        </Records>
        <Records>
              <OrgId>1</OrgId>
              <Fingerprint></Fingerprint>
              <Version></Version>
              <IP>192.28.50.165</IP>
              <Port>53</Port>
              <Service>domain</Service>
              <Product></Product>
              <Index>3</Index>
              <Id>3</Id>
              <Protocol>tcp</Protocol>
              <UpdatedAt>1585738707000</UpdatedAt>
        </Records>
        <Records>
              <OrgId>1</OrgId>
              <Fingerprint></Fingerprint>
              <Version>1.4.1</Version>
              <IP>192.28.50.165</IP>
              <Port>80</Port>
              <Service>http</Service>
              <Product>nginx</Product>
              <Index>4</Index>
              <Id>4</Id>
              <Protocol>tcp</Protocol>
              <UpdatedAt>1585738707000</UpdatedAt>
        </Records>
        <Records>
              <OrgId>1</OrgId>
              <Fingerprint></Fingerprint>
              <Version></Version>
              <IP>192.28.50.165</IP>
              <Port>106</Port>
              <Service>pop3pw</Service>
              <Product>poppassd</Product>
              <Index>5</Index>
              <Id>5</Id>
              <Protocol>tcp</Protocol>
              <UpdatedAt>1585738707000</UpdatedAt>
        </Records>
        <Records>
              <OrgId>1</OrgId>
              <Fingerprint></Fingerprint>
              <Version></Version>
              <IP>192.28.50.165</IP>
              <Port>110</Port>
              <Service>pop3</Service>
              <Product>Courier pop3d</Product>
              <Index>6</Index>
              <Id>6</Id>
              <Protocol>tcp</Protocol>
              <UpdatedAt>1585738707000</UpdatedAt>
        </Records>
        <Records>
              <OrgId>1</OrgId>
              <Fingerprint></Fingerprint>
              <Version></Version>
              <IP>192.28.50.165</IP>
              <Port>143</Port>
              <Service>imap</Service>
              <Product>Plesk Courier imapd</Product>
              <Index>7</Index>
              <Id>7</Id>
              <Protocol>tcp</Protocol>
              <UpdatedAt>1585738707000</UpdatedAt>
        </Records>
        <Records>
              <OrgId>1</OrgId>
              <Fingerprint></Fingerprint>
              <Version></Version>
              <IP>192.28.50.165</IP>
              <Port>465</Port>
              <Service>smtp</Service>
              <Product>Postfix smtpd</Product>
              <Index>8</Index>
              <Id>8</Id>
              <Protocol>tcp</Protocol>
              <UpdatedAt>1585738707000</UpdatedAt>
        </Records>
        <Records>
              <OrgId>1</OrgId>
              <Fingerprint></Fingerprint>
              <Version></Version>
              <IP>192.28.50.165</IP>
              <Port>993</Port>
              <Service>imap</Service>
              <Product>Plesk Courier imapd</Product>
              <Index>9</Index>
              <Id>9</Id>
              <Protocol>tcp</Protocol>
              <UpdatedAt>1585738707000</UpdatedAt>
        </Records>
        <Records>
              <OrgId>1</OrgId>
              <Fingerprint></Fingerprint>
              <Version></Version>
              <IP>192.28.50.165</IP>
              <Port>995</Port>
              <Service>pop3</Service>
              <Product>Courier pop3d</Product>
              <Index>10</Index>
              <Id>10</Id>
              <Protocol>tcp</Protocol>
              <UpdatedAt>1585738707000</UpdatedAt>
        </Records>
   </data>
   <requestId>F4A5123A-E926-4B83-8C62-62A9490163D3</requestId>
   <success>true</success>
</ListOrgPortsResponse>

JSON 格式

{
    "code": 200,
    "data": {
        "TotalCount": 12,
        "PageSize": 10,
        "CurrentPage": 1,
        "Records": [
            {
                "OrgId": 1,
                "Fingerprint": "",
                "Version": "1.3.3e",
                "IP": "192.28.50.165",
                "Port": 21,
                "Service": "ftp",
                "Product": "ProFTPD",
                "Index": 1,
                "Id": 1,
                "Protocol": "tcp",
                "UpdatedAt": 1585738707000
            },
            {
                "OrgId": 1,
                "Fingerprint": "",
                "Version": "5.3p1 Debian 3ubuntu7.1",
                "IP": "192.28.50.165",
                "Port": 22,
                "Service": "ssh",
                "Product": "OpenSSH",
                "Index": 2,
                "Id": 2,
                "Protocol": "tcp",
                "UpdatedAt": 1585738707000
            },
            {
                "OrgId": 1,
                "Fingerprint": "",
                "Version": "",
                "IP": "192.28.50.165",
                "Port": 53,
                "Service": "domain",
                "Product": "",
                "Index": 3,
                "Id": 3,
                "Protocol": "tcp",
                "UpdatedAt": 1585738707000
            },
            {
                "OrgId": 1,
                "Fingerprint": "",
                "Version": "1.4.1",
                "IP": "192.28.50.165",
                "Port": 80,
                "Service": "http",
                "Product": "nginx",
                "Index": 4,
                "Id": 4,
                "Protocol": "tcp",
                "UpdatedAt": 1585738707000
            },
            {
                "OrgId": 1,
                "Fingerprint": "",
                "Version": "",
                "IP": "192.28.50.165",
                "Port": 106,
                "Service": "pop3pw",
                "Product": "poppassd",
                "Index": 5,
                "Id": 5,
                "Protocol": "tcp",
                "UpdatedAt": 1585738707000
            },
            {
                "OrgId": 1,
                "Fingerprint": "",
                "Version": "",
                "IP": "192.28.50.165",
                "Port": 110,
                "Service": "pop3",
                "Product": "Courier pop3d",
                "Index": 6,
                "Id": 6,
                "Protocol": "tcp",
                "UpdatedAt": 1585738707000
            },
            {
                "OrgId": 1,
                "Fingerprint": "",
                "Version": "",
                "IP": "192.28.50.165",
                "Port": 143,
                "Service": "imap",
                "Product": "Plesk Courier imapd",
                "Index": 7,
                "Id": 7,
                "Protocol": "tcp",
                "UpdatedAt": 1585738707000
            },
            {
                "OrgId": 1,
                "Fingerprint": "",
                "Version": "",
                "IP": "192.28.50.165",
                "Port": 465,
                "Service": "smtp",
                "Product": "Postfix smtpd",
                "Index": 8,
                "Id": 8,
                "Protocol": "tcp",
                "UpdatedAt": 1585738707000
            },
            {
                "OrgId": 1,
                "Fingerprint": "",
                "Version": "",
                "IP": "192.28.50.165",
                "Port": 993,
                "Service": "imap",
                "Product": "Plesk Courier imapd",
                "Index": 9,
                "Id": 9,
                "Protocol": "tcp",
                "UpdatedAt": 1585738707000
            },
            {
                "OrgId": 1,
                "Fingerprint": "",
                "Version": "",
                "IP": "192.28.50.165",
                "Port": 995,
                "Service": "pop3",
                "Product": "Courier pop3d",
                "Index": 10,
                "Id": 10,
                "Protocol": "tcp",
                "UpdatedAt": 1585738707000
            }
        ]
    },
    "requestId": "F4A5123A-E926-4B83-8C62-62A9490163D3",
    "success": true
}

错误码

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