Skip to content

Commit 4f4434d

Browse files
author
nianiB9
authored
Merge pull request #194 from docusign/DEVDOCS-15799
DEVDOCS-15799
2 parents 1f1696c + 74e1666 commit 4f4434d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

launcher-csharp/Monitor/Examples/GetMonitoringDataFunc.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ public virtual IEnumerable<object> Invoke(string accessToken, string requestPath
3333

3434
// Declare variables
3535
//ds-snippet-start:Monitor1Step3
36+
DateTime cursorDate = DateTime.UtcNow.AddYears(-1);
3637
bool complete = false;
37-
string cursorValue = string.Empty;
38-
int limit = 100; // Amount of records you want to read in one request
38+
string cursorValue = cursorDate.ToString("yyyy-MM-dd") + "T00:00:00Z";
39+
int limit = 2000; // Amount of records you want to read in one request
3940
List<object> functionResult = new List<object>();
4041

4142
DataSetApi dataSetApi = new DataSetApi(apiClient);

0 commit comments

Comments
 (0)