Skip to content

Commit 4e2297c

Browse files
committed
note added about default number of days if Since property is not set
1 parent 608af11 commit 4e2297c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

HubSpot.NET.Examples/Deals.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public static void Example()
5252

5353
/**
5454
* Get recently created deals since 7 days ago, limited to 10 records
55+
* Will default to 30 day if Since is not set.
5556
* Using DealRecentListHubSpotModel to accomodate deals returning in the "results" property.
5657
*/
5758
var currentdatetime = DateTime.SpecifyKind(DateTime.Now.AddDays(-7), DateTimeKind.Utc);
@@ -66,6 +67,7 @@ public static void Example()
6667

6768
/**
6869
* Get recently created deals since 7 days ago, limited to 10 records
70+
* Will default to 30 day if Since is not set.
6971
* Using DealRecentListHubSpotModel to accomodate deals returning in the "results" property.
7072
*/
7173
var recentlyUpdatedDeals = api.Deal.RecentlyCreated<DealHubSpotModel>(new DealRecentRequestOptions

0 commit comments

Comments
 (0)