Get sourceCollection
Namespace: microsoft.graph.ediscovery
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Read the properties and relationships of a sourceCollection object.
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 | eDiscovery.Read.All | eDiscovery.ReadWrite.All |
HTTP request
GET /compliance/ediscovery/cases/{caseId}/sourceCollections/{sourceCollectionId}
Optional query parameters
This method supports some of the OData query parameters to help customize the response. For general information, see OData query parameters.
Use $expand
to expand review set operations, custodian sources, and the last estimate statistics operation.
https://graph.microsoft.com/beta/compliance/ediscovery/cases/47746044-fd0b-4a30-acfc-5272b691ba5b/sourcecollections/1a9b4145d8f84e39bc45a7f68c5c5119?$expand=addToReviewSetOperation,custodianSources,lastEstimateStatisticsOperation
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 microsoft.graph.ediscovery.sourceCollection object in the response body.
Examples
Request
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/47746044-fd0b-4a30-acfc-5272b691ba5b/sourcecollections/1a9b4145d8f84e39bc45a7f68c5c5119?$expand=addToReviewSetOperation,custodianSources,lastEstimateStatisticsOperation
Response
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#compliance/ediscovery/cases('47746044-fd0b-4a30-acfc-5272b691ba5b')/sourceCollections/$entity",
"description": null,
"lastModifiedDateTime": "2021-01-12T18:09:03.7378679Z",
"contentQuery": "subject:'Quarterly Financials'",
"dataSourceScopes": "allTenantMailboxes",
"id": "1a9b4145d8f84e39bc45a7f68c5c5119",
"displayName": "Quarterly Financials search",
"createdDateTime": "2021-01-12T18:09:03.417009Z",
"createdBy": {
"user": {
"id": "c1db6f13-332a-4d84-b111-914383ff9fc9",
"displayName": "EDisco Admin",
"userPrincipalname": "admin@contoso.com"
}
},
"lastModifiedBy": {
"user": {
"id": "c1db6f13-332a-4d84-b111-914383ff9fc9",
"displayName": "EDisco Admin",
"userPrincipalname": "admin@contoso.com"
}
},
"addToReviewSetOperation": {
"createdDateTime": "2021-01-13T05:38:49.9186654Z",
"completedDateTime": "2021-01-13T07:54:45.0007868Z",
"percentProgress": 100,
"status": "succeeded",
"action": "addToReviewSet",
"id": "aef586b34d89405d802497658a14194f",
"createdBy": {
"user": {
"id": "c1db6f13-332a-4d84-b111-914383ff9fc9",
"displayName": null,
"userPrincipalName": "admin@contoso.com"
}
}
},
"lastEstimateStatisticsOperation": {
"createdDateTime": "2021-01-12T21:53:50.7272654Z",
"completedDateTime": "2021-01-12T21:54:49.5595543Z",
"percentProgress": 100,
"status": "succeeded",
"action": "estimateStatistics",
"id": "f3db0382af0842eaa98c7dd59e7dace6",
"indexedItemCount": 39598,
"indexedItemsSize": 3760920737,
"unindexedItemCount": 0,
"unindexedItemsSize": 0,
"mailboxCount": 1,
"siteCount": 1,
"createdBy": {
"user": {
"id": "c1db6f13-332a-4d84-b111-914383ff9fc9",
"displayName": "EDisco Admin",
"userPrincipalName": "admin@contoso.com"
}
}
}
}