Description
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
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
http://domain-intl.aliyuncs.com/?Action=QueryTaskDetailHistory
&PageSize=1
&PageNum=1
&TaskNo=75addb07-28a3-450e-b5ec-test
&<Public request parameter>
Response example
<?xml version='1.0' encoding='UTF-8'?>
<QueryTaskDetailHistoryResponse>
<PageSize>2</PageSize>
<RequestId>548CAE74-88F8-402F-8C12-97E747389C51</RequestId>
</QueryTaskDetailHistoryResponse>
{
"currentPageCursor": {},
"nextPageCursor": {},
"objects": [],
"pageSize": 2,
"prePageCursor": {},
"requestId": "CCE5DABB-48DF-403C-A7A1-A8F8B4F530CA"
}