A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
Version Info: This topic applies to Episerver.ConnectForMarketingAutomation 4.0.0 and lower. For later versions, see Sample Connector - IMarketingConnector.
Interface for working with provider programs.
System.Object
DemoConnector.Services.ProgramService
public class ProgramService : IProgramService
Initializes a new instance of the ProgramService class
public ProgramService()
Implement this method if your connector can create program objects on the end point.
public void CreateProgram(
IProgram newProgram
)
Not called by the MAI Framework.
public IEnumerable<IProgram> GetAllPrograms()
Returns a list of IInProgram objects which describe a Program
public IEnumerable<IInProgram> GetProgramsByProfileAndStatus(
Profile profile,
ProgramStatus status
)
Returns a list of Programs for the visitor group criteria page.
public IEnumerable<IProgram> GetProgramsByStatus(
ProgramStatus status
)
Last updated: Dec 10, 2015