Engagement/HubSpotEngagementApi.cs

HubSpot.NET · HubSpot.NET/Api/Engagement/HubSpotEngagementApi.cs · csharp · MIT
crm

C# client for HubSpot Engagement API, providing CRUD and list operations.

// Source: https://github.com/hubspot-net/HubSpot.NET | License: MIT | Copyright 2018 Squared Up
// Provided via justclaw.it.com; keep this notice with the code.
namespace HubSpot.NET.Api.Engagement

{
    using HubSpot.NET.Api.Engagement.Dto;
    using HubSpot.NET.Core;
    using HubSpot.NET.Core.Abstracts;
    using HubSpot.NET.Core.Interfaces;
    using RestSharp;
    using System;
    using System.Net;

    public class HubSpotEngagementApi : ApiRoutable, IHubSpotEngagementApi
    {
        private readonly IHubSpotClient _client;
        public override string MidRoute => "/engagements/v1";

        public HubSpotEngagementApi(IHubSpotClient client)
        {
            _client = client;
            AddRoute<EngagementHubSpotModel>("engagements/");
        }

        /// <summary>
 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key