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
@@ -663,14 +679,6 @@ function DynamicsWebApi(config) {
663
679
},successCallback,errorCallback);
664
680
}
665
681
666
-
/**
667
-
* Sends an asynchronous request to retrieve records.
668
-
*
669
-
* @param {DWARequest} request - An object that represents all possible options for a current request.
670
-
* @param {Function} successCallback - The function that will be passed through and be called by a successful response.
671
-
* @param {Function} errorCallback - The function that will be passed through and be called by a failed response.
672
-
* @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.
* Sends an asynchronous request to retrieve records.
708
+
*
709
+
* @param {DWARequest} request - An object that represents all possible options for a current request.
710
+
* @param {Function} successCallback - The function that will be passed through and be called by a successful response.
711
+
* @param {Function} errorCallback - The function that will be passed through and be called by a failed response.
712
+
* @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.
* Sends an asynchronous request to count records. Returns: DWA.Types.FetchXmlResponse
731
-
*
732
-
* @param {string} collection - The name of the Entity Collection or Entity Logical name.
733
-
* @param {string} fetchXml - FetchXML is a proprietary query language that provides capabilities to perform aggregation.
734
-
* @param {Function} successCallback - The function that will be passed through and be called by a successful response.
735
-
* @param {Function} errorCallback - The function that will be passed through and be called by a failed response.
736
-
* @param {string} [includeAnnotations] - Use this parameter to include annotations to a result. For example: * or Microsoft.Dynamics.CRM.fetchxmlpagingcookie
737
-
* @param {number} [pageNumber] - Page number.
738
-
* @param {string} [pagingCookie] - Paging cookie. For retrieving the first page, pagingCookie should be null.
739
-
* @param {string} [impersonateUserId] - A String representing the GUID value for the Dynamics 365 system user id. Impersonates the user.
* Sends an asynchronous request to count records. Returns: DWA.Types.FetchXmlResponse
787
+
*
788
+
* @param {string} collection - The name of the Entity Collection or Entity Logical name.
789
+
* @param {string} fetchXml - FetchXML is a proprietary query language that provides capabilities to perform aggregation.
790
+
* @param {Function} successCallback - The function that will be passed through and be called by a successful response.
791
+
* @param {Function} errorCallback - The function that will be passed through and be called by a failed response.
792
+
* @param {string} [includeAnnotations] - Use this parameter to include annotations to a result. For example: * or Microsoft.Dynamics.CRM.fetchxmlpagingcookie
793
+
* @param {number} [pageNumber] - Page number.
794
+
* @param {string} [pagingCookie] - Paging cookie. For retrieving the first page, pagingCookie should be null.
795
+
* @param {string} [impersonateUserId] - A String representing the GUID value for the Dynamics 365 system user id. Impersonates the user.
796
+
*/
797
+
this.fetch=executeFetchXml;
798
+
799
+
/**
800
+
* Sends an asynchronous request to count records. Returns: DWA.Types.FetchXmlResponse
801
+
*
802
+
* @param {string} collection - The name of the Entity Collection or Entity Logical name.
803
+
* @param {string} fetchXml - FetchXML is a proprietary query language that provides capabilities to perform aggregation.
804
+
* @param {Function} successCallback - The function that will be passed through and be called by a successful response.
805
+
* @param {Function} errorCallback - The function that will be passed through and be called by a failed response.
806
+
* @param {string} [includeAnnotations] - Use this parameter to include annotations to a result. For example: * or Microsoft.Dynamics.CRM.fetchxmlpagingcookie
807
+
* @param {number} [pageNumber] - Page number.
808
+
* @param {string} [pagingCookie] - Paging cookie. For retrieving the first page, pagingCookie should be null.
809
+
* @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.
802
836
*
@@ -807,9 +841,19 @@ function DynamicsWebApi(config) {
807
841
* @param {string} [includeAnnotations] - Use this parameter to include annotations to a result. For example: * or Microsoft.Dynamics.CRM.fetchxmlpagingcookie
808
842
* @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.
848
+
*
849
+
* @param {string} collection - The name of the Entity Collection or Entity Logical name.
850
+
* @param {string} fetchXml - FetchXML is a proprietary query language that provides capabilities to perform aggregation.
851
+
* @param {Function} successCallback - The function that will be passed through and be called by a successful response.
852
+
* @param {Function} errorCallback - The function that will be passed through and be called by a failed response.
853
+
* @param {string} [includeAnnotations] - Use this parameter to include annotations to a result. For example: * or Microsoft.Dynamics.CRM.fetchxmlpagingcookie
854
+
* @param {string} [impersonateUserId] - A String representing the GUID value for the Dynamics 365 system user id. Impersonates the user.
855
+
*/
856
+
this.executeFetchXmlAll=innerExecuteFetchXmlAll;
813
857
814
858
/**
815
859
* Associate for a collection-valued navigation property. (1:N or N:N)
@@ -979,17 +1023,6 @@ function DynamicsWebApi(config) {
0 commit comments