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
+29-1Lines changed: 29 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -255,6 +255,7 @@ savedQuery | String | `retrieveRequest` | A String representing the GUID value o
255
255
select | Array | `retrieveRequest`, `retrieveMultipleRequest`, `retrieveAllRequest`, `updateRequest`, `upsertRequest` | An Array (of Strings) representing the $select OData System Query Option to control which attributes will be returned.
256
256
token | String | All | Authorization Token. If set, onTokenRefresh will not be called.
257
257
top | Number | `retrieveMultipleRequest`, `retrieveAllRequest` | Limit the number of results returned by using the $top system query option. Do not use $top with $count!
258
+
trackChanges | Boolean | `retrieveMultipleRequest` | `v.1.5.11+` Sets Prefer header with value 'odata.track-changes' to request that a delta link be returned which can subsequently be used to retrieve entity changes. __Important!__ Change Tracking must be enabled for the entity. [More Info](https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/use-change-tracking-synchronize-data-external-systems#enable-change-tracking-for-an-entity)
258
259
userQuery | String | `retrieveRequest` | A String representing the GUID value of the user query.
259
260
260
261
Basic and Advanced functions also have differences in `expand` parameters. For Basic ones this parameter is a type of String
Copy file name to clipboardExpand all lines: lib/dynamics-web-api-callbacks.js
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -674,15 +674,15 @@ function DynamicsWebApi(config) {
674
674
* @param {Function} errorCallback - The function that will be passed through and be called by a failed response.
675
675
* @param {Array} [select] - Use the $select system query option to limit the properties returned.
676
676
* @param {string} [filter] - Use the $filter system query option to set criteria for which entities will be returned.
677
-
* @param {string} [nextPageLink] - Use the value of the @odata.nextLink property with a new GET request to return the next page of data. Pass null to retrieveMultipleOptions.
677
+
* @param {string} [oDataLink] - Use this parameter to pass @odata.nextLink or @odata.deltaLink to return a necessary response. Pass null to retrieveMultipleOptions.
@@ -729,11 +729,11 @@ function DynamicsWebApi(config) {
729
729
* @param {DWARequest} request - An object that represents all possible options for a current request.
730
730
* @param {Function} successCallback - The function that will be passed through and be called by a successful response.
731
731
* @param {Function} errorCallback - The function that will be passed through and be called by a failed response.
732
-
* @param {string} [nextPageLink] - Use the value of the @odata.nextLink property with a new GET request to return the next page of data. Pass null to retrieveMultipleOptions.
732
+
* @param {string} [oDataLink] - Use this parameter to pass @odata.nextLink or @odata.deltaLink to return a necessary response. Pass null to retrieveMultipleOptions.
Copy file name to clipboardExpand all lines: lib/dynamics-web-api.js
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,8 @@ var dwaRequest = function () {
89
89
* @property {boolean} mergeLabels - If set to 'true', DynamicsWebApi adds a request header 'MSCRM.MergeLabels: true'. Default value is 'false'.
90
90
* @property {boolean} isBatch - If set to 'true', DynamicsWebApi treats a request as a part of a batch request. Call ExecuteBatch to execute all requests in a batch. Default value is 'false'.
91
91
* @property {string} contentId - BATCH REQUESTS ONLY! Sets Content-ID header or references request in a Change Set.
92
+
* @property {boolean} trackChanges - Preference header 'odata.track-changes' is used to request that a delta link be returned which can subsequently be used to retrieve entity changes.
93
+
* @property {string} deltaLink - Delta link can be used to retrieve entity changes. Important! Change Tracking must be enabled for the entity.
// Definitions by: Aleksandr Rogov https://github.com/AleksandrRogov/
4
4
@@ -177,11 +177,11 @@ declare class DynamicsWebApi {
177
177
* @param collection - The name of the Entity Collection or Entity Logical name.
178
178
* @param successCallback - The function that will be passed through and be called by a successful response.
179
179
* @param errorCallback - The function that will be passed through and be called by a failed response.
180
-
* @param select] - Use the $select system query option to limit the properties returned.
180
+
* @param select - Use the $select system query option to limit the properties returned.
181
181
* @param filter - Use the $filter system query option to set criteria for which entities will be returned.
182
-
* @paramnextPageLink - Use the value of the @odata.nextLink property with a new GET request to return the next page of data. Pass null to retrieveMultipleOptions.
182
+
* @paramoDataLink - Use this parameter to pass @odata.nextLink or @odata.deltaLink to return a necessary response. Pass null to retrieveMultipleOptions.
* Sends an asynchronous request to retrieve all records.
187
187
*
@@ -198,7 +198,7 @@ declare class DynamicsWebApi {
198
198
* @param request - An object that represents all possible options for a current request.
199
199
* @param successCallback - The function that will be passed through and be called by a successful response.
200
200
* @param errorCallback - The function that will be passed through and be called by a failed response.
201
-
* @paramnextPageLink - Use the value of the @odata.nextLink property with a new GET request to return the next page of data. Pass null to retrieveMultipleOptions.
201
+
* @paramoDataLink - Use this parameter to pass @odata.nextLink or @odata.deltaLink to return a necessary response. Pass null to retrieveMultipleOptions.
0 commit comments