edit-icon download-icon

QueryTaskInfoHistory

Last Updated: Apr 23, 2018

Description

The QueryTaskInfoHistory API queries the list of historical 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 system required parameter. Set this parameter to QueryTaskInfoHistory.
PageSize Integer Yes Page size.
BeginCreateTime Long No Start time of the period in which the domain name tasks are queried by creation date, 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 by creation date, 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.
CreateTimeCursor String No Creation date cursor.
TaskNoCursor String No Task cursor. When you turn pages, this is task number in the corresponding page cursor.

Response parameters

Parameter Type Description
RequestId String Unique request identifier.
PageSize Integer Page size.
CurrentPageCursor TaskInfoHistoryCurrentPageCursorType Current page cursor.
NextPageCursor TaskInfoHistoryNextPageCursorType Next page cursor.
PrePageCursor TaskInfoHistoryPrePageCursorType Previous page cursor.
Objects TaskInfoHistoryType Task information.

Error codes

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

Samples

Sample request

  1. http://domain-intl.aliyuncs.com/?Action=QueryTaskInfoHistory
  2. &PageSize=2
  3. &<Public request parameter>

Sample response

  • XML sample
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <QueryTaskInfoHistoryResponse>
  3. <Objects>
  4. <TaskInfoHistory>
  5. <Clientip>127.0.0.1</Clientip>
  6. <TaskNo>aa634d3f-927e-4d17-9d2c-test</TaskNo>
  7. <CreateTime>2017-11-01 17:22:51</CreateTime>
  8. <TaskStatus>COMPLETE</TaskStatus>
  9. <TaskNum>1</TaskNum>
  10. <TaskStatusCode>3</TaskStatusCode>
  11. <TaskType>CHG_DNS</TaskType>
  12. <CreateTimeLong>1509528171000</CreateTimeLong>
  13. </TaskInfoHistory>
  14. <TaskInfoHistory>
  15. <Clientip>127.0.0.1</Clientip>
  16. <TaskNo>f9baa3d5-33b9-4c81-8847-test</TaskNo>
  17. <CreateTime>2017-11-01 17:19:47</CreateTime>
  18. <TaskStatus>COMPLETE</TaskStatus>
  19. <TaskNum>15</TaskNum>
  20. <TaskStatusCode>3</TaskStatusCode>
  21. <TaskType>CHG_DNS</TaskType>
  22. <CreateTimeLong>1509527987000</CreateTimeLong>
  23. </TaskInfoHistory>
  24. </Objects>
  25. <PageSize>2</PageSize>
  26. <NextPageCursor>
  27. <TaskNo>8f112aa1-98be-48c3-82f8-test</TaskNo>
  28. <CreateTime>2017-10-27 13:07:07</CreateTime>
  29. <CreateTimeLong>1509080827000</CreateTimeLong>
  30. </NextPageCursor>
  31. <RequestId>EB3FCCBA-CA1F-4D31-9F34-test</RequestId>
  32. <CurrentPageCursor>
  33. <Clientip>127.0.0.1</Clientip>
  34. <TaskNo>aa634d3f-927e-4d17-9d2c-test</TaskNo>
  35. <CreateTime>2017-11-01 17:22:51</CreateTime>
  36. <TaskStatus>COMPLETE</TaskStatus>
  37. <TaskNum>1</TaskNum>
  38. <TaskStatusCode>3</TaskStatusCode>
  39. <TaskType>CHG_DNS</TaskType>
  40. <CreateTimeLong>1509528171000</CreateTimeLong>
  41. </CurrentPageCursor>
  42. </QueryTaskInfoHistoryResponse>
  • JSON sample
  1. {
  2. "currentPageCursor": {
  3. "clientip": "127.0.0.1",
  4. "createTime": "2017-11-01 17:22:51",
  5. "createTimeLong": 1509528171000,
  6. "taskNo": "aa634d3f-927e-4d17-9d2c-test",
  7. "taskNum": 1,
  8. "taskStatus": "COMPLETE",
  9. "taskStatusCode": 3,
  10. "taskType": "CHG_DNS"
  11. },
  12. "nextPageCursor": {
  13. "createTime": "2017-10-27 13:07:07",
  14. "createTimeLong": 1509080827000,
  15. "taskNo": "8f112aa1-98be-48c3-82f8-test"
  16. },
  17. "objects": [
  18. {
  19. "clientip": "127.0.0.1",
  20. "createTime": "2017-11-01 17:22:51",
  21. "createTimeLong": 1509528171000,
  22. "taskNo": "aa634d3f-927e-4d17-9d2c-test",
  23. "taskNum": 1,
  24. "taskStatus": "COMPLETE",
  25. "taskStatusCode": 3,
  26. "taskType": "CHG_DNS"
  27. },
  28. {
  29. "clientip": "127.0.0.1",
  30. "createTime": "2017-11-01 17:19:47",
  31. "createTimeLong": 1509527987000,
  32. "taskNo": "f9baa3d5-33b9-4c81-8847-test",
  33. "taskNum": 15,
  34. "taskStatus": "COMPLETE",
  35. "taskStatusCode": 3,
  36. "taskType": "CHG_DNS"
  37. }
  38. ],
  39. "pageSize": 2,
  40. "prePageCursor": {},
  41. "requestId": "6EB5D9B8-AD99-4423-9D02-test"
  42. }
Thank you! We've received your feedback.