All Products
Document Center

Retrieving Domain Name Operation Logs

Last Updated: May 27, 2016


Retrieves domain name operation logs based on input parameters.

Request Parameters

Name Type Required? Description
Action String Yes Operation interface name, required parameter. Value: DescribeDomainLogs
PageNumber Long No Number of the current page, starting from 1 by default
PageSize Long No This sets the number of lines per page for query by pages, up to 100 and 20 by default
KeyWord String No The keyword for searches using the ”%KeyWord%” mode, case insensitive

Return Parameters

Public return parameters. For details, see Public Return Parameters

Name Type Description
RequestId String The unique request identifier
TotalCount Long The total number of listed logs
PageNumber Long Number of the current page
PageSize Long The number of logs retrieved by this query
DomainLogs DomainLogType The list of domain name operation logs

Error Codes

For errors common to all interfaces, please refer to the Error Code Table .


Request Example
&<Public Request Parameters>

Return Example

XML Format

            <ActionTime>2015-12-12 09:23:44</ActionTime>
            <Message>To DNS list</Message>
            <ActionTime>2015-12-12 09:23:40</ActionTime>
            <Action>Retrieved successfully</Action>
            <Message>And added to DNS list</Message>

JSON Example

  "DescribeDomainLogsResponse": {
    "RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
    "TotalCount": "2",
    "PageNumber": "1",
    "PageSize": "2",
    "DomainLogs": {
      "DomainLog": [
          "ActionTime": "2015-12-12 09:23:44",
          "DomainName": "",
          "Action": "Add",
          "Message": "To DNS list",
          "ClientIp": ""
          "ActionTime": "2015-12-12 09:23:40",
          "DomainName": "",
          "Action": "Retrieved successfully",
          "Message": "And added to DNS list",
          "ClientIp": ""