GetInventorySynchronizationJob
Queries resource synchronization tasks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:GetInventorySynchronizationJob |
get |
*InventorySynchronizationJob
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the IDaaS EIAM instance. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| InventorySynchronizationJobId |
string |
Yes |
The ID of the synchronization task. |
sync_xxxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| InventorySynchronizationJob |
object |
The inventory synchronization job. |
|
| InventorySynchronizationJobId |
string |
The ID of the synchronization task. |
sync_xxxxxxxxx |
| InventorySourceId |
string |
The inventory source ID. |
src_xxxxxx |
| StartTime |
integer |
The synchronization start time. The value is a UNIX timestamp in seconds. |
1761531256 |
| EndTime |
integer |
The synchronization end time. The value is a UNIX timestamp in seconds. |
1761531556 |
| TriggerType |
string |
The synchronization trigger type. Valid values:
|
manual |
| Status |
string |
The synchronization job status. Valid values:
|
success |
| Description |
string |
The synchronization job description. |
No Description |
| Result |
object |
The synchronization node task result. |
|
| AssetStatistics |
object |
The asset synchronization result statistics. |
|
| Created |
object |
The creation result statistics. |
|
| Total |
integer |
The total count. |
5 |
| Success |
integer |
The success count. |
3 |
| Failed |
integer |
The failure count. |
1 |
| Skipped |
integer |
The skipped count. |
1 |
| Updated |
object |
The update result statistics. |
|
| Total |
integer |
The total count. |
5 |
| Success |
integer |
The success count. |
3 |
| Failed |
integer |
The failure count. |
1 |
| Skipped |
integer |
The skipped count. |
1 |
| Deleted |
object |
The deletion result statistics. |
|
| Total |
integer |
The total count. |
5 |
| Success |
integer |
The success count. |
3 |
| Failed |
integer |
The failure count. |
1 |
| Skipped |
integer |
The skipped count. |
1 |
| Same |
object |
The unchanged result statistics. |
|
| Total |
integer |
The total count. |
5 |
| Success |
integer |
The success count. |
3 |
| Failed |
integer |
The failure count. |
1 |
| Skipped |
integer |
The skipped count. |
1 |
| AgentStatistics |
object |
The agent synchronization result statistics. |
|
| Created |
object |
The creation result statistics. |
|
| Total |
integer |
The total count. |
5 |
| Success |
integer |
The success count. |
3 |
| Failed |
integer |
The failure count. |
1 |
| Skipped |
integer |
The skipped count. |
1 |
| Updated |
object |
The update result statistics. |
|
| Total |
integer |
The total count. |
5 |
| Success |
integer |
The success count. |
3 |
| Failed |
integer |
The failure count. |
1 |
| Skipped |
integer |
The skipped count. |
1 |
| Deleted |
object |
The deletion result statistics. |
|
| Total |
integer |
The total count. |
5 |
| Success |
integer |
The success count. |
3 |
| Failed |
integer |
The failure count. |
1 |
| Skipped |
integer |
The skipped count. |
1 |
| Same |
object |
The unchanged result statistics. |
|
| Total |
integer |
The total count. |
5 |
| Success |
integer |
The success count. |
3 |
| Failed |
integer |
The failure count. |
1 |
| Skipped |
integer |
The skipped count. |
1 |
| ErrorMessage |
string |
The error message of the synchronization result. |
No Error Message |
| ErrorCode |
string |
The error code of the synchronization result. |
No ErrorCode |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"InventorySynchronizationJob": {
"InventorySynchronizationJobId": "sync_xxxxxxxxx",
"InventorySourceId": "src_xxxxxx",
"StartTime": 1761531256,
"EndTime": 1761531556,
"TriggerType": "manual",
"Status": "success",
"Description": "No Description",
"Result": {
"AssetStatistics": {
"Created": {
"Total": 5,
"Success": 3,
"Failed": 1,
"Skipped": 1
},
"Updated": {
"Total": 5,
"Success": 3,
"Failed": 1,
"Skipped": 1
},
"Deleted": {
"Total": 5,
"Success": 3,
"Failed": 1,
"Skipped": 1
},
"Same": {
"Total": 5,
"Success": 3,
"Failed": 1,
"Skipped": 1
}
},
"AgentStatistics": {
"Created": {
"Total": 5,
"Success": 3,
"Failed": 1,
"Skipped": 1
},
"Updated": {
"Total": 5,
"Success": 3,
"Failed": 1,
"Skipped": 1
},
"Deleted": {
"Total": 5,
"Success": 3,
"Failed": 1,
"Skipped": 1
},
"Same": {
"Total": 5,
"Success": 3,
"Failed": 1,
"Skipped": 1
}
},
"ErrorMessage": "No Error Message",
"ErrorCode": "No ErrorCode"
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.