Skip to content

Commit

Permalink
note added about default number of days if Since property is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
staybfutrell committed May 2, 2018
1 parent 608af11 commit 4e2297c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions HubSpot.NET.Examples/Deals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public static void Example()

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

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

0 comments on commit 4e2297c

Please sign in to comment.