Query Task Results

Last updated: 2017-12-05 14:54:20

PDF

1. API Description

This API (DescribeVpcTaskResult) is used to query task execution result APIs
Domain for API request: vpc.api.qcloud.com

2. Request Parameters

The following request parameter list only provides API request parameters. Common request parameters need to be added when the API is called. For more information, refer to Common Request Parameters. The Action field for this API is DescribeVpcTaskResult.

Parameter Name Required Type Description
taskId Yes Int ID of request task. For example: 15454. This is provided by specific asynchronous operation API.

3. Output Parameters

Parameter Name Type Description
code Int Common error code; 0: Succeeded; other values: Failed. For more information, please refer to Common Error Codes on the Error Code page.
message String Module error message description depending on API.
data Array Returned information.
data.status Int Current status of the task. 0: Succeeded; 1: Failed; 2: In progress.
codeDesc String Error code

4. Error Codes

The API does not have a business error code. For common error codes, see VPC Error Codes

5. Example

Input


https://vpc.api.qcloud.com/v2/index.php?Action=DescribeVpcTaskResult
&<Common request parameters>
&taskId=6356081

Output

{
    "code": 0,
    "message": "",
    "data": {
        "status": 0
    }
}