
This is an archive version of the document. To get the most up-to-date information, see the
current version.
(GET) /managedServers
Returns a resource representation of a collection of all servers connected to Veeam backup servers that are managed by Veeam Backup Enterprise Manager.
To get a list of servers connected to Veeam backup servers, you need to send the GET HTTP request to the URL of the /managedServers resource.
HTTP Request
GET http://<Enterprise-Manager>:9399/api/managedServers |
Request Headers
The request contains the following headers:
Header | Required | Description |
X-RestSvcSessionId | True | The request requires authorization. In the header, the client must send a session ID copied from the server reply to the request creating a new logon session. To learn more, see Authentication and Security. |
Request Body
None.
Query Parameters
None.
The server returns the following response to the client.
Response Codes
A successfully completed operation returns response code 200 Success.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTP headers.
Header | Description |
Content-length | The length of the response body. |
Content-type | The media type and syntax of the request body message: application/xml. |
Response Body
In the response body, Veeam Backup Enterprise Manager returns a representation of the /managedServers resource collection.
The example below returns a list of all servers that are currently connected to Veeam backup servers managed by Veeam Backup Enterprise Manager.
Request: GET http://localhost:9399/api/managedServers Request Header: X-RestSvcSessionId NDRjZmJkYmUtNWE5NS00MTU2LTg4NjctOTFmMDY5YjdjMmNj Response: 200 Success Response Body: <EntityReferences xmlns="http://www.veeam.com/ent/v1.0"> <Ref Type="ManagedServerReference" Href="http://localhost:9399/api/managedServers/0d7ea80c-6ac8-46bf-863c-3a6093f8baec" Name="vc01" UID="urn:veeam:ManagedServer:0d7ea80c-6ac8-46bf-863c-3a6093f8baec"> <Links> <Link Rel="Alternate" Type="ManagedServer" Href="http://localhost:9399/api/managedServers/0d7ea80c-6ac8-46bf-863c-3a6093f8baec?format=Entity" Name="vc01" /> <Link Rel="Up" Type="BackupServerReference" Href="http://localhost:9399/api/backupServers/ce15a8c7-aa49-495e-b05b-ee3398c91018" Name="srv02" /> </Links> </Ref> <Ref Type="ManagedServerReference" Href="http://localhost:9399/api/managedServers/a5352877-3b99-4e2a-8700-400cb3eefb56" Name="172.16.16.77" UID="urn:veeam:ManagedServer:a5352877-3b99-4e2a-8700-400cb3eefb56"> <Links> <Link Rel="Alternate" Type="ManagedServer" Href="http://localhost:9399/api/managedServers/a5352877-3b99-4e2a-8700-400cb3eefb56?format=Entity" Name="172.16.16.77" /> <Link Rel="Up" Type="BackupServerReference" Href="http://localhost:9399/api/backupServers/ce15a8c7-aa49-495e-b05b-ee3398c91018" Name="srv02" /> </Links> </Ref> <Ref Type="ManagedServerReference" Href="http://localhost:9399/api/managedServers/5b133853-b0cf-4bb6-8c11-4f9dcb258b26" Name="172.16.13.45" UID="urn:veeam:ManagedServer:5b133853-b0cf-4bb6-8c11-4f9dcb258b26"> <Links> <Link Rel="Alternate" Type="ManagedServer" Href="http://localhost:9399/api/managedServers/5b133853-b0cf-4bb6-8c11-4f9dcb258b26?format=Entity" Name="172.16.13.45" /> <Link Rel="Up" Type="BackupServerReference" Href="http://localhost:9399/api/backupServers/ce15a8c7-aa49-495e-b05b-ee3398c91018" Name="srv02" /> </Links> </Ref> <Ref Type="ManagedServerReference" Href="http://localhost:9399/api/managedServers/5b768a76-bcc1-48ed-af47-85424cc43584" Name="172.16.1.102" UID="urn:veeam:ManagedServer:5b768a76-bcc1-48ed-af47-85424cc43584"> <Links> <Link Rel="Alternate" Type="ManagedServer" Href="http://localhost:9399/api/managedServers/5b768a76-bcc1-48ed-af47-85424cc43584?format=Entity" Name="172.16.1.102" /> <Link Rel="Up" Type="BackupServerReference" Href="http://localhost:9399/api/backupServers/ce15a8c7-aa49-495e-b05b-ee3398c91018" Name="srv02" /> </Links> </Ref> </EntityReferences> |