Replace the Inventory

put

/inventory

Replaces all of a device's interfaces in the inventory with the new interfaces specified in the request. Interfaces under the specified device that appear in the request but not present in the database are added to the database. Interfaces under the specified device that appear in the database but not in the request are removed from the database.
Any devices in the inventory not included in the request are left unchanged.

Request

Query Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : ModelData
Type: object
Show Source
Nested Schema : Devices
Type: object
Additional Properties Allowed
Show Source
The list of devices discovered.
Example:
{
    "203.0.113.0":{
        "ICMPData":{
            "PollTimePCOM":300,
            "PollTimeACOM":300,
            "Available":true,
            "Hostname":"example1.oracle.com",
            "LastRTTNano":221198,
            "Timestamp":1702216942,
            "IPAddress":"203.0.113.0",
            "ZoneID":1
        },
        "SNMPData":{
            "DeviceSystemInfo":{
            }
        }
    },
    "203.0.113.1":{
        "ICMPData":{
            "PollTimePCOM":300,
            "PollTimeACOM":300,
            "Available":true,
            "Hostname":"example2.oracle.com",
            "LastRTTNano":645484,
            "Timestamp":1702216942,
            "IPAddress":"203.0.113.1",
            "ZoneID":1
        },
        "SNMPData":{
            "DeviceSystemInfo":{
            }
        }
    },
    "192.0.2.0":{
        "ICMPData":{
            "PollTimePCOM":300,
            "PollTimeACOM":300,
            "Available":true,
            "Hostname":"example3.oracle.com",
            "LastRTTNano":688044,
            "Timestamp":1702216942,
            "IPAddress":"192.0.2.0",
            "ZoneID":1
        },
        "SNMPData":{
            "Target":"192.0.2.0",
            "ProfileUUID":"df29b366-c3a4-4a89-8ec8-2f1527276c75",
            "Discovered":true,
            "Method":"BULK",
            "DeviceSystemInfo":{
                "SysDescription":"Oracle Software",
                "SysLocation":"telephone closet, 3rd floor",
                "SysName":"example3.oracle.com",
                "SysOid":"1.3.6.1.4.1.19.12.1.45.2.1.3.4.1.4"
            }
        }
    },
    "192.0.2.1":{
        "ICMPData":{
            "PollTimePCOM":300,
            "PollTimeACOM":300,
            "Available":true,
            "Hostname":"example4.oracle.com",
            "LastRTTNano":1491998,
            "Timestamp":1702216942,
            "IPAddress":"192.0.2.1",
            "ZoneID":1
        },
        "SNMPData":{
            "Target":"192.0.2.1",
            "ProfileUUID":"df29b366-c3a4-4a89-8ec8-2f1527276c75",
            "Discovered":true,
            "Method":"BULK",
            "DeviceSystemInfo":{
                "SysDescription":"Oracle Software",
                "SysLocation":"telephone closet, 3rd floor",
                "SysName":"example4.oracle.com",
                "SysOid":"1.3.6.1.4.1.19.12.1.45.2.1.3.4.1.3"
            }
        }
    }
}
Nested Schema : VMWare
Type: array
The VMware data discovered for the discovery.
Show Source
Nested Schema : additionalProperties
Type: object
Show Source
Nested Schema : ICMPData
Type: object
The ICMP data discovered for the discovery.
Show Source
Nested Schema : SNMPData
Type: object
The SNMP data discovered for the discovery.
Show Source
Nested Schema : Properties
Type: object
The device properties.
Show Source
  • Allowed Values: [ true, false ]
    The status of the devices can be managed. Possible values are true and false.
Nested Schema : Availability
Type: array
The availability data of the SNMP device.
Show Source
Nested Schema : DeviceSystemInfo
Type: object
The information about SNMP device system.
Show Source
Nested Schema : Performance
Type: array
The performance data of the SNMP device.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : Instances
Type: array
The instance details of the SNMP device.
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Type: object

204 Response

No content

401 Response

Unauthorized operation

405 Response

Bad request

500 Response

Internal server error
Back to Top