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
Copy file name to clipboardExpand all lines: api-reference/beta/api/businessscenarioplanner-list-tasks.md
+8-74Lines changed: 8 additions & 74 deletions
Original file line number
Diff line number
Diff line change
@@ -30,12 +30,16 @@ Choose the permission or permissions marked as least privileged for this API. Us
30
30
}
31
31
-->
32
32
```http
33
-
GET /solutions/businessScenarios/{businessScenarioId}/planner/tasks
33
+
GET /solutions/businessScenarios/{businessScenarioId}/planner/tasks?$filter=businessScenarioProperties/externalObjectId eq '{externalObjectId}'
34
+
GET /solutions/businessScenarios/{businessScenarioId}/planner/tasks?$filter=businessScenarioProperties/externalContextId eq '{externalContextId}'
35
+
GET /solutions/businessScenarios/{businessScenarioId}/planner/tasks?$filter=target/microsoft.graph.businessScenarioGroupTarget/groupId eq '{groupId}'
34
36
```
35
37
36
-
## Required query parameters
38
+
## Query parameters
37
39
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.
40
+
This method requires the `$filter` (`eq`) query parameter to scope the request to a **externalObjectId**, **externalContextId**, or a **groupId**.
41
+
42
+
This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
39
43
40
44
## Request headers
41
45
@@ -61,51 +65,16 @@ The following example shows a request that gets all tasks associated with a spec
GET https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c6864911ac46c720affb6e4d/planner/tasks?$filter=businessScenarioProperties/externalObjectId eq 'Order#12010'
@@ -245,7 +214,6 @@ The following example shows a request that gets all tasks created in a specific
245
214
246
215
The following example shows a request.
247
216
248
-
# [HTTP](#tab/http)
249
217
<!-- {
250
218
"blockType": "request",
251
219
"name": "list_businessscenariotask_e3",
@@ -256,40 +224,6 @@ The following example shows a request.
256
224
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