Getting Organization Data by Repository ID
You can get a collection of resources of organizations the data of which is stored in a backup repository with the specified ID.
Request
GET https://<hostname>:4443/v6/BackupRepositories/{repositoryId}/OrganizationData |
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
The following parameter must be specified in the URL of the request:
Parameter | Type | Description |
---|---|---|
repositoryId | string | Specifies the identification number of the backup repository. For more information on how to get this parameter, see Getting Backup Repositories. |
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 OK.
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
In the response body, the server returns a resource representation of the /BackupRepositories/{repositoryId}/OrganizationData collection resource.
Example
The example returns a resource representation of the organizations backed-up data which is stored on a Veeam Backup for Microsoft 365 repository.
Request: GET https://abc.tech.local:4443/v6/BackupRepositories/459684e0-cb24e-4364-8b3c-e3aaeab4fb41/OrganizationData
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: [ { "displayName": "organization.onmicrosoft.com", "organizationId": "organization.onmicrosoft.com:00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000", "_links": { "self": { "href": "v6/backuprepositories/459684e0-ca4e-4164-8c3c-e3aaeab4fb41/organizationdata/organization.onmicrosoft.com:00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000" }, "backupRepository": { "href": "v6/backuprepositories/459684e0-cb24e-4364-8b3c-e3aaeab4fb41" } } }, { "displayName": "organization.server.local", "organizationId": ":03d6260c-2779-4914-8d65-782a66c10f70:00000000-0000-0000-0000-000000000000", "_links": { "self": { "href": "v6/backuprepositories/459684e0-ca4e-4164-8c3c-e3aaeab4fb41/organizationdata/:03d6260c-2779-4914-8d65-782a66c10f70:00000000-0000-0000-0000-000000000000" }, "backupRepository": { "href": "v6/backuprepositories/459684e0-cb24e-4364-8b3c-e3aaeab4fb41" } } } ], "_links": { "self": { "href": "v6/BackupRepositories/459684e0-cb24e-4364-8b3c-e3aaeab4fb41/OrganizationData?offset=0&limit=30" } } } |