This commit is contained in:
Ben Alfasi 2018-11-12 18:25:26 +02:00
parent f43a23e29a
commit 1eb13f7bf7
4 changed files with 6 additions and 4 deletions

View File

@ -306,7 +306,7 @@
######## [Create custom Power BI reports](windows-defender-atp/run-advanced-query-sample-power-bi-app-token.md) ######## [Create custom Power BI reports](windows-defender-atp/run-advanced-query-sample-power-bi-app-token.md)
####### Multiple APIs ####### Multiple APIs
######## [PowerShell](windows-defender-atp/exposed-apis-full-sample-powershell.md) ######## [PowerShell](windows-defender-atp/exposed-apis-full-sample-powershell.md)
####### [Using OData Queries](exposed-apis-odata-samples.md) ####### [Using OData Queries](exposed-apis-odata-samples.)
##### [Use the Windows Defender ATP exposed APIs (deprecated)](windows-defender-atp/exposed-apis-windows-defender-advanced-threat-protection.md) ##### [Use the Windows Defender ATP exposed APIs (deprecated)](windows-defender-atp/exposed-apis-windows-defender-advanced-threat-protection.md)
###### [Supported Windows Defender ATP APIs (deprecated)](windows-defender-atp/supported-apis-windows-defender-advanced-threat-protection.md) ###### [Supported Windows Defender ATP APIs (deprecated)](windows-defender-atp/supported-apis-windows-defender-advanced-threat-protection.md)

View File

@ -38,7 +38,7 @@ ms.date: 30/07/2018
> To use a specific version use this format: https://api.securitycenter.windows.com/api/{Version}. For example: https://api.securitycenter.windows.com/api/v1.0/alerts > To use a specific version use this format: https://api.securitycenter.windows.com/api/{Version}. For example: https://api.securitycenter.windows.com/api/v1.0/alerts
> If you dont specify any version ( without /v1.0/ ) you will get to the latest version. > If you don't specify any version ( without /v1.0/ ) you will get to the latest version.
Learn more about the individual supported entities where you can run API calls to and details such as HTTP request values, request headers and expected responses. Learn more about the individual supported entities where you can run API calls to and details such as HTTP request values, request headers and expected responses.

View File

@ -19,7 +19,7 @@ ms.date: 09/24/2018
[!include[Prerelease information](prerelease.md)] [!include[Prerelease information](prerelease.md)]
If you are not familliar with OData queries, please see: [OData V4 queries](https://www.odata.org/documentation/) If you are not familiar with OData queries, please see: [OData V4 queries](https://www.odata.org/documentation/)
** Currently, [Machine](machine-windows-defender-advanced-threat-protection-new.md) and [Machine Action](machineaction-windows-defender-advanced-threat-protection-new.md) entities supports all OData queries.** ** Currently, [Machine](machine-windows-defender-advanced-threat-protection-new.md) and [Machine Action](machineaction-windows-defender-advanced-threat-protection-new.md) entities supports all OData queries.**
** [Alert](alerts-windows-defender-advanced-threat-protection-new.md) entity support all OData queries except $filter.** ** [Alert](alerts-windows-defender-advanced-threat-protection-new.md) entity support all OData queries except $filter.**

View File

@ -41,6 +41,8 @@ Delegated (work or school account) | Alert.ReadWrite | 'Read and write alerts'
GET /api/users/{id}/alerts GET /api/users/{id}/alerts
``` ```
**Note that the id is not the Full UPN, its only the user name. For example, for user1@contoso.com you will need to send /api/users/user1/alerts**
## Request headers ## Request headers
Name | Type | Description Name | Type | Description
@ -64,7 +66,7 @@ Here is an example of the request.
[!include[Improve request performance](improverequestperformance-new.md)] [!include[Improve request performance](improverequestperformance-new.md)]
``` ```
GET https://api.securitycenter.windows.com/api/users/user1@contoso.com/alerts GET https://api.securitycenter.windows.com/api/users/user1/alerts
``` ```
**Response** **Response**