Bewerken

Delen via


ediscoveryReviewSet: export

Namespace: microsoft.graph.security

Initiate an export from a ediscoveryReviewSet. For details, see Export documents from a review set in eDiscovery (Premium).

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 permissions Higher privileged permissions
Delegated (work or school account) eDiscovery.Read.All eDiscovery.ReadWrite.All
Delegated (personal Microsoft account) Not supported. Not supported.
Application Not supported. Not supported.

HTTP request

POST /security/cases/ediscoveryCases/{ediscoveryCaseId}/reviewSets/{ediscoveryReviewSetId}/export

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.
Content-Type application/json. Required.

Request body

In the request body, supply a JSON representation of the parameters.

The following table shows the parameters that can be used with this action.

Parameter Type Description
description String Description of the export.
exportOptions microsoft.graph.security.exportOptions Specifies options that control the format of the export. Possible values are: originalFiles, text, pdfReplacement, tags, unknownFutureValue.
exportStructure microsoft.graph.security.exportFileStructure Options that control file structure and packaging of the export. Possible values are: none, directory, pst, unknownFutureValue.
outputName String Name of the export. Required.

Response

If the export has started successfully, this action returns a 202 Accepted response code. The response contains also a Location header, which contains the location of the Export operation that was created to handle the export.

Examples

Request

The following example shows a request.

POST https://graph.microsoft.com/v1.0/security/cases/ediscoveryCases/58399dff-cebe-478f-b1af-d3227f1fd645/reviewSets/273f11a1-17aa-419c-981d-ff10d33e420f/export
Content-Type: application/json

{
    "outputName": "Export via API",
    "description": "Export for the Contoso investigation",
    "exportOptions": "originalFiles,tags",
    "exportStructure": "directory"
}

Response

The following example shows the response.

HTTP/1.1 202 Accepted
cache-control: no-cache,
client-request-id: 3ec98906-7187-927e-5203-2ed4533175c6,
location: https://graph.microsoft.com/beta/compliance/ediscovery/cases('5b840b94-f821-4c4a-8cad-3a90062bf51a')/operations('2ad2da7c7dbb404abfbbb28b7b6babd6'),
request-id: 9e6b9230-113c-49de-8f7d-ecb90d35b0de