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
count | Boolean | `retrieveMultipleRequest`, `retrieveAllRequest` | Boolean that sets the $count system query option with a value of true to include a count of entities that match the filter criteria up to 5000 (per page). Do not use $top with $count!
236
236
duplicateDetection | Boolean | `createRequest`, `updateRequest`, `upsertRequest` | `v.1.3.4+`**Web API v9+ only!** Boolean that enables duplicate detection. [More Info](https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/webapi/update-delete-entities-using-web-api#check-for-duplicate-records)
237
237
entity | Object | `createRequest`, `updateRequest`, `upsertRequest` | A JavaScript object with properties corresponding to the logical name of entity attributes (exceptions are lookups and single-valued navigation properties).
238
-
expand | Array | `retrieveRequest`, `createRequest`, `updateRequest`, `upsertRequest` | An array of Expand Objects (described below the table) representing the $expand OData System Query Option value to control which related records are also returned.
238
+
expand | Array | `retrieveRequest`, `retrieveMultipleRequest`, `createRequest`, `updateRequest`, `upsertRequest` | An array of Expand Objects (described below the table) representing the $expand OData System Query Option value to control which related records are also returned.
239
239
filter | String | `retrieveRequest`, `retrieveMultipleRequest`, `retrieveAllRequest` | Use the $filter system query option to set criteria for which entities will be returned.
240
240
id | String | `retrieveRequest`, `createRequest`, `updateRequest`, `upsertRequest`, `deleteRequest` | `deprecated in v.1.3.4` Use `key` field, instead of `id`. A String representing the Primary Key (GUID) of the record.
241
241
ifmatch | String | `retrieveRequest`, `updateRequest`, `upsertRequest`, `deleteRequest` | Sets If-Match header value that enables to use conditional retrieval or optimistic concurrency in applicable requests. [More Info](https://msdn.microsoft.com/en-us/library/mt607711.aspx)
@@ -268,9 +268,9 @@ property | String | A name of a single-valued navigation property which needs to
268
268
select | Array | An Array (of Strings) representing the $select OData System Query Option to control which attributes will be returned.
269
269
top | Number | Limit the number of results returned by using the $top system query option.
270
270
271
-
According to CRM developers ([here](http://stackoverflow.com/a/34742977/2042071) and [here](https://community.dynamics.com/crm/b/joegilldynamicscrm/archive/2016/03/23/web-api-querying-with-expand)
272
-
$expand does not work for retrieveMultiple requests which is claimed as a bug of CRM Web API.
273
-
As well as multi-level expands are not implemented yet. This situation may be changed with the future updates in the platform. Please look for the news!
271
+
The following seems to be fixed: ~~According to CRM developers ([here](http://stackoverflow.com/a/34742977/2042071) and [here](https://community.dynamics.com/crm/b/joegilldynamicscrm/archive/2016/03/23/web-api-querying-with-expand)
272
+
$expand does not work for retrieveMultiple requests which is claimed as a bug of CRM Web API.~~
273
+
Unconfirmed: Multi-level expands are not implemented yet. This situation may be changed with the future updates in the platform. Please look for the news!
274
274
275
275
For complex requests to Web API with multi-level expands use `executeFetchXml` function.
/**An array of Expand Objects(described below the table) representing the $expand OData System Query Option value to control which related records are also returned. */
665
+
expand?: Expand[];
664
666
/**Boolean that sets the $count system query option with a value of true to include a count of entities that match the filter criteria up to 5000(per page).Do not use $top with $count! */
665
667
count?: boolean;
666
668
/**Use the $filter system query option to set criteria for which entities will be returned. */
/**v.1.3.4+ Web API v9+ only! Boolean that enables duplicate detection. */
483
483
duplicateDetection?: boolean;
484
-
/**A JavaScript object with properties corresponding to the logical name of entity attributes(exceptions are lookups and single - valued navigation properties). */
484
+
/**A JavaScript object with properties corresponding to the logical name of entity attributes(exceptions are lookups and single-valued navigation properties). */
485
485
entity?: any;
486
486
/**An array of Expand Objects(described below the table) representing the $expand OData System Query Option value to control which related records are also returned. */
/**v.1.3.4+ Web API v9+ only! Boolean that enables duplicate detection. */
502
502
duplicateDetection?: boolean;
503
-
/**A JavaScript object with properties corresponding to the logical name of entity attributes(exceptions are lookups and single - valued navigation properties). */
503
+
/**A JavaScript object with properties corresponding to the logical name of entity attributes(exceptions are lookups and single-valued navigation properties). */
504
504
entity?: any;
505
505
/**An array of Expand Objects(described below the table) representing the $expand OData System Query Option value to control which related records are also returned. */
/**An array of Expand Objects(described below the table) representing the $expand OData System Query Option value to control which related records are also returned. */
569
+
expand?: Expand[];
568
570
/**Boolean that sets the $count system query option with a value of true to include a count of entities that match the filter criteria up to 5000(per page).Do not use $top with $count! */
569
571
count?: boolean;
570
572
/**Use the $filter system query option to set criteria for which entities will be returned. */
0 commit comments