Query Task Results

Last updated: 2020-06-04 18:10:28

    Note:

    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new VPC API 3.0 which is standardized and faster.

    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. 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.

    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
        }
    }

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help