Skip to content

Commit f897208

Browse files
committed
updated text
1 parent b25d8e3 commit f897208

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

powerapps-docs/developer/common-data-service/webapi/retrieve-related-entities-query.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,11 @@ OData-Version: 4.0
207207

208208
## Retrieve related entities by expanding collection-valued navigation properties
209209

210-
If you expand on collection-valued navigation parameters to retrieve related entities for entity sets, an `@odata.nextLink` property will be returned for the related entities. You should use the value of the `@odata.nextLink` property with a new `GET` request to return the required data.
210+
If you expand on collection-valued navigation parameters to retrieve related entities for entity sets, only one level of depth is returned if there is data. Otherwise the collection will return an empty array.
211211

212-
The following example retrieves the tasks assigned to the top 2 account records.
212+
In either case an `@odata.nextLink` property will be returned for the related entities. If you want to retrieve the collection separately, you can use the value of the `@odata.nextLink` property with a new `GET` request to return the required data.
213+
214+
The following example retrieves the tasks assigned to the top 2 account records. One has related tasks, the other does not.
213215

214216
**Request**
215217

@@ -277,7 +279,7 @@ OData-Version: 4.0
277279

278280
## Retrieve related entities by expanding both single-valued and collection-valued navigation properties
279281

280-
The following example demonstrates how you can expand related entities for entity sets using both single- and collection-valued navigation properties. As explained earlier, expanding on collection-valued navigation properties to retrieve related entities for entity sets returns an `@odata.nextLink` property for the related entities. You should use the value of the `@odata.nextLink` property with a new `GET` request to return the required data.
282+
The following example demonstrates how you can expand related entities for entity sets using both single- and collection-valued navigation properties. As explained earlier, expanding on collection-valued navigation properties to retrieve related entities for entity sets returns one level of depth and an `@odata.nextLink` property for the related entities.
281283

282284
In this example, we are retrieving the contact and tasks assigned to the top 2 accounts.
283285

0 commit comments

Comments
 (0)