Queries the domains of a specified organization.

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
Action String Yes ListOrgDomains

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

OrgId Integer Yes 1

The ID of the organization.

Search String No foobar

Specifies the domain you want to query.

CurrentPage Integer No 1

The number of the page to return. Default value: 1.

PageSize Integer No 10

The number of entries to return on each page.

Response parameters

Parameter Type Example Description
CurrentPage Integer 1

The number of the returned page. Default value: 1.

PageSize Integer 10

The number of entries returned per page.

Records Array

The list of records.

Domain String vulnweb.com

The root domain.

Id Integer 1

The ID of the record.

Index Integer 1

The index number.

OrgId Integer 1

The ID of the organization.

UpdatedAt Long 1587716346000

The update time.

RequestId String B6AF2F2A-822A-41A2-85D4-E97899001944

The ID of the request.

TotalCount Integer 10

The total number of records.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ListOrgDomains
&OrgId=1
&<Common request parameters>

Sample success responses

XML format

<ListOrgDomainsResponse>
   <code>200</code>
   <data>
        <TotalCount>1</TotalCount>
        <PageSize>10</PageSize>
        <CurrentPage>1</CurrentPage>
        <Records>
              <OrgId>1</OrgId>
              <Index>1</Index>
              <Id>12</Id>
              <Domain>vulnweb.com</Domain>
              <UpdatedAt>1587716346000</UpdatedAt>
        </Records>
   </data>
   <requestId>B6AF2F2A-822A-41A2-85D4-E97899001944</requestId>
   <success>true</success>
</ListOrgDomainsResponse>

JSON format

{
    "code": 200,
    "data": {
        "TotalCount": 1,
        "PageSize": 10,
        "CurrentPage": 1,
        "Records": [
            {
                "OrgId": 1,
                "Index": 1,
                "Id": 12,
                "Domain": "vulnweb.com",
                "UpdatedAt": 1587716346000
            }
        ]
    },
    "requestId": "B6AF2F2A-822A-41A2-85D4-E97899001944",
    "success": true
}

Error codes

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