Add Assets To Inventory
This operation adds one or more assets to an Inventory.
- application/json
Request Body
- inventoryId integer
assets object[]
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
errorResp object
{
"errorResp": {}
}
PUT /ediscoveryclients/inventories
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/Inventories' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"inventoryId": 0,
"assets": [
{
"name": "string",
"type": 0
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/Inventories' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"inventoryId": 0,
"assets": [
{
"name": "string",
"type": 0
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/Inventories' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"inventoryId": 0,
"assets": [
{
"name": "string",
"type": 0
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/Inventories' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"inventoryId": 0,
"assets": [
{
"name": "string",
"type": 0
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/Inventories' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"inventoryId": 0,
"assets": [
{
"name": "string",
"type": 0
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/Inventories' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"inventoryId": 0,
"assets": [
{
"name": "string",
"type": 0
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/Inventories' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"inventoryId": 0,
"assets": [
{
"name": "string",
"type": 0
}
]
}'