All Products
Document Center


Last Updated: Apr 17, 2018


The QueryTaskDetailHistory API queries the task details list for the specified domain name and returns the results by page.

Request parameters

For more information about public request parameters, see Public parameters.

Parameter Type Required Description
Action String Yes The API name, a required parameter. Set this parameter to QueryTaskDetailHistory.
PageSize Integer Yes Page size.
TaskNo String Yes Task ID.
TaskStatus Integer No Task status, which has the following enumerated values:
  • 0: The task is waiting to be executed.
  • 1: The task is being executed.
  • 2: The task was successfully executed.
  • 3: The task failed to be executed.
DomainName String No Domain name.
InstanceId String No Domain name instance ID.
DomainNameCursor String No Domain name cursor .
TaskDetailNoCursor String No Task details cursor.

Response parameters

Parameter Type Description
RequestId String Unique request identifier.
PageSize Integer Page size.
CurrentPageCursor TaskDetailHistoryCurrentPageCursorType Current page cursor.
NextPageCursor TaskDetailHistoryNextPageCursorType Next page cursor.
PrePageCursor TaskDetailHistoryPrePageCursorType Previous page cursor.
Objects TaskDetailHistoryType Task details.

Error code

Error code Description HTTP status code Semantics
ParameterIllegal Parameter illegal. 400 Parameter error.
NetworkIOError Network IO Error. 400 Network I/O exception.


Request example

  2. &PageSize=1
  3. &PageNum=1
  4. &TaskNo=75addb07-28a3-450e-b5ec-test
  5. &<Public request parameter>

Response example

  • XML format
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <QueryTaskDetailHistoryResponse>
  3. <PageSize>2</PageSize>
  4. <RequestId>548CAE74-88F8-402F-8C12-97E747389C51</RequestId>
  5. </QueryTaskDetailHistoryResponse>
  • JSON format
  1. {
  2. "currentPageCursor": {},
  3. "nextPageCursor": {},
  4. "objects": [],
  5. "pageSize": 2,
  6. "prePageCursor": {},
  7. "requestId": "CCE5DABB-48DF-403C-A7A1-A8F8B4F530CA"
  8. }