CheckInventoryJob
Queries the execution status and progress of an asset inventory task.
Operation description
This operation returns the execution status and progress of an asset inventory task, as well as a list of sub-tasks, the progress percentage, and knowledge statistics.
Try it now
Test
RAM authorization
Request syntax
POST / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
integer |
Yes |
The ID of the asset inventory task. |
1001 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931 |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message. |
UnknownError |
| Success |
boolean |
Indicates whether the request succeeded. Valid values:
|
true |
| Data | KnowledgeJobInfoVO |
The returned data. |
true |
Examples
Success response
JSON format
{
"RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"Data": {
"JobId": 0,
"ShowJobId": "",
"Status": "",
"Progress": 0,
"TableCnt": 0,
"KnowledgeCnt": 0,
"Creator": "",
"Description": "",
"Supplement": "",
"CreateTime": "",
"EndTime": ""
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.