We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d1446d + 0e1f789 commit 5d31883Copy full SHA for 5d31883
lib/monitor/examples/getMonitoringData.js
@@ -17,11 +17,14 @@ const getMonitoringData = async (args) => {
17
//ds-snippet-end:Monitor1Step2
18
19
//ds-snippet-start:Monitor1Step3
20
- const limit = 100; // Amount of records you want to read in one request
+ const cursorDate = new Date();
21
+ cursorDate.setFullYear(cursorDate.getFullYear() - 1);
22
+ const limit = 2000; // Amount of records you want to read in one request
23
let functionResult = [];
24
25
let complete = false;
- let cursorValue, cursoredResult;
26
+ let cursorValue = cursorDate.toISOString().split('T')[0] + 'T00:00:00Z'
27
+ let cursoredResult;
28
const datasetApi = new docusign.DataSetApi(dsApiClient);
29
30
let options = {
0 commit comments