You can call this operation to query the historical details of a domain name task by page.

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 QueryTaskDetailHistory

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

PageSize Integer Yes 1

The number of entries to return on each page.

TaskNo String Yes 75addb07-28a3-450e-b5ec-test

The ID of the task that you want to query.

Lang String No en

The language of the error message to return. Valid values:

  • zh: Chinese
  • en: English

Default value: en

UserClientIp String No 127.0.0.1

The IP address of the client used by the user to initiate the query.

DomainName String No test.com

The domain name to which the task that you want to query belongs.

DomainNameCursor String No test.co

The cursor of the domain name.

TaskStatus Integer No 0

The status of the task. Valid values:

  • 0: To be executed
  • 1: Being executed
  • 2: Succeeded
  • 3: Failed
TaskDetailNoCursor String No 75addb07-28a3-450e-b5ec

The cursor of the task details.

Response parameters

Parameter Type Example Description
RequestId String 548CAE74-88F8-402F-8C12-97E747389C51

The ID of the request. Request IDs are unique.

PageSize Integer 2

The number of entries returned per page.

Objects Array

The task details.

TaskNo String 75addb07-28a3-450e-b5ec-test

The ID of the task that was queried.

TaskDetailNo String 75addb07-28a3-450e-b5ec-4234

The ID of the task details.

TaskType String CHG_DNS

The type of the task. Valid values:

  • CHG_HOLDER: Update the holder information
  • CHG_DNS: Change DNS servers
  • SET_WHOIS_PROTECT: Set privacy protection
  • UPDATE_ADMIN_CONTACT: Update the administrator information
  • UPDATE_BILLING_CONTACT: Update the payer information
  • UPDATE_TECH_CONTACT: Update the technical support information
  • SET_UPDATE_PROHIBITED: Set security locks for the domain name
  • SET_TRANSFER_PROHIBITED: Set the transfer prohibition lock for the domain name
  • ORDER_ACTIVATE: Create a registration order
  • ORDER_RENEW: Create a renewal order
  • ORDER_REDEEM: Create a redemption order
  • CREATE_DNSHOST: Create a DNS host
  • UPDATE_DNSHOST: Update the DNS host
  • SYNC_DNSHOST: Synchronize the DNS host
InstanceId String S123456789

The ID of the domain instance.

DomainName String test.com

The domain name that was queried.

TaskStatus String EXECUTE_FAILURE

The status of the task. Valid values:

  • WAITING_EXECUTE: To be executed
  • EXECUTING: Being executed
  • EXECUTE_SUCCESS: Succeeded
  • EXECUTE_FAILURE: Failed
UpdateTime String 2019-07-30 00:00:00

The time when the task details were last queried.

CreateTime String 2019-07-30 00:00:00

The time when the task was created.

TryCount Integer 5

The number of query retries.

ErrorMsg String The domain name has the update prohibition lock enabled

The message indicating the result of the task.

TaskStatusCode Integer 3

The status code of the task. Valid values:

  • 0: To be executed
  • 1: Being executed
  • 2: Succeeded
  • 3: Failed
TaskTypeDescription String Change DNS servers

The description of the task type.

CurrentPageCursor Struct

The cursor of the current page.

TaskNo String 75addb07-28a3-450e-b5ec-test

The ID of the task that was queried.

TaskDetailNo String 75addb07-28a3-450e-b5ec-2342

The ID of the task details.

TaskType String CHG_DNS

The type of the task. Valid values:

  • CHG_HOLDER: Update the holder information
  • CHG_DNS: Change DNS servers
  • SET_WHOIS_PROTECT: Set privacy protection
  • UPDATE_ADMIN_CONTACT: Update the administrator information
  • UPDATE_BILLING_CONTACT: Update the payer information
  • UPDATE_TECH_CONTACT: Update the technical support information
  • SET_UPDATE_PROHIBITED: Set security locks for the domain name
  • SET_TRANSFER_PROHIBITED: Set the transfer prohibition lock for the domain name
  • ORDER_ACTIVATE: Create a registration order
  • ORDER_RENEW: Create a renewal order
  • ORDER_REDEEM: Create a redemption order
  • CREATE_DNSHOST: Create a DNS host
  • UPDATE_DNSHOST: Update the DNS host
  • SYNC_DNSHOST: Synchronize the DNS host
InstanceId String S1234456789

The ID of the domain instance.

DomainName String test.com

The domain name that was queried.

TaskStatus String EXECUTE_SUCCESS

The status of the task. Valid values:

  • WAITING_EXECUTE: To be executed
  • EXECUTING: Being executed
  • EXECUTE_SUCCESS: Succeeded
  • EXECUTE_FAILURE: Failed
UpdateTime String 2019-07-30 00:00:00

The time when the task details were last queried.

CreateTime String 2019-07-30 00:00:00

The time when the task was created.

TryCount Integer 0

The number of query retries.

ErrorMsg String Succeeded

The message indicating the result of the task.

TaskStatusCode Integer 2

The status code of the task. Valid values:

  • 0: To be executed
  • 1: Being executed
  • 2: Succeeded
  • 3: Failed
TaskTypeDescription String Change DNS server

The description of the task type.

NextPageCursor Struct

The cursor of the next page.

TaskNo String 75addb07-28a3-450e-b5ec-test

The ID of the task that was queried.

TaskDetailNo String 75addb07-28a3-450e-b5ec-2424

The ID of the task details.

TaskType String CHG_DNS

The type of the task. Valid values:

  • CHG_HOLDER: Update the holder information
  • CHG_DNS: Change DNS servers
  • SET_WHOIS_PROTECT: Set privacy protection
  • UPDATE_ADMIN_CONTACT: Update the administrator information
  • UPDATE_BILLING_CONTACT: Update the payer information
  • UPDATE_TECH_CONTACT: Update the technical support information
  • SET_UPDATE_PROHIBITED: Set security locks for the domain name
  • SET_TRANSFER_PROHIBITED: Set the transfer prohibition lock for the domain name
  • ORDER_ACTIVATE: Create a registration order
  • ORDER_RENEW: Create a renewal order
  • ORDER_REDEEM: Create a redemption order
  • CREATE_DNSHOST: Create a DNS host
  • UPDATE_DNSHOST: Update the DNS host
  • SYNC_DNSHOST: Synchronize the DNS host
InstanceId String S1234567890

The ID of the domain instance.

DomainName String test.com

The domain name that was queried.

TaskStatus String EXECUTE_FAILURE

The status of the task. Valid values:

  • WAITING_EXECUTE: To be executed
  • EXECUTING: Being executed
  • EXECUTE_SUCCESS: Succeeded
  • EXECUTE_FAILURE: Failed
UpdateTime String 2019-07-30 00:00:00

The time when the task details were last queried.

CreateTime String 2019-07-30 00:00:00

The time when the task was created.

TryCount Integer 5

The number of query retries.

ErrorMsg String The domain name has the update prohibition lock enabled

The message indicating the result of the task.

TaskStatusCode Integer 3

The status code of the task. Valid values:

  • 0: To be executed
  • 1: Being executed
  • 2: Succeeded
  • 3: Failed
TaskTypeDescription String Change DNS servers

The description of the task type.

PrePageCursor Struct

The cursor of the previous page.

TaskNo String 75addb07-28a3-450e-b5ec-test

The ID of the task that was queried.

TaskDetailNo String 75addb07-28a3-450e-b5ec-123

The ID of the task details.

TaskType String CHG_DNS

The type of the task. Valid values:

  • CHG_HOLDER: Update the holder information
  • CHG_DNS: Change DNS servers
  • SET_WHOIS_PROTECT: Set privacy protection
  • UPDATE_ADMIN_CONTACT: Update the administrator information
  • UPDATE_BILLING_CONTACT: Update the payer information
  • UPDATE_TECH_CONTACT: Update the technical support information
  • SET_UPDATE_PROHIBITED: Set security locks for the domain name
  • SET_TRANSFER_PROHIBITED: Set the transfer prohibition lock for the domain name
  • ORDER_ACTIVATE: Create a registration order
  • ORDER_RENEW: Create a renewal order
  • ORDER_REDEEM: Create a redemption order
  • CREATE_DNSHOST: Create a DNS host
  • UPDATE_DNSHOST: Update the DNS host
  • SYNC_DNSHOST: Synchronize the DNS host
InstanceId String S123456789

The ID of the domain instance.

DomainName String test.com

The domain name that was queried.

TaskStatus String EXECUTE_FAILURE

The status of the task. Valid values:

  • WAITING_EXECUTE: To be executed
  • EXECUTING: Being executed
  • EXECUTE_SUCCESS: Succeeded
  • EXECUTE_FAILURE: Failed
UpdateTime String 2019-07-30 00:00:00

The time when the task details were last queried.

CreateTime String 2019-07-30 00:00:00

The time when the task was created.

TryCount Integer 5

The number of query retries.

ErrorMsg String The domain name has the update prohibition lock enabled

The message indicating the result of the task.

TaskStatusCode Integer 3

The status code of the task. Valid values:

  • 0: To be executed
  • 1: Being executed
  • 2: Succeeded
  • 3: Failed
TaskTypeDescription String Change DNS servers

The description of the task type.

Examples

Sample requests

http(s)://[Endpoint]/? Action=QueryTaskDetailHistory
&PageSize=1
&TaskNo=75addb07-28a3-450e-b5ec-test
&<Common request parameters>

Sample success responses

XML format

<QueryTaskDetailHistoryResponse>
  <currentPageCursor></currentPageCursor>
  <nextPageCursor></nextPageCursor>
  <pageSize>2</pageSize>
  <prePageCursor></prePageCursor>
  <requestId>CCE5DABB-48DF-403C-A7A1-A8F8B4F530CA</requestId>
</QueryTaskDetailHistoryResponse>

JSON format

{
  "currentPageCursor": {},
  "nextPageCursor": {},
  "objects": [],
  "pageSize": 2,
  "prePageCursor": {},
  "requestId": "CCE5DABB-48DF-403C-A7A1-A8F8B4F530CA"
}

Error codes

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