Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out 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