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
@@ -1183,13 +1243,6 @@ function DynamicsWebApi(config) {
1183
1243
returnthis.upsertRequest(request);
1184
1244
}
1185
1245
1186
-
/**
1187
-
* Sends an asynchronous request to retrieve records.
1188
-
*
1189
-
* @param {DWARequest} request - An object that represents all possible options for a current request.
1190
-
* @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.
@@ -1211,6 +1264,13 @@ function DynamicsWebApi(config) {
1211
1264
});
1212
1265
};
1213
1266
1267
+
/**
1268
+
* Sends an asynchronous request to retrieve records.
1269
+
*
1270
+
* @param {DWARequest} request - An object that represents all possible options for a current request.
1271
+
* @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.
@@ -1324,17 +1384,6 @@ function DynamicsWebApi(config) {
1324
1384
});
1325
1385
}
1326
1386
1327
-
/**
1328
-
* Sends an asynchronous request to execute FetchXml to retrieve records. Returns: DWA.Types.FetchXmlResponse
1329
-
*
1330
-
* @param {string} collection - The name of the Entity Collection or Entity Logical name.
1331
-
* @param {string} fetchXml - FetchXML is a proprietary query language that provides capabilities to perform aggregation.
1332
-
* @param {string} [includeAnnotations] - Use this parameter to include annotations to a result. For example: * or Microsoft.Dynamics.CRM.fetchxmlpagingcookie
1333
-
* @param {number} [pageNumber] - Page number.
1334
-
* @param {string} [pagingCookie] - Paging cookie. For retrieving the first page, pagingCookie should be null.
1335
-
* @param {string} [impersonateUserId] - A String representing the GUID value for the Dynamics 365 system user id. Impersonates the user.
@@ -1383,7 +1432,20 @@ function DynamicsWebApi(config) {
1383
1432
* @param {string} [impersonateUserId] - A String representing the GUID value for the Dynamics 365 system user id. Impersonates the user.
1384
1433
* @returns {Promise}
1385
1434
*/
1386
-
this.fetch=this.executeFetchXml=executeFetchXml;
1435
+
this.fetch=executeFetchXml;
1436
+
1437
+
/**
1438
+
* Sends an asynchronous request to execute FetchXml to retrieve records. Returns: DWA.Types.FetchXmlResponse
1439
+
*
1440
+
* @param {string} collection - The name of the Entity Collection or Entity Logical name.
1441
+
* @param {string} fetchXml - FetchXML is a proprietary query language that provides capabilities to perform aggregation.
1442
+
* @param {string} [includeAnnotations] - Use this parameter to include annotations to a result. For example: * or Microsoft.Dynamics.CRM.fetchxmlpagingcookie
1443
+
* @param {number} [pageNumber] - Page number.
1444
+
* @param {string} [pagingCookie] - Paging cookie. For retrieving the first page, pagingCookie should be null.
1445
+
* @param {string} [impersonateUserId] - A String representing the GUID value for the Dynamics 365 system user id. Impersonates the user.
* Sends an asynchronous request to execute FetchXml to retrieve all records.
1481
+
*
1482
+
* @param {string} collection - The name of the Entity Collection or Entity Logical name.
1483
+
* @param {string} fetchXml - FetchXML is a proprietary query language that provides capabilities to perform aggregation.
1484
+
* @param {string} [includeAnnotations] - Use this parameter to include annotations to a result. For example: * or Microsoft.Dynamics.CRM.fetchxmlpagingcookie
1485
+
* @param {string} [impersonateUserId] - A String representing the GUID value for the Dynamics 365 system user id. Impersonates the user.
1486
+
* @returns {Promise}
1487
+
*/
1488
+
this.executeFetchXmlAll=innerExecuteFetchXmlAll;
1414
1489
1415
1490
/**
1416
1491
* Associate for a collection-valued navigation property. (1:N or N:N)
@@ -1545,16 +1620,6 @@ function DynamicsWebApi(config) {
0 commit comments