All URIs are relative to https://api.hubapi.com
| Method | HTTP request | Description |
|---|---|---|
| PostEventsV3Send | POST /events/v3/send | Sends Custom Behavioral Event |
void PostEventsV3Send (BehavioralEventHttpCompletionRequest behavioralEventHttpCompletionRequest)
Sends Custom Behavioral Event
Endpoint to send an instance of a behavioral event
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostEventsV3SendExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BehavioralEventsTrackingApi(config);
var behavioralEventHttpCompletionRequest = new BehavioralEventHttpCompletionRequest(); // BehavioralEventHttpCompletionRequest |
try
{
// Sends Custom Behavioral Event
apiInstance.PostEventsV3Send(behavioralEventHttpCompletionRequest);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BehavioralEventsTrackingApi.PostEventsV3Send: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| behavioralEventHttpCompletionRequest | BehavioralEventHttpCompletionRequest |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 204 | No content | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]