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: lib/dynamics-web-api-callbacks.js
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ var dwaRequest = function () {
60
60
/**
61
61
* Dynamics Web Api Request
62
62
* @typedef {Object} DWARequest
63
-
* @property {boolean} async - XHR requests only! Indicates whether the requests should be made synchronously or asynchronously. Default value is true (asynchronously).
63
+
* @property {boolean} async - XHR requests only! Indicates whether the requests should be made synchronously or asynchronously. Default value is 'true' (asynchronously).
64
64
* @property {string} collection - The name of the Entity Collection or Entity Logical name.
65
65
* @property {string} id - A String representing the Primary Key (GUID) of the record.
66
66
* @property {Array} select - An Array (of Strings) representing the $select OData System Query Option to control which attributes will be returned.
@@ -84,20 +84,18 @@ var dwaRequest = function () {
84
84
* @property {string} savedQuery - A String representing the GUID value of the saved query.
85
85
* @property {string} userQuery - A String representing the GUID value of the user query.
86
86
* @property {boolean} mergeLabels - If set to 'true', DynamicsWebApi adds a request header 'MSCRM.MergeLabels: true'. Default value is 'false'
87
+
* @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'.
Copy file name to clipboardExpand all lines: lib/dynamics-web-api.js
+24-9Lines changed: 24 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
-
varDWA=require("./dwa");
1
+
"use strict";
2
+
3
+
varDWA=require("./dwa");
2
4
varUtility=require('./utilities/Utility');
3
5
varErrorHelper=require('./helpers/ErrorHelper');
4
6
varRequest=require('./requests/sendRequest');
@@ -61,7 +63,7 @@ var dwaRequest = function () {
61
63
/**
62
64
* Dynamics Web Api Request
63
65
* @typedef {Object} DWARequest
64
-
* @property {boolean} async - XHR requests only! Indicates whether the requests should be made synchronously or asynchronously. Default value is true (asynchronously).
66
+
* @property {boolean} async - XHR requests only! Indicates whether the requests should be made synchronously or asynchronously. Default value is 'true' (asynchronously).
65
67
* @property {string} collection - The name of the Entity Collection or Entity Logical name.
66
68
* @property {string} id - A String representing the Primary Key (GUID) of the record.
67
69
* @property {Array} select - An Array (of Strings) representing the $select OData System Query Option to control which attributes will be returned.
@@ -84,21 +86,19 @@ var dwaRequest = function () {
84
86
* @property {boolean} noCache - If set to 'true', DynamicsWebApi adds a request header 'Cache-Control: no-cache'. Default value is 'false'.
85
87
* @property {string} savedQuery - A String representing the GUID value of the saved query.
86
88
* @property {string} userQuery - A String representing the GUID value of the user query.
87
-
* @property {boolean} mergeLabels - If set to 'true', DynamicsWebApi adds a request header 'MSCRM.MergeLabels: true'. Default value is 'false'
89
+
* @property {boolean} mergeLabels - If set to 'true', DynamicsWebApi adds a request header 'MSCRM.MergeLabels: true'. Default value is 'false'.
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'.
0 commit comments