accessReviewStage: filterByCurrentUser
Namespace: microsoft.graph
Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects.
Permissions
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.
Permission type | Permissions (from least to most privileged) |
---|---|
Delegated (work or school account) | AccessReview.Read.All, AccessReview.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. |
Application | AccessReview.Read.All, AccessReview.ReadWrite.All |
HTTP request
GET /identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinitionId}/instances/{accessReviewInstanceId}/stages/filterByCurrentUser(on='reviewer')
Function parameters
In the request URL, provide the following query parameters with values. The following table shows the parameters that can be used with this function.
Parameter | Type | Description |
---|---|---|
on | accessReviewStageFilterByCurrentUserOptions | Filters results based on the calling user. Allowed value is reviewer . This returns all accessReviewStage objects on the accessReviewInstance where the calling user is a reviewer. Required. |
This function also supports the $select
, $filter
(eq
), $orderBy
, $skip
and $top
OData query parameters to help customize the response. For general information, see OData query parameters.
Request headers
Name | Description |
---|---|
Authorization | Bearer {token}. Required. |
Request body
Do not supply a request body for this method.
Response
If successful, this function returns a 200 OK
response code and a accessReviewStage collection in the response body.
Examples
Request
GET https://graph.microsoft.com/v1.0/identityGovernance/accessReviews/definitions/08531375-eff6-4e21-b1a8-de0eb37ec913/instances/86889534-b102-4226-bfce-0c2aeee845df/stages/filterByCurrentUser(on='reviewer')
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/v1.0/$metadata#Collection(accessReviewStage)",
"@odata.count": 2,
"value": [
{
"id": "9ac05ca6-396a-469c-8a8b-bcb98fceb2dd",
"startDateTime": "2018-08-03T21:02:30.667Z",
"endDateTime": "2018-08-13T21:17:30.513Z",
"status": "Completed",
"reviewers": [
{
"query": "/groups/46d30af1-e626-4928-83f5-e9bfa400289e/owners?$filter=microsoft.graph.user/userType eq 'Member' and microsoft.graph.user/country eq
'USA'",
"type": "MicrosoftGraph"
}
]
},
{
"id": "03266a48-8731-4cfc-8a60-b2fa6648a14c",
"startDateTime": "2018-08-14T21:02:30.667Z",
"endDateTime": "2018-09-03T21:17:30.513Z",
"status": "InProgress",
"reviewers": [
{
"queryType": "MicrosoftGraph",
"queryRoot": "decisions",
"query": "./manager",
}
]
}
]
}
フィードバック
フィードバックの送信と表示