edit-icon download-icon

QueryTaskList

Last Updated: Apr 17, 2018

Description

The QueryTaskList API queries the list of domain name tasks under the current account 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 QueryTaskList.
PageNum Integer Yes Page number.
PageSize Integer Yes Page size.
BeginCreateTime Long No Start time of the period in which the domain name tasks are queried, expressed by the number of milliseconds between the start time and the UTC time 00:00 on January 1, 1970. Currently, only query by day is supported.
EndCreateTime Long No End time of the period in which the domain name tasks are queried, expressed by the number of milliseconds between the end time and the UTC time 00:00 on January 1, 1970. Currently, only query by day is supported.

Response parameters

Parameter Type Description
RequestId String Unique request identifier.
TotalItemNum Integer Total number of tasks.
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 TaskInfoType Task list.

Error code

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=QueryTaskList
  2. &PageNum=1
  3. &PageSize=2
  4. &<Public request parameter>

Response example

  • XML format
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <QueryTaskListResponse>
  3. <Data>
  4. <TaskInfo>
  5. <Clientip>127.0.0.1</Clientip>
  6. <TaskNo>8b1cd755-4928-4b02-adee-e5d41d7b1939</TaskNo>
  7. <CreateTime>Dec 26,2017 11:00:54</CreateTime>
  8. <TaskStatus>COMPLETE</TaskStatus>
  9. <TaskNum>1</TaskNum>
  10. <TaskType>CREATE_DNSHOST</TaskType>
  11. </TaskInfo>
  12. <TaskInfo>
  13. <Clientip>127.0.0.1</Clientip>
  14. <TaskNo>b0069db5-db21-4e57-842a-260c370a37e2</TaskNo>
  15. <CreateTime>Dec 26,2017 11:00:54</CreateTime>
  16. <TaskStatus>COMPLETE</TaskStatus>
  17. <TaskNum>2</TaskNum>
  18. <TaskType>CHG_DNS</TaskType>
  19. </TaskInfo>
  20. </Data>
  21. <TotalItemNum>43</TotalItemNum>
  22. <PageSize>2</PageSize>
  23. <CurrentPageNum>1</CurrentPageNum>
  24. <RequestId>8D7D294A-8E99-481F-B64C-017EFC793059</RequestId>
  25. <TotalPageNum>22</TotalPageNum>
  26. </QueryTaskListResponse>
  • JSON format
  1. {
  2. "CurrentPageNum": 1,
  3. "Data": {
  4. "TaskInfo": [
  5. {
  6. "Clientip": "127.0.0.1",
  7. "CreateTime": "Dec 26,2017 11:00:54",
  8. "TaskNo": "8b1cd755-4928-4b02-adee-e5d41d7b1939",
  9. "TaskNum": 1,
  10. "TaskStatus": "COMPLETE",
  11. "TaskType": "CREATE_DNSHOST"
  12. },
  13. {
  14. "Clientip": "127.0.0.1",
  15. "CreateTime": "Dec 26,2017 11:00:54",
  16. "TaskNo": "b0069db5-db21-4e57-842a-260c370a37e2",
  17. "TaskNum": 2,
  18. "TaskStatus": "COMPLETE",
  19. "TaskType": "CHG_DNS"
  20. }
  21. ]
  22. },
  23. "PageSize": 2,
  24. "RequestId": "85C735DC-872F-423B-A728-C20C2924D3C6",
  25. "TotalItemNum": 43,
  26. "TotalPageNum": 22
  27. }
Thank you! We've received your feedback.