| title | List sourceCollections |
|---|---|
| description | Get the list of sourceCollections resources from a case object. |
| author | mahage-msft |
| ms.localizationpriority | medium |
| ms.subservice | ediscovery |
| doc_type | apiPageType |
| ms.date | 06/10/2024 |
Namespace: microsoft.graph.ediscovery
[!INCLUDE beta-disclaimer]
[!INCLUDE ediscovery-deprecation]
Get the list of sourceCollections from a case object.
[!INCLUDE national-cloud-support]
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.
[!INCLUDE permissions-table]
GET /compliance/ediscovery/cases/{caseId}/sourceCollectionsThis method supports some of the OData query parameters to help customize the response. For general information, see OData query parameters.
| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this method returns a 200 OK response code and a collection of microsoft.graph.ediscovery.sourceCollection objects in the response body.
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/sourceCollections
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
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/c816dd6f-5af8-40c5-a760-331361e05c60/sourceCollections",
"value": [
{
"description": "",
"lastModifiedDateTime": "2020-12-31T18:54:28.80694Z",
"createdBy": {
"user": {
"id": "efee1b77-fb3b-4f65-99d6-274c11914d12",
"displayName": "eDiscovery admin"
}
},
"lastModifiedBy": {
"user": {
"id": "efee1b77-fb3b-4f65-99d6-274c11914d12",
"displayName": "eDiscovery admin"
}
},
"contentQuery": "subject:'Quarterly Financials'",
"dataSourceScopes": "allTenantMailboxes",
"id": "fe5ef84e9c8c45819c056f6eb261718e",
"displayName": "Quarterly Financials",
"createdDateTime": "2020-12-11T22:56:14.2329133Z"
}
]
}