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

(GET) /BackupRepositories/{repositoryId}/UserData

In this article

    Returns a resource representation of users backed up data which is stored on a Veeam Backup for Microsoft Office 365 repository having a specified ID.

    Request

    To get a resource representation of users backed up data which is stored on a Veeam Backup for Microsoft Office 365 repository having a specified ID, send the GET HTTPS request to the URL of the /BackupRepositories/{repositoryId}/UserData resource:

    HTTPS Request

    GET https://<Backup-Office365>:4443/v3/BackupRepositories/{repositoryId}/UserData

    Request Headers

    The request header must contain the authorization token for the current logon session.

    Request Body

    None.

    Response

    The server returns the following response to the client.

    Response Codes

    A successfully completed operation returns 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 request body message: application/json; charset=utf-8

    Response Body

    In the response body, the server returns a representation of the /BackupRepositories/{repositoryId}/UserData resource.

    Example

    The example below returns an entity representation of the users backed up data which is stored on a Veeam Backup for Microsoft Office 365 repository having a specified ID.

    Request:

    GET https://support.east.local:4443/v3/BackupRepositories/459684e0-cb24e-4364-8b3c-e3aaeab4fb41/UserData

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response:

    200 OK

     

    Response Body:

    [

       {

         "isMailboxBackedUp": true,

         "isOneDriveBackedUp": true,

         "isArchiveBackedUp": false,

         "isPersonalSiteBackedUp": true,

         "accountType": "User",

         "archiveName": "",

         "id": "organization.onmicrosoft.com:00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-0000000000005c46c152-61b8-4d6c-9746-648aea7eccec:00000000-0000-0000-0000-000000000000",

         "accountId": "5c46c152-61b8-4d6c-9746-648aea7eccec:00000000-0000-0000-0000-000000000000",

         "displayName": "...",

         "email": "user@organization.onmicrosoft.com",

         "organizationId": "organization.onmicrosoft.com:00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000",

         "oneDriveUrl": [

           "https://organization-my.sharepoint.com/personal/..._organization_onmicrosoft_com/Documents"

         ],

         "personalSiteUrl": [

           "https://organization-my.sharepoint.com/personal/..._organization_onmicrosoft_com"

         ],

         "_links": {

           "self": {

             "href": "https://127.0.0.1:4443/v3/backuprepositories/459684e0-ca4e-4164-8c3c-e3aaeab4fb41/userdata/5c46c152-61b8-4d6c-9746-648aea7eccec:00000000-0000-0000-0000-000000000000"

           },

           "organization": {

             "href": "https://127.0.0.1:4443/v3/backuprepositories/459684e0-ca4e-4164-8c3c-e3aaeab4fb41/organizationdata/organization.onmicrosoft.com:00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000"

           },

           "backupRepository": {

             "href": "https://127.0.0.1:4443/v3/backuprepositories/459684e0-ca4e-4164-8c3c-e3aaeab4fb41"

           }

         }

       },

       {

         "isMailboxBackedUp": true,

         "isOneDriveBackedUp": false,

         "isArchiveBackedUp": false,

         "isPersonalSiteBackedUp": false,

         "accountType": "User",

         "archiveName": "archive",

         "id": ":03d6260c-2779-4914-8d65-782a66c10f70:00000000-0000-0000-0000-00000000000000000000-0000-0000-0000-000000000000:6e7e4da2-8380-428c-af50-7ca456b58e65",

         "accountId": "00000000-0000-0000-0000-000000000000:6e7e4da2-8380-428c-af50-7ca456b58e65",

         "displayName": "...",

         "email": "user@server.local",

         "organizationId": ":03d6260c-2779-4914-8d65-782a66c10f70:00000000-0000-0000-0000-000000000000",

         "oneDriveUrl": [],

         "personalSiteUrl": [],

         "_links": {

           "self": {

             "href": "https://127.0.0.1:4443/v3/backuprepositories/459684e0-ca4e-4164-8c3c-e3aaeab4fb41/userdata/00000000-0000-0000-0000-000000000000:6e7e4da2-8380-428c-af50-7ca456b58e65"

           },

           "organization": {

             "href": "https://127.0.0.1:4443/v3/backuprepositories/459684e0-ca4e-4164-8c3c-e3aaeab4fb41/organizationdata/:03d6260c-2779-4914-8d65-782a66c10f70:00000000-0000-0000-0000-000000000000"

           },

           "backupRepository": {

             "href": "https://127.0.0.1:4443/v3/backuprepositories/459684e0-ca4e-4164-8c3c-e3aaeab4fb41"

           }

         }

       }

    ]

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.