Help Center
Choose product document...
Veeam Backup & Replication 9.5
RESTful API Reference

Resource URLs

Every resource and resource collection in Enterprise Manager RESTful API has its own URL. A resource URL functions as a reference to an Enterprise Manager object: it is a resource address that the client can use to access the resource. For example, a Veeam backup server connected to Enterprise Manager can be addressed by the URL of the following type:

http://localhost:9399/api/backupServers/69368052-f7be-4be2-83d7-00ce2bbd7c0a

Every resource URL consists of two parts:

  • Base URL of Veeam Backup Enterprise Manager RESTful API
  • Resource location

Base URL

The base URL is common for all resources: it is the entry point to Veeam Backup Enterprise Manager RESTful API. Veeam Backup Enterprise Manager RESTful API has the following base URL:

http://<Enterprise-Manager>:9399/api/

where:

  • <Enterprise-Manager> is the name of the machine on which Veeam Backup Enterprise Manager is installed
  • 9399 is an HTTP port used to communicate with the REST API web service. You can also access Veeam Backup Enterprise Manager RESTful API over the HTTPS using port 9398.

By default, port 9399 is used. If you have specified another HTTP port during the Enterprise Manager installation, you should adjust the port number in the URL.

Resource Location

The resource location identifies the path to the resource itself in Enterprise Manager RESTful API. The resource location is suffixed to the base URL, forming the URL for the resource. For example, you can access the collection of jobs by the URL of the following type:

http://localhost:9399/api/jobs

The resource location for key resources includes the entity ID. Every key resource has an entity ID — an object identifier in the URN format. The entity ID is unique and persists for the time of the Veeam Backup Enterprise Manager RESTful API work session. For example, a Veeam backup server connected to Veeam Backup Enterprise Manager can have the following entity ID and the following URN:

http://localhost:9399/api/backupServers/21a631e0-af7f-46ba-afbd-273de2e6fd4a

Non-key resources may or may not have IDs that are called resource IDs. For example, the task resource has a resource ID of the following format:

http://localhost:9399/api/tasks/task-1

Such resources as files or directories do not have IDs:

http://localhost:9399/api/vmRestorePoints/e2b02b57-42dd-404a-b8af-8e45a58c1a88/mounts/1/C:/pagefile.sys

 

Resource URLs Important!

The client must never construct URLs for resources itself. URLs for all resources and actions that the client can perform are generated automatically by the server and provided in resource representations. The client should only select the URL it needs and send a necessary HTTP request to it.

 

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation