Refresh All Inventory Items
Product version: 10.11
Last modified: 31 July 2024
Refreshes all inventory items of the specified platform or all of them.
The platforms are selected by invoking different action. See the Request Fields description. method is the same.
Endpoint
https://<Director_IP_address>:4443/c/router
Request Example
Copy
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie @cookies.txt \
--data '{
"action": "VmwareDiscovery",
"method": "refreshAll",
"data": null,
"type": "rpc",
"tid": 1}'
Request Fields
|
Field
|
Type
|
Value(s)
|
|---|---|---|
action
|
string |
|
method
|
string | refreshAll |
data
|
null
|
null
|
type
|
string | rpc
|
tid
|
integer | 1 |
Response Sample
Copy
{
"action": "HypervDiscovery",
"method": "refreshAll",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
Response Fields
|
Field
|
Value
|
Description
|
|---|---|---|
message
|
string | Message if the request failed |
where
|
string | Reference to the method where the problem occurred |
cause
|
string | Cause of failure |