edit-icon download-icon

QueryTaskDetailList

Last Updated: Apr 18, 2018

Description

The QueryTaskDetailList API queries the details list of the specified domain name task 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 API of the action, system required parameter. Set this parameter to QueryTaskDetailList.
PageNum Integer Yes Page number
PageSize Integer Yes Page size
TaskNo String Yes Task ID
TaskStatus Integer No Task status. The enumerated values include:
  • 0: The task is waiting to be executed.
  • 1: The task is being executed.
  • 2: The task is successfully executed.
  • 3: The task fails to be executed.
DomainName String No Domain name
InstanceId String No Domain name instance ID

Response parameters

Parameter Type Description
RequestId String Unique request identifier
TotalItemNum Integer Total number of details items
CurrentPageNum Integer Current page number
TotalPageNum Integer Total number of pages
PageSize Integer Page size
PrePage Boolean Whether the previous page exists
NextPage Boolean Whether the next page exists
Data TaskDetailType Task list

Error codes

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

Examples

Request example

  1. http://domain-intl.aliyuncs.com/?Action=QueryTaskDetailList
  2. &PageSize=1
  3. &PageNum=1
  4. &TaskNo=75addb07-28a3-450e-b5ec-9f98b9d07ea3
  5. &<Public request parameters>

Response example

  • XML format
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <QueryTaskDetailListResponse>
  3. <Data>
  4. <TaskDetail>
  5. <TryCount>0</TryCount>
  6. <TaskDetailNo>f252e8d37f1643b5af508d0800e54b7a</TaskDetailNo>
  7. <TaskNo>b0069db5-db21-4e57-842a-260c370a37e2</TaskNo>
  8. <CreateTime>Dec 26,2017 11:01:00</CreateTime>
  9. <InstanceId>ST201711221713270000000</InstanceId>
  10. <UpdateTime>Dec 26,2017 11:02:01</UpdateTime>
  11. <TaskStatus>EXECUTE_SUCCESS</TaskStatus>
  12. <DomainName>x-test.com</DomainName>
  13. <ErrorMsg>The operation is successful.</ErrorMsg>
  14. <TaskType>CHG_DNS</TaskType>
  15. </TaskDetail>
  16. <TaskDetail>
  17. <TryCount>0</TryCount>
  18. <TaskDetailNo>a212095b3e194deb95ace501daf480d6</TaskDetailNo>
  19. <TaskNo>b0069db5-db21-4e57-842a-260c370a37e2</TaskNo>
  20. <CreateTime>Dec 26,2017 11:01:00</CreateTime>
  21. <InstanceId>ST2017112216583600000000</InstanceId>
  22. <UpdateTime>Dec 26,2017 11:02:01</UpdateTime>
  23. <TaskStatus>EXECUTE_SUCCESS</TaskStatus>
  24. <DomainName>x-intl.com</DomainName>
  25. <ErrorMsg>The operation is successful.</ErrorMsg>
  26. <TaskType>CHG_DNS</TaskType>
  27. </TaskDetail>
  28. </Data>
  29. <TotalItemNum>2</TotalItemNum>
  30. <PageSize>1000</PageSize>
  31. <CurrentPageNum>1</CurrentPageNum>
  32. <RequestId>E48C18A2-E28A-4164-A960-17BA464967E6</RequestId>
  33. <TotalPageNum>1</TotalPageNum>
  34. </QueryTaskDetailListResponse>
  • JSON format
  1. {
  2. "CurrentPageNum": 1,
  3. "Data": {
  4. "TaskDetail": [
  5. {
  6. "CreateTime": "Dec 26,2017 11:01:00",
  7. "DomainName": "x-test.com",
  8. "ErrorMsg": "The operation is successful.",
  9. "InstanceId": "ST201711221713270000000",
  10. "TaskDetailNo": "f252e8d37f1643b5af508d0800e54b7a",
  11. "TaskNo": "b0069db5-db21-4e57-842a-260c370a37e2",
  12. "TaskStatus": "EXECUTE_SUCCESS",
  13. "TaskType": "CHG_DNS",
  14. "TryCount": 0,
  15. "UpdateTime": "Dec 26,2017 11:02:01"
  16. },
  17. {
  18. "CreateTime": "Dec 26,2017 11:01:00",
  19. "DomainName": "x-intl.com",
  20. "ErrorMsg": "The operation is successful.",
  21. "InstanceId": "ST2017112216583600000000",
  22. "TaskDetailNo": "a212095b3e194deb95ace501daf480d6",
  23. "TaskNo": "b0069db5-db21-4e57-842a-260c370a37e2",
  24. "TaskStatus": "EXECUTE_SUCCESS",
  25. "TaskType": "CHG_DNS",
  26. "TryCount": 0,
  27. "UpdateTime": "Dec 26,2017 11:02:01"
  28. }
  29. ]
  30. },
  31. "PageSize": 1000,
  32. "RequestId": "69F1C2F3-9EBE-4A16-89C8-A832ED68E108",
  33. "TotalItemNum": 2,
  34. "TotalPageNum": 1
  35. }
Thank you! We've received your feedback.