All URIs are relative to https://localhost/event
Method | HTTP request | Description |
---|---|---|
CustomEvent | POST /v1/custom_event | Use order_status to track the order processing workflow of a previously submitted order. |
EventResponse CustomEvent (Custom JSON)
Use order_status to track the order processing workflow of a previously submitted order.
Custom events and fields capture user behavior and differences not covered by our reserved events and fields. For example, a location tracking business can create a custom event called trackLocation with custom fields that are relevant.
using System;
using System.Diagnostics;
using ai.thirdwatch.Api;
using ai.thirdwatch.Client;
using ai.thirdwatch.Model;
namespace Example
{
public class CustomEventExample
{
public void main()
{
// Configure API key authorization: api_key
Configuration.Default.AddApiKey("X-THIRDWATCH-API-KEY", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-THIRDWATCH-API-KEY", "Bearer");
var apiInstance = new CustomEventApi();
var JSON = new Custom(); // Custom | Pass order status to thirdwatch. Only `_userID` is required field. But this should contain custom info.
try
{
// Use order_status to track the order processing workflow of a previously submitted order.
EventResponse result = apiInstance.CustomEvent(JSON);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling CustomEventApi.CustomEvent: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
JSON | Custom | Pass order status to thirdwatch. Only `_userID` is required field. But this should contain custom info. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]