OptimoveSdk.Engager.Integration 1.3.0

dotnet add package OptimoveSdk.Engager.Integration --version 1.3.0
NuGet\Install-Package OptimoveSdk.Engager.Integration -Version 1.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OptimoveSdk.Engager.Integration" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OptimoveSdk.Engager.Integration --version 1.3.0
#r "nuget: OptimoveSdk.Engager.Integration, 1.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OptimoveSdk.Engager.Integration as a Cake Addin
#addin nuget:?package=OptimoveSdk.Engager.Integration&version=1.3.0

// Install OptimoveSdk.Engager.Integration as a Cake Tool
#tool nuget:?package=OptimoveSdk.Engager.Integration&version=1.3.0

The "Optimove Engager Integration SDK" is a NuGet package for integration between Optimove client systems (applications) with the Optimove SaaS Platform.

The integration flow is:

  • Add reference to the OptimoveSdk.Engager.Integration NuGet package
  • Create Web Hook entry point / Web Api entry point. Details should be discussed with Optimove support team.
  • Receive Web Hook notification from Optimove Notifications Subsystem about customers data readiness. The message format is the following:
{
  "eventTypeID": 0,
  "timeStamp": null,
  "campaignID": 0,
  "engagementID": 0,
  "tenantID": 0,
  "bucketName": null,
  "customersFolderPath": null,
  "metadataFilePath": null,
  "serviceAccount": null,
  "decryptionKey": null
}
  • Instantiate OptimoveStorageClient object. Input parameter is Web Hook message serialized into the JSON
var client = new OptimoveStorageClient(jsonSettings);
  • Get Metadata object
var metadata = await client.GetMetadata();

Metadata object's format is:

public class Metadata
{
   /// <summary>
   /// Campaign Plan ID
   /// </summary>
   public int CampaignPlanID { get; set; }

   /// <summary>
   /// Campaign ID
   /// </summary>
   public int CampaignID { get; set; }

   /// <summary>
   /// Plan Detail Channe lID
   /// </summary>
   public int PlanDetailChannelID { get; set; }

   /// <summary>
   /// Engagement ID
   /// </summary>
   public long EngagementID { get; set; }

   /// <summary>
   /// Scheduled Time
   /// </summary>
   public DateTime ScheduledTime { get; set; }

   /// <summary>
   /// Channel Name
   /// </summary>
   public string ChannelName { get; set; }

   /// <summary>
   /// Channel ID
   /// </summary>
   public int ChannelID { get; set; }

   /// <summary>
   /// Target Group Name
   /// </summary>
   public string TargetGroupName { get; set; }

   /// <summary>
   /// Action Name
   /// </summary>
   public string ActionName { get; set; }

   /// <summary>
   /// Action ID
   /// </summary>
   public int ActionID { get; set; }

   /// <summary>
   /// Template Name
   /// </summary>
   public string TemplateName { get; set; }

   /// <summary>
   /// Template ID
   /// </summary>
   public long TemplateID { get; set; }

   /// <summary>
   /// Number Of Files
   /// </summary>
   public int NumberOfFiles { get; set; }

   /// <summary>
   /// Number Of Customers
   /// </summary>
   public int NumberOfCustomers { get; set; }

   /// <summary>
   /// Promotions
   /// </summary>
   public string Promotions { get; set; }
}
  • Get Customers by batch
foreach(var batch in client.GetCustomerBatches())
{
   var customers = await client.GetCustomersByBatch<TestCustomer>(batch);
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.0 355 5/6/2021
1.2.1 280 4/15/2021
1.2.0 309 4/14/2021