-
Notifications
You must be signed in to change notification settings - Fork 3
put_inventory
Alberto Gonzalez edited this page Oct 29, 2015
·
1 revision
Start an inventory update in the specified environment, or on the specified system, or the specified application (VMware or Hyper-V)
Not in Phase 1 of the API, but in a later release, the user will be able to specify other applications, or even specific applications and a single host or client for further filtering.
PUT /api/inventory/?sid={id}
Host: <server host name>
Accept: application/json
AuthToken: <authentication token returned from authenticate>
Optional filters include:
| Filter | Description | Example |
|---|---|---|
| /{app} | start inventory creation by application | PUT /api/inventory/VMware |
| PUT /api/inventory/Hyper-V | ||
| /{app}/{id} | start inventory creation by application type and identifier | PUT /api/inventory/VMware/003C-FC034298D2-A2975280-FF23 |
| PUT/api/inventory/Hyper-V/22 | ||
| PUT /api/inventory/Exchange 2012/7 |
200 success
| Index | Value | Type | Returned |
|---|---|---|---|
| TBD | TBD | TBD | TBD |
PUT /api/inventory
Host: <server host name>
Accept: application/json
AuthToken: 8a00sjerhterqerjlqkjlk443l4j56869h4f_)(fjdkasHHHHHkdal324
{
}