Edit

Share via


List siteRestoreArtifactsBulkAdditionRequests

Namespace: microsoft.graph

Get a list of the siteRestoreArtifactsBulkAdditionRequest objects associated with a sharePointRestoreSession. The siteWebUrls property is deliberately omitted from the response body in order to limit the response size.

This API is available in the following national cloud deployments.

Global service US Government L4 US Government L5 (DOD) China operated by 21Vianet

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

Permission type Least privileged permission Higher privileged permissions
Delegated (work or school account) BackupRestore-Restore.Read.All Not available.
Delegated (personal Microsoft account) Not supported. Not supported.
Application BackupRestore-Restore.Read.All Not available.

HTTP request

GET /solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSessionId}/siteRestoreArtifactsBulkAdditionRequests

Optional query parameters

This method doesn't support the OData query parameters to help customize the response.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a collection of siteRestoreArtifactsBulkAdditionRequest objects in the response body.

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/v1.0/solutions/backupRestore/sharePointRestoreSessions/959ba739-70b5-43c4-8c90-b2c22014f18b/siteRestoreArtifactsBulkAdditionRequests

Response

The following example shows the response.

HTTP/1.1 200 OK
Content-Type: application/json

{
  "value": [
    {
      "id": "4437afcf-e520-463c-90a7-ca96401d8039",
      "siteWebUrls": [],
      "protectionTimePeriod": {
        "startDateTime": "2021-01-01T00:00:00Z",
        "endDateTime": "2021-01-08T00:00:00Z"
      },
      "destinationType": "new",
      "tags": "fastRestore",
      "restorePointPreference": "latest",
      "displayName": "Site-BulkRestore-1",
      "status": "CompletedWithErrors",
      "restoreSessionId": "d8078599-3b3c-468d-b6ff-adf161a42760",
      "createdDateTime": "2023-09-29T10:36:44.4021389+00:00",
      "createdBy": "",
      "lastModifiedDateTime": "2023-09-29T10:36:44.4021389+00:00",
      "lastModifiedBy": "",
      "error": [
        {
          "code": "BulkRestoreArtifactsNotResolved",
          "message": "Errors while resolving restore artifacts",
          "details": [
            {
              "code": "UserNotBackedup",
              "message": "Email address 'user0@contoso.com' has not been backed up",
              "target": "user0@contoso.com"
            }
          ]
        }
      ]
    }
  ]
}