Queries 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
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.

DomainName String No test.com

The domain name of the task that you want to query.

DomainNameCursor String No test.com

The cursor of the domain name.

TaskStatus Integer No 0

The task status. Valid values:

  • 0: to be executed.
  • 1: being executed.
  • 2: successful.
  • 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.

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: updates the holder information.
  • CHG_DNS: changes DNS servers.
  • SET_WHOIS_PROTECT: sets privacy protection.
  • UPDATE_ADMIN_CONTACT: updates the administrative contacts.
  • UPDATE_BILLING_CONTACT: updates the payer information.
  • UPDATE_TECH_CONTACT: updates the technical support information.
  • SET_UPDATE_PROHIBITED: sets a security lock for the domain name.
  • SET_TRANSFER_PROHIBITED: sets the transfer prohibition lock for the domain name.
  • ORDER_ACTIVATE: creates a registration order.
  • ORDER_RENEW: creates a renewal order.
  • ORDER_REDEEM: creates a redemption order.
  • CREATE_DNSHOST: creates a DNS host.
  • UPDATE_DNSHOST: updates DNS host information.
  • SYNC_DNSHOST: synchronizes DNS host information.
InstanceId String S123456789

The ID of the domain name instance.

DomainName String test.com

The domain name of the task that was queried.

TaskStatus String EXECUTE_FAILURE

The task status. Valid values:

  • WAITING_EXECUTE: to be executed.
  • EXECUTING: being executed.
  • EXECUTE_SUCCESS: successful.
  • EXECUTE_FAILURE: failed.
UpdateTime String 2019-07-30 00:00:00

The last execution time of the task.

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

The time when the task was created.

TryCount Integer 5

The number of query attempts.

ErrorMsg String The domain name has an update prohibition lock.

The task execution result.

TaskStatusCode Integer 3

The status code of the task. Valid values:

  • 0: to be executed.
  • 1: being executed.
  • 2: successful.
  • 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: updates the holder information.
  • CHG_DNS: changes DNS servers.
  • SET_WHOIS_PROTECT: sets privacy protection.
  • UPDATE_ADMIN_CONTACT: updates the administrative contacts.
  • UPDATE_BILLING_CONTACT: updates the payer information.
  • UPDATE_TECH_CONTACT: updates the technical support information.
  • SET_UPDATE_PROHIBITED: sets a security lock for the domain name.
  • SET_TRANSFER_PROHIBITED: sets the transfer prohibition lock for the domain name.
  • ORDER_ACTIVATE: creates a registration order.
  • ORDER_RENEW: creates a renewal order.
  • ORDER_REDEEM: creates a redemption order.
  • CREATE_DNSHOST: creates a DNS host.
  • UPDATE_DNSHOST: updates DNS host information.
  • SYNC_DNSHOST: synchronizes DNS host information.
InstanceId String S1234456789

The ID of the domain name instance.

DomainName String test.com

The domain name of the task that was queried.

TaskStatus String EXECUTE_SUCCESS

The task status. Valid values:

  • WAITING_EXECUTE: to be executed.
  • EXECUTING: being executed.
  • EXECUTE_SUCCESS: successful.
  • EXECUTE_FAILURE: failed.
UpdateTime String 2019-07-30 00:00:00

The last execution time of the task.

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

The time when the task was created.

TryCount Integer 0

The number of query attempts.

ErrorMsg String Successful

The task execution result.

TaskStatusCode Integer 2

The status code of the task. Valid values:

  • 0: to be executed.
  • 1: being executed.
  • 2: successful.
  • 3: failed.
TaskTypeDescription String Change DNS servers

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 detail returned.

TaskType String CHG_DNS

The type of the task. Valid values:

  • CHG_HOLDER: updates the holder information.
  • CHG_DNS: changes DNS servers.
  • SET_WHOIS_PROTECT: sets privacy protection.
  • UPDATE_ADMIN_CONTACT: updates the administrative contacts.
  • UPDATE_BILLING_CONTACT: updates the payer information.
  • UPDATE_TECH_CONTACT: updates the technical support information.
  • SET_UPDATE_PROHIBITED: sets a security lock for the domain name.
  • SET_TRANSFER_PROHIBITED: sets the transfer prohibition lock for the domain name.
  • ORDER_ACTIVATE: creates a registration order.
  • ORDER_RENEW: creates a renewal order.
  • ORDER_REDEEM: creates a redemption order.
  • CREATE_DNSHOST: creates a DNS host.
  • UPDATE_DNSHOST: updates DNS host information.
  • SYNC_DNSHOST: synchronizes DNS host information.
InstanceId String S1234567890

The ID of the domain name instance.

DomainName String test.com

The domain name of the task that was queried.

TaskStatus String EXECUTE_FAILURE

The status of the task. Valid values:

  • WAITING_EXECUTE: to be executed.
  • EXECUTING: being executed.
  • EXECUTE_SUCCESS: successful.
  • EXECUTE_FAILURE: failed.
UpdateTime String 2019-07-30 00:00:00

The last execution time of the task.

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

The time when the task was created.

TryCount Integer 5

The number of query attempts.

ErrorMsg String The domain name has an update prohibition lock.

The task execution result.

TaskStatusCode Integer 3

The status code of the task. Valid values:

  • 0: to be executed.
  • 1: being executed.
  • 2: successful.
  • 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: updates the holder information.
  • CHG_DNS: changes DNS servers.
  • SET_WHOIS_PROTECT: sets privacy protection.
  • UPDATE_ADMIN_CONTACT: updates the administrative contacts.
  • UPDATE_BILLING_CONTACT: updates the payer information.
  • UPDATE_TECH_CONTACT: updates the technical support information.
  • SET_UPDATE_PROHIBITED: sets a security lock for the domain name.
  • SET_TRANSFER_PROHIBITED: sets the transfer prohibition lock for the domain name.
  • ORDER_ACTIVATE: creates a registration order.
  • ORDER_RENEW: creates a renewal order.
  • ORDER_REDEEM: creates a redemption order.
  • CREATE_DNSHOST: creates a DNS host.
  • UPDATE_DNSHOST: updates DNS host information.
  • SYNC_DNSHOST: synchronizes DNS host information.
InstanceId String S123456789

The ID of the domain name instance.

DomainName String test.com

The domain name of the task that was queried.

TaskStatus String EXECUTE_FAILURE

The task status. Valid values:

  • WAITING_EXECUTE: to be executed.
  • EXECUTING: being executed.
  • EXECUTE_SUCCESS: successful.
  • EXECUTE_FAILURE: failed.
UpdateTime String 2019-07-30 00:00:00

The last execution time of the task.

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

The time when the task was created.

TryCount Integer 5

The number of query attempts.

ErrorMsg String The domain name has an update prohibition lock.

The task execution result.

TaskStatusCode Integer 3

The status code of the task. Valid values:

  • 0: to be executed.
  • 1: being executed.
  • 2: successful.
  • 3: failed.
TaskTypeDescription String Change DNS servers

The description of the task type.

Examples

Sample requests

http(s)://[Endpoint]/? 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.