Use this API to get the status of a benchmark task.
Method |
URL |
Authentication |
---|---|---|
GET |
/V1/CMDB/Benchmark/Tasks/{task}/Status |
Yes |
Name |
Description |
---|---|
Token*required |
Place the token received from the API Log in to get an authentication token. |
task*required |
The ID or name of the benchmark task. |
Parameter |
Type |
Description |
Example |
---|---|---|---|
taskStatus |
integer |
The status of the scheduled task. Possible values: ▪1: Unknown ▪0: Never run ▪2: Running ▪10: Succeeded ▪11: Succeeded with warnings ▪20: Failed ▪30: Manually stopped ▪31: Automatically stopped due to timeout set by users or another system setting. |
{ |
statusCode |
integer |
The returned status code of executing the API. |
|
statusDescription |
string |
The explanation of the status code. |