On-Premises Organizations
This section explains how to add on-premises Microsoft Exchange and Microsoft SharePoint organizations.
Request
POST https://<hostname>:4443/v5/Organizations |
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
None.
Request Body
The following table lists available request properties.
Property | Type | Description |
---|---|---|
Type | string | Sets the type of the organization that you add. Can be:
|
Name | string | Sets the name of the on-premises organization. |
isExchange | boolean | Defines whether to add an on-premises Exchange organization. |
ExchangeSettings | object | Sets on-premises Microsoft Exchange settings. |
isSharePoint | boolean | Defines whether to add an on-premises SharePoint organization. |
SharePointSettings | object | Sets on-premises Microsoft SharePoint settings. |
Request Example
Request: POST https://<hostname>:4443/v5/Organizations
Request Header: Authorization: Bearer <Access-Token> Request Body: { "Type": "OnPremises", "isExchange": true, "ExchangeSettings": { "ServerName": "server", "Username": "Domain\\Administrator", "Password": "password", "UseSSL": false, "GrantImpersonation": true, "ConfigureThrottlingpolicy": true }, "IsSharepoint": true, "SharepointSettings": { "ServerName": "server", "ServerPort": 5985, "Username": "Domain\\Administrator", "Password": "pass", "UseSSL": false, "GrantAccesstositecollections": true } } |
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 201 Created.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
---|---|
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
Property | Type | Description |
---|---|---|
type | string | Shows the type of the organization. Can be:
|
isSharepoint | boolean | Shows if a SharePoint Online organization is added. |
isExchange | boolean | Shows if an Exchange Online organization is added. |
exchangeSettings | object | Shows settings of the Exchange Online organization. |
sharepointSettings | object | Shows settings of the SharePoint Online organization. |
id | string | Shows the identification number of the organization in Veeam Backup for Microsoft Office 365. |
name | string | Shows the name of the organization. |
isBackedup | boolean | Shows if data of the organization has been backed up. |
_links | Dictionary of string [key] and Object [value] | Links to related resources (navigation property). |
Response Example
Response: 201 Created
Response Body: { "type": "OnPremises", "isSharepoint": false, "isExchange": true, "exchangeSettings": { "serverName": "split", "username": "domain\\administrator", "useSSL": false }, "id": "028aeb89-7445-4d2e-8395-6276a3c4b65a", "name": "abc", "isBackedup": false, "_links": { "self": {"href": "https://epsilon.tech.local:4443/v5/organizations/028aeb89-7445-4d2e-8395-6276a3c4b65a"}, "jobs": {"href": "https://epsilon.tech.local:4443/v5/organizations/028aeb89-7445-4d2e-8395-6276a3c4b65a/jobs"}, "groups": {"href": "https://epsilon.tech.local:4443/v5/organizations/028aeb89-7445-4d2e-8395-6276a3c4b65a/groups"}, "users": {"href": "https://epsilon.tech.local:4443/v5/organizations/028aeb89-7445-4d2e-8395-6276a3c4b65a/users"}, "usedRepositories": {"href": "https://epsilon.tech.local:4443/v5/organizations/028aeb89-7445-4d2e-8395-6276a3c4b65a/usedRepositories"} }, "_actions": {} }
|