Inventory Management API

/api/space/managed-domain/managed-elements/{id}/multilayer-subnetworks/{mlsnId}

The following operations are supported on this resource:

GET /api/space/managed-domain/managed-elements/{id}/multilayer-subnetworks/{mlsnId} (v1)


This API returns a multiLayer subnetwork from a managed element given a managed element ID and a mulitlayer subnetwork ID.

Access Control

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


Example Usage

GET /api/space/managed-domain/managed-elements/{id}/multilayer-subnetworks/{mlsnId}


Parameters

NameTypeURI TypeDescriptionRequired
me-idintPathThe ID of the managed element from which to retrieve the multilayer subnetwork. Y
mlsn-idintPathThe ID of the multilayer subnetwork from which to retrieve information. Y

Content Types

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


  • Sample Output XML:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <multilayer-subnetwork uri="/api/space/managed-domain/managed-elements/262144/multilayer-subnetworks/851968">
       <id>1234</id>
       <name>mlsns</name>
       <managed-elements>
          <managed-element>
             <id>851968</id>
          </managed-element>
       </managed-elements>
    </multilayer-subnetwork>


  • Sample Output JSON:

    {
       "multilayer-subnetwork":
          {
       "@uri":"/api/space/managed-domain/managed-elements/262144/multilayer-subnetworks/123",
             "id":"1234",
             "name":"mlsns",
             "managed-elements":{"managed-element":{"id":"851968"}}
       }
    }