Inventory Management API

/api/space/managed-domain/managed-elements/{id}/equipment-holders

The following operations are supported on this resource:

GET /api/space/managed-domain/managed-elements/{id}/equipment-holders (v1)


This API returns an equipment holder list for a managed element.

Access Control

The following capabilities are required to access this API:
"ViewPhysicalInventory"


Example Usage

GET /api/space/managed-domain/managed-elements/{id}/equipment-holders


Parameters

NameTypeURI TypeDescriptionRequired
me-idintPathThe ID of the managed element from which to return an holder list. Y

Content Types

  • Produces content types:
    application/vnd.net.juniper.space.managed-domain.equipment-holders+xml;version=1
    application/vnd.net.juniper.space.managed-domain.equipment-holders+json;version=1


  • Sample Output XML:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <equipment-holders uri="/api/space/managed-domain/managed-elements/262144/equipment-holders">
       <equipment-holder uri="/api/space/managed-domain/managed-elements/1540160/equipment-holders/1540359/">
          <id>1540160</id>
          <eqId>1540359</eqId>
          <name>Chassis</name>
       </equipment-holder>
    </equipment-holders>


  • Sample Output JSON:

    {
    "equipment-holders":
    {
       "@size":"1",
       "@uri":"/api/space/managed-domain/managed-elements/262148/equipment-holders",
       "equipment-holder":
          {
          "@uri":"/api/space/managed-domain/managed-elements/262148/equipment-holders/262176",
          "@key":"262176",
          "id":262148,
          "name":"Chassis"
          }
    }
    }