Try our conversational search powered by Generative AI!

IProgramService interface

Version Info: This topic applies to Episerver.ConnectForMarketingAutomation 4.0.0 and lower. For later versions, see Sample Connector - IMarketingConnector

 Interface for working with a provider program.

Methods

IProgramService.CreateProgram method 

Create a new program.

  • NamespaceEPiServer.MarketingAutomationIntegration.Services
  • Assembly. EPiServer.MarketingAutomationIntegration (in EPiServer.MarketingAutomationIntegration.dll) Version: 2.2.0.9000
  • C# syntax.
    void CreateProgram(
      IProgram newProgram
    )
  • Parameters.
    • newProgramType: IProgram
      The new program.

IProgramService.GetAllPrograms method

Get provider's programs.

  • NamespaceEPiServer.MarketingAutomationIntegration.Services
  • Assembly. EPiServer.MarketingAutomationIntegration (in EPiServer.MarketingAutomationIntegration.dll) Version: 2.2.0.9000
  • C# syntax.
    IEnumerable<IProgram> GetAllPrograms()
  • Return value. TypeIEnumerable< IProgram>
    List of IProgram object.

IProgramService.GetProgramsByProfileAndStatus method

Get list of programs to which the input profile belongs and also have a status that matches a condition.

IProgramService.GetProgramsByStatus method

Get a list of programs that have a status that matches a condition.

Last updated: Dec 10, 2015