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: README.md
+63-2Lines changed: 63 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ Any suggestions are welcome!
38
38
*[Execute Web API functions](#execute-web-api-functions)
39
39
*[Execute Web API actions](#execute-web-api-actions)
40
40
*[Formatted Values and Lookup Properties](#formatted-values-and-lookup-properties)
41
+
*[Alternate Key](#alternate-key)
41
42
*[JavaScript Promises](#javascript-promises)
42
43
*[JavaScript Callbacks](#javascript-callbacks)
43
44
@@ -181,11 +182,11 @@ Property Name | Type | Operation(s) Supported | Description
181
182
async | Boolean | All | **Important! XHR requests only!** Indicates whether the requests should be made synchronously or asynchronously. Default value is `true` (asynchronously).
182
183
collection | String | All | The name of the Entity Collection, for example, for `account` use `accounts`, `opportunity` - `opportunities` and etc.
183
184
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!
184
-
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)
185
+
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)
185
186
entity | Object | `updateRequest`, `upsertRequest` | A JavaScript object with properties corresponding to the logical name of entity attributes (exceptions are lookups and single-valued navigation properties).
186
187
expand | Array | `retrieveRequest`, `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.
187
188
filter | String | `retrieveRequest`, `retrieveMultipleRequest`, `retrieveAllRequest` | Use the $filter system query option to set criteria for which entities will be returned.
188
-
id | String | `retrieveRequest`, `updateRequest`, `upsertRequest`, `deleteRequest` | `deprecated in v.1.3.4` Use `key` field, instead of `id`. A String representing the GUID value for the record.
189
+
id | String | `retrieveRequest`, `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.
189
190
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).
190
191
ifnonematch | String | `retrieveRequest`, `upsertRequest` | Sets If-None-Match header value that enables to use conditional retrieval in applicable requests. [More info](https://msdn.microsoft.com/en-us/library/mt607711.aspx).
191
192
impersonate | String | All | A String representing the GUID value for the Dynamics 365 system user id. Impersonates the user.
Starting from version 1.3.4, you can use alternate keys to Update, Upsert, Retrieve and Delete records. [More Info] (https://msdn.microsoft.com/en-us/library/mt607871.aspx#Retrieve%20using%20an%20alternate%20key)
//if the record has not been found the error will be thrown
961
+
});
962
+
```
963
+
905
964
### In Progress
906
965
907
966
-[X] Overloaded functions with rich request options for all Web API operations.
@@ -911,6 +970,8 @@ Feature is very convenient for big Fetch XMLs. `Implemented in v.1.2.8`
911
970
-[X] "Formatted" values in responses. For instance: Web API splits information about lookup fields into separate properties,
912
971
the config option "formatted" will enable developers to retrieve all information about such fields in a single requests and access it through DynamicsWebApi custom response objects.
913
972
-[X] Simplified names for "Formatted" properties. `Implemented in v.1.3.0`
973
+
-[X] RUD operations using Alternate Keys. `Implemented in v.1.3.4`
974
+
-[X] Duplicate Detection for Web API v.9. `Implemented in v.1.3.4`
914
975
-[ ] Batch requests.
915
976
-[ ] Web API Authentication for On-Premise instances.
0 commit comments