Skip to content

Commit 00ca56a

Browse files
committed
Terminology updates
1 parent e2189ac commit 00ca56a

File tree

5 files changed

+84
-94
lines changed

5 files changed

+84
-94
lines changed

powerapps-docs/developer/data-platform/webapi/associate-disassociate-entities-using-web-api.md

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: "Associate and disassociate entities using the Web API (Microsoft Dataverse)| Microsoft Docs"
3-
description: "Read how to add reference to a collection-valued navigation property, remove a reference and change an existing reference using the Web API"
2+
title: "Associate and disassociate tables using the Web API (Microsoft Dataverse)| Microsoft Docs"
3+
description: "Read how to add a reference to a collection-valued navigation property, remove a reference, and change an existing reference using the Web API"
44
ms.custom: ""
5-
ms.date: 04/3/2021
5+
ms.date: 05/03/2021
66
ms.service: powerapps
77
ms.suite: ""
88
ms.tgt_pltfrm: ""
@@ -22,11 +22,11 @@ search.app:
2222
- D365CE
2323
---
2424

25-
# Associate and disassociate entities using the Web API
25+
# Associate and disassociate tables using the Web API
2626

27-
[!INCLUDE[cc-data-platform-banner](../../../includes/cc-data-platform-banner.md)]
27+
[!INCLUDE[cc-terminology](../includes/cc-terminology.md)]
2828

29-
There are several methods you can use to associate and disassociate entities. Which method you apply depends on whether you’re creating or updating the entities and whether you’re operating in the context of the referenced entity or the referencing entity.
29+
There are several methods you can use to associate and disassociate tables (entities). Which method you apply depends on whether you’re creating or updating the tables and whether you’re operating in the context of the referenced table or the referencing table.
3030

3131
<a name="bkmk_Addareferencetoacollection"></a>
3232

@@ -85,7 +85,7 @@ OData-Version: 4.0
8585

8686
<a name="bkmk_Removeareferencetoanentity"></a>
8787

88-
## Remove a reference to an entity
88+
## Remove a reference to a table
8989

9090
Use a DELETE request to remove a reference to an entity. The way you do it is different depending on whether you’re referring to a collection-valued navigation property or a single-valued navigation property.
9191

@@ -124,27 +124,23 @@ OData-Version: 4.0
124124
```http
125125
HTTP/1.1 204 No Content
126126
OData-Version: 4.0
127-
```
128-
129-
130-
127+
```
131128

132-
133129
<a name="bkmk_Associateentitiesoncreate"></a>
134130

135-
## Associate entities on create
131+
## Associate tables on create
136132

137-
As described in [Associate entity records on create](create-entity-web-api.md#associate-entity-records-on-create), you can associate the new record to existing records by setting the navigation properties using the `@odata.bind` annotation.
133+
As described in [Associate table rows on create](create-entity-web-api.md#associate-entity-records-on-create), you can associate the new record to existing records by setting the navigation properties using the `@odata.bind` annotation.
138134

139-
As described in [Create related entities in one operation](create-entity-web-api.md#bkmk_CreateRelated), new entities can be created with relationships using *deep insert*.
135+
As described in [Create related tables in one operation](create-entity-web-api.md#bkmk_CreateRelated), new entities can be created with relationships using *deep insert*.
140136

141-
## Associate and disassociate entities on update
137+
## Associate and disassociate tables on update
142138

143139
You can set the value of single-valued navigation properties using `PATCH` to associate or disassociate records.
144140

145141
<a name="bkmk_Associateentitiesonupdate"></a>
146142

147-
### Associate entities on update
143+
### Associate tables on update
148144

149145
You can associate entities on update using the same message described in [Basic update](update-delete-entities-using-web-api.md#bkmk_update) but you must use the `@odata.bind` annotation to set the value of a single-valued navigation property. The following example changes the account associated to an opportunity using the `customerid_account` single-valued navigation property.
150146

@@ -169,7 +165,7 @@ HTTP/1.1 204 No Content
169165
OData-Version: 4.0
170166
```
171167

172-
### Disassociate entities on update
168+
### Disassociate tables on update
173169

174170
You can remove a reference to a single-valued navigation property when updating by setting the value to `null`. This method allows you to disassociate multiple references in a single operation.
175171
There are two ways to do this:
@@ -209,12 +205,12 @@ More information: [Basic update](update-delete-entities-using-web-api.md#basic-u
209205

210206
<a name="bkmk_Associateentitiesonupdate_multi"></a>
211207

212-
## Associate entities on update using collection-valued navigation property
208+
## Associate tables on update using collection-valued navigation property
213209

214210
The following example shows how to associate multiple existing [ActivityParty](../reference/entities/activityparty.md) entities with an [Email](../reference/entities/email.md) entity using collection-valued navigation property `email_activity_parties`.
215211

216212
> [!NOTE]
217-
> Associating multiple entities with an entity on update is a special scenario that is possible only with <xref href="Microsoft.Dynamics.CRM.activityparty?text=activityparty EntityType" />.
213+
> Associating multiple entities with an entity on update is a special scenario that is possible only with <xref:Microsoft.Dynamics.CRM.activityparty?text=activityparty EntityType />.
218214
219215
**Request**
220216

@@ -255,14 +251,13 @@ OData-Version: 4.0
255251
[Perform operations using the Web API](perform-operations-web-api.md)
256252
[Compose Http requests and handle errors](compose-http-requests-handle-errors.md)
257253
[Query Data using the Web API](query-data-web-api.md)
258-
[Create an entity using the Web API](create-entity-web-api.md)
259-
[Retrieve an entity using the Web API](retrieve-entity-using-web-api.md)
260-
[Update and delete entities using the Web API](update-delete-entities-using-web-api.md)
254+
[Create a table using the Web API](create-entity-web-api.md)
255+
[Retrieve a table using the Web API](retrieve-entity-using-web-api.md)
256+
[Update and delete tables using the Web API](update-delete-entities-using-web-api.md)
261257
[Use Web API functions](use-web-api-functions.md)
262258
[Use Web API actions](use-web-api-actions.md)
263259
[Execute batch operations using the Web API](execute-batch-operations-using-web-api.md)
264260
[Impersonate another user using the Web API](impersonate-another-user-web-api.md)
265261
[Perform conditional operations using the Web API](perform-conditional-operations-using-web-api.md)
266262

267-
268263
[!INCLUDE[footer-include](../../../includes/footer-banner.md)]

powerapps-docs/developer/data-platform/webapi/create-entity-web-api.md

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: "Create an entity record using the Web API (Microsoft Dataverse) | Microsoft Docs"
3-
description: "Read how to create a POST request to send data to create an entity record on Microsoft Dataverse using the Web API"
2+
title: "Create a table row using the Web API (Microsoft Dataverse) | Microsoft Docs"
3+
description: "Read how to create a POST request to send data to create a table row on Microsoft Dataverse using the Web API"
44
ms.custom: ""
5-
ms.date: 10/3/2020
5+
ms.date: 05/03/2021
66
ms.service: powerapps
77
ms.suite: ""
88
ms.tgt_pltfrm: ""
@@ -22,14 +22,14 @@ search.app:
2222
- D365CE
2323
---
2424

25-
# Create an entity record using the Web API
25+
# Create a table row using the Web API
2626

27-
[!INCLUDE[cc-data-platform-banner](../../../includes/cc-data-platform-banner.md)]
27+
[!INCLUDE[cc-terminology](../includes/cc-terminology.md)]
2828

29-
Use a POST request to send data to create an entity. You can create multiple related entity records in a single operation using *deep insert*. You also need to know how to set values to associate a new entity record to existing entities using the `@odata.bind` annotation.
29+
Use a POST request to send data to create a table row (entity record). You can create multiple related table rows in a single operation using *deep insert*. You also need to know how to set values to associate a new table row to existing tables using the `@odata.bind` annotation.
3030

3131
> [!NOTE]
32-
> For information about how to create and update the entity metadata using the Web API, see [Create and update entity definitions using the Web API](create-update-entity-definitions-using-web-api.md).
32+
> For information about how to create and update the table (entity) definitions using the Web API, see [Create and update table definitions using the Web API](create-update-entity-definitions-using-web-api.md).
3333
3434
<a name="bkmk_basicCreate"></a>
3535

@@ -67,7 +67,7 @@ OData-EntityId: [Organization URI]/api/data/v9.0/accounts(7eb682f1-ca75-e511-80d
6767
6868
```
6969

70-
To create a new entity record you must identify the valid property names and types. For all system entities and attributes, you can find this information in the topic for that entity in the [About the Entity Reference](../reference/about-entity-reference.md). For custom entities or attributes, refer to the definition of that entity in the [CSDL $metadata document](web-api-types-operations.md#csdl-metadata-document) . More information: [Entity types](web-api-types-operations.md#entity-types)
70+
To create a new entity record you must identify the valid property names and types. For all system entities and attributes (table columns), you can find this information in the topic for that entity in the [About the Table Reference](../reference/about-entity-reference.md). For custom entities or attributes, refer to the definition of that entity in the [CSDL $metadata document](web-api-types-operations.md#csdl-metadata-document). More information: [Entity types](web-api-types-operations.md#entity-types)
7171

7272
<a name="bkmk_createWithDataReturned"></a>
7373

@@ -130,7 +130,7 @@ OData-Version: 4.0
130130

131131
<a name="bkmk_CreateRelated"></a>
132132

133-
## Create related entity records in one operation
133+
## Create related table rows in one operation
134134

135135
You can create entities related to each other by defining them as navigation properties values. This is known as *deep insert*.
136136

@@ -186,7 +186,7 @@ OData-EntityId: [Organization URI]/api/data/v9.0/accounts(3c6e4b5f-86f6-e411-80d
186186

187187
<a name="bkmk_associateOnCreate"></a>
188188

189-
## Associate entity records on create
189+
## Associate table rows on create
190190

191191
To associate new entities to existing entities when they are created you must set the value of navigation properties using the `@odata.bind` annotation.
192192

@@ -255,16 +255,15 @@ Preference-Applied: return=representation
255255

256256
<a name="bkmk_SuppressDuplicateDetection"></a>
257257

258-
## Check for Duplicate records
258+
## Check for duplicate records
259259

260-
261-
By default, duplicate detection is suppressed when you are creating records using the Web API. You must include the `MSCRM.SuppressDuplicateDetection: false` header with your POST request to enable duplicate detection . Duplicate detection only applies when the organization has enabled duplicate detection, the entity is enabled for duplicate detection, and there are active duplicate detection rules being applied. More information: [Detect duplicate data using code](../detect-duplicate-data-with-code.md)
260+
By default, duplicate detection is suppressed when you are creating records using the Web API. You must include the `MSCRM.SuppressDuplicateDetection: false` header with your POST request to enable duplicate detection. Duplicate detection only applies when 1) the organization has enabled duplicate detection, 2) the entity is enabled for duplicate detection, and 3) there are active duplicate detection rules being applied. More information: [Detect duplicate data using code](../detect-duplicate-data-with-code.md)
262261

263262
See [Detect duplicate data using Web API](manage-duplicate-detection-create-update.md#bkmk_create) for more information on how to check for duplicate records during Create operation.
264263

265264
<a name="bkmk_initializefrom"></a>
266265

267-
## Create a new entity record from another entity
266+
## Create a new table row from another entity
268267

269268
Use `InitializeFrom` function to create a new record in the context of an existing record where a mapping exists between the entities to which the records belong.
270269

@@ -295,7 +294,7 @@ Accept: application/json
295294
}
296295
```
297296

298-
The response received from `InitializeFrom` request consists of values of mapped attributes between the source entity and target entity and the GUID of parent record. The attribute mapping between entities that have an entity relationship is different for different entity sets and is customizable, so the response from `InitializeFrom` function request may vary for different entities and organizations. When this response is passed in the body of create request of the new record, these attribute values are replicated in the new record. The values of custom mapped attributes also get set in the new record during the process.
297+
The response received from `InitializeFrom` request consists of values of mapped attributes between the source entity and target entity and the GUID of the parent record. The attribute mapping between entities that have an entity relationship is different for different entity sets and is customizable, so the response from `InitializeFrom` function request may vary for different entities and organizations. When this response is passed in the body of create request of the new record, these attribute values are replicated in the new record. The values of custom mapped attributes also get set in the new record during the process.
299298

300299
> [!NOTE]
301300
> To determine whether two entities can be mapped, use this query:<br />
@@ -339,14 +338,13 @@ More information: [Access documents faster using storage partitions](azure-stora
339338
[Perform operations using the Web API](perform-operations-web-api.md)<br />
340339
[Compose Http requests and handle errors](compose-http-requests-handle-errors.md)<br />
341340
[Query Data using the Web API](query-data-web-api.md)<br />
342-
[Retrieve an entity using the Web API](retrieve-entity-using-web-api.md)<br />
343-
[Update and delete entities using the Web API](update-delete-entities-using-web-api.md)<br />
344-
[Associate and disassociate entities using the Web API](associate-disassociate-entities-using-web-api.md)<br />
341+
[Retrieve a table using the Web API](retrieve-entity-using-web-api.md)<br />
342+
[Update and delete tables using the Web API](update-delete-entities-using-web-api.md)<br />
343+
[Associate and disassociate tables using the Web API](associate-disassociate-entities-using-web-api.md)<br />
345344
[Use Web API functions](use-web-api-functions.md)<br />
346345
[Use Web API actions](use-web-api-actions.md)<br />
347346
[Execute batch operations using the Web API](execute-batch-operations-using-web-api.md)<br />
348347
[Impersonate another user using the Web API](impersonate-another-user-web-api.md)<br />
349348
[Perform conditional operations using the Web API](perform-conditional-operations-using-web-api.md)<br />
350349

351-
352350
[!INCLUDE[footer-include](../../../includes/footer-banner.md)]

powerapps-docs/developer/data-platform/webapi/retrieve-and-execute-predefined-queries.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ Dataverse allows you to define, save, and execute two types of queries as listed
3636

3737
|Query type|Description|
3838
|----------------|-----------------|
39-
|**Saved Query**|System-defined views for an entity. These views are stored in the <xref:Microsoft.Dynamics.CRM.savedquery?text=savedquery EntityType />. More information: [Customize table views](../../model-driven-apps/customize-entity-views.md)|
40-
|**User Query**|Advanced Find searches saved by users for an entity. These views are stored in the <xref:Microsoft.Dynamics.CRM.userquery?text=userquery EntityType />. More information: [UserQuery (saved view) table](../saved-queries.md)|
39+
|**Saved Query**|System-defined views for a table (entity). These views are stored in the <xref:Microsoft.Dynamics.CRM.savedquery?text=savedquery EntityType />. More information: [Customize table views](../../model-driven-apps/customize-entity-views.md)|
40+
|**User Query**|Advanced Find searches saved by users for a table (entity). These views are stored in the <xref:Microsoft.Dynamics.CRM.userquery?text=userquery EntityType />. More information: [UserQuery (saved view) table](../saved-queries.md)|
4141

4242
Records for both of these types of entities contain the FetchXML definition for the data to return. You can query the respective entity type to retrieve the primary key value. With the primary key value, you can execute the query by passing the primary key value. For example, to execute the **Active Accounts** saved query, you must first get the primary key using a query like this.
4343

@@ -51,7 +51,7 @@ You can then use the `savedqueryid` value and pass it as the value to the savedQ
5151
GET [Organization URI]/api/data/v9.0/accounts?savedQuery=00000000-0000-0000-00aa-000010001002
5252
```
5353

54-
Use the same approach to get the userqueryid and pass it as the value to the `userQuery` parameter to the entity set that matches the corresponding `returnedtypecode` of the saved query.
54+
Use the same approach to get the `userqueryid` and pass it as the value to the `userQuery` parameter to the entity set that matches the corresponding `returnedtypecode` of the saved query.
5555

5656
```http
5757
GET [Organization URI]/api/data/v9.0/accounts?userQuery=121c6fd8-1975-e511-80d4-00155d2a68d1
@@ -159,7 +159,7 @@ A paging cookie must be requested as an annotation. Set the `odata.include-annot
159159

160160
<a name="bkmk_FetchXMLwithinBatch"></a>
161161

162-
### Use FetchXML within a Batch request
162+
### Use FetchXML within a batch request
163163

164164
The length of a URL in a `GET` request is limited. Including FetchXML as a parameter in the URL can reach this limit. You can execute a `$batch` operation using a `POST` request as a way to move the FetchXML out of the URL and into the body of the request where this limit will not apply. More information:[Execute batch operations using the Web API](execute-batch-operations-using-web-api.md).
165165

@@ -232,15 +232,14 @@ OData-Version: 4.0
232232
[Perform operations using the Web API](perform-operations-web-api.md)<br />
233233
[Compose Http requests and handle errors](compose-http-requests-handle-errors.md)<br />
234234
[Query Data using the Web API](query-data-web-api.md)<br />
235-
[Create an entity using the Web API](create-entity-web-api.md)<br />
236-
[Retrieve an entity using the Web API](retrieve-entity-using-web-api.md)<br />
237-
[Update and delete entities using the Web API](update-delete-entities-using-web-api.md)<br />
238-
[Associate and disassociate entities using the Web API](associate-disassociate-entities-using-web-api.md)<br />
235+
[Create a table using the Web API](create-entity-web-api.md)<br />
236+
[Retrieve a table using the Web API](retrieve-entity-using-web-api.md)<br />
237+
[Update and delete tables using the Web API](update-delete-entities-using-web-api.md)<br />
238+
[Associate and disassociate tables using the Web API](associate-disassociate-entities-using-web-api.md)<br />
239239
[Use Web API functions](use-web-api-functions.md)<br />
240240
[Use Web API actions](use-web-api-actions.md)<br />
241241
[Execute batch operations using the Web API](execute-batch-operations-using-web-api.md)<br />
242242
[Impersonate another user using the Web API](impersonate-another-user-web-api.md)<br />
243243
[Perform conditional operations using the Web API](perform-conditional-operations-using-web-api.md)<br />
244244

245-
246245
[!INCLUDE[footer-include](../../../includes/footer-banner.md)]

0 commit comments

Comments
 (0)