Terminate File Import Task

Last updated: 2017-12-14 11:51:14

1. API Description

This API (StopCdbImportJob) is used to terminate the file import task.
Domain for API request: cdb.api.qcloud.com

2. Input 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 StopCdbImportJob.

Parameter Name Required Type Description
jobId Yes Int Task ID

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.
codeDesc String Error description

4. Error Codes

The following error codes only include the business logic error codes for this API.

Error Code Error Message Error Description
9520 InternalError Import task does not exist
9590 InternalFailure File import internal error

5. Example

Input

https://cdb.api.qcloud.com/v2/index.php?Action=StopCdbImportJob
&<Common request parameters>
&jobId=18302

Output

{
    "code":"0",
    "message":"",
    "codeDesc":"Success"
}