This is an archive version of the document. To get the most up-to-date information, see the current version.

/hierarchyRoots/{ID}

In this article

    Represents a virtualization host having the specified ID. The virtualization host is added to the Veeam backup server connected to Veeam Backup Enterprise Manager.

    Resource URL

    The URL of the reference resource representation:

    http://<Enterprise-Manager>:9399/api/hierarchyRoots/{ID}

    The URL of the entity resource representation:

    http://<Enterprise-Manager>:9399/api/hierarchyRoots/{ID}?format=Entity

    Related Resources

    Methods

    The following methods are supported for the /hierarchyRoots/{ID} resource:

    (GET) /hierarchyRoots/{ID}

    Resource Representation

    The /hierarchyRoots/{ID} resource has a resource representation of the following types.

    Entity reference resource representation:

    <EntityRef xmlns="http://www.veeam.com/ent/v1.0" Type="HierarchyRootReference" Href="http://localhost:9399/api/hierarchyRoots/0d7ea80c-6ac8-46bf-863c-3a6093f8baec" Name="vcdev51" UID="urn:veeam:HierarchyRoot:0d7ea80c-6ac8-46bf-863c-3a6093f8baec">
     <Links>
       <Link Rel="Up" Type="BackupServerReference" Href="http://localhost:9399/api/backupServers/ce15a8c7-aa49-495e-b05b-ee3398c91018" Name="srv02.veeam.local" />
       <Link Rel="Alternate" Type="HierarchyRoot" Href="http://localhost:9399/api/hierarchyRoots/0d7ea80c-6ac8-46bf-863c-3a6093f8baec?format=Entity" Name="vc01" />
     </Links>
    </EntityRef>

    Entity resource representation:

    <HierarchyRoot xmlns="http://www.veeam.com/ent/v1.0" Type="HierarchyRoot" Href="http://localhost:9399/api/hierarchyRoots/0d7ea80c-6ac8-46bf-863c-3a6093f8baec?format=Entity" Name="vcdev51" UID="urn:veeam:HierarchyRoot:0d7ea80c-6ac8-46bf-863c-3a6093f8baec">
     <Links>
       <Link Rel="Up" Type="BackupServerReference" Href="http://localhost:9399/api/backupServers/ce15a8c7-aa49-495e-b05b-ee3398c91018" Name="srv02.veeam.local" />
       <Link Rel="Alternate" Type="HierarchyRootReference" Href="http://localhost:9399/api/hierarchyRoots/0d7ea80c-6ac8-46bf-863c-3a6093f8baec" Name="vc01" />
       <Link Rel="Related" Type="ManagedServer" Href="http://localhost:9399/api/managedServers/0d7ea80c-6ac8-46bf-863c-3a6093f8baec?format=Entity" Name="vc01" />
     </Links>
     <HierarchyRootId>0d7ea80c-6ac8-46bf-863c-3a6093f8baec</HierarchyRootId>
     <UniqueId>09D89361-9178-4EAF-8037-E4E82B1932F0</UniqueId>
     <HostType>VC</HostType>
    </HierarchyRoot>