-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0c4e25
commit 8219427
Showing
3 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using HubSpot.NET.Api.Pipeline.Dto; | ||
using HubSpot.NET.Core; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace HubSpot.NET.Examples | ||
{ | ||
public class Pipelines | ||
{ | ||
internal static void Example(HubSpotApi api) | ||
{ | ||
try | ||
{ | ||
Tests(api); | ||
Console.WriteLine("Pipelines tests completed successfully!"); | ||
} | ||
catch (Exception ex) | ||
{ | ||
Console.WriteLine("Pipelines tests failed!"); | ||
Console.WriteLine(ex.ToString()); | ||
} | ||
} | ||
|
||
private static void Tests(HubSpotApi api) | ||
{ | ||
//Get a list of pipelines and stages | ||
var list = api.Pipelines.List<PipelineHubSpotModel>("deals", "INCLUDE_DELETED"); | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters