Queries the execution status and progress information of an asset information collection task.
Operation description
Queries the execution status and progress information of an asset information collection task, including the subtask list, progress percentage, and knowledge statistics.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:CheckInventoryJob |
none |
*All Resource
|
None | None |
Request syntax
POST / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
integer |
Yes |
The ID of the inventory task. |
1001 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
Id of the request |
0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931 |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message. |
UnknownError |
| Success |
boolean |
Indicates whether the request was successful. 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.