You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update List Tasks in Business Scenario to require one filter, update example for group id, add example for external object id filter, and remove example that has no filters
Copy file name to clipboardExpand all lines: api-reference/beta/api/businessscenarioplanner-list-tasks.md
+23-23Lines changed: 23 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,9 @@ Choose the permission or permissions marked as least privileged for this API. Us
33
33
GET /solutions/businessScenarios/{businessScenarioId}/planner/tasks
34
34
```
35
35
36
-
## Optional query parameters
36
+
## Required query parameters
37
37
38
-
This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters). You can query tasks with their context IDor location as filters.
38
+
This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters). You must query tasks with one of their Object ID, Context ID or Group ID as filters.
39
39
40
40
## Request headers
41
41
@@ -53,9 +53,9 @@ If successful, this method returns a `200 OK` response code and a collection of
53
53
54
54
## Examples
55
55
56
-
### Example 1: Get all tasks for a scenario
56
+
### Example 1: Get tasks associated with a specific externalObjectId
57
57
58
-
The following example shows a request that gets all tasks related to a scenario.
58
+
The following example shows a request that gets all tasks associated with a specific context.
59
59
60
60
#### Request
61
61
@@ -64,44 +64,44 @@ The following example shows a request.
GET https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c6864911ac46c720affb6e4d/planner/tasks
72
+
GET https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c6864911ac46c720affb6e4d/planner/tasks?$filter=businessScenarioProperties/externalObjectId eq 'Order#12010'
@@ -253,7 +253,7 @@ The following example shows a request.
253
253
}
254
254
-->
255
255
```http
256
-
GET https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c6864911ac46c720affb6e4d/planner/tasks?$filter=location/microsoft.graph.businessScenarioGroupTarget/groupId eq '7a339254-4b2b-4410-b295-c890a16776ee'
256
+
GET https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c6864911ac46c720affb6e4d/planner/tasks?$filter=target/microsoft.graph.businessScenarioGroupTarget/groupId eq '7a339254-4b2b-4410-b295-c890a16776ee'
0 commit comments