Class FlowService
- Namespace
- Dynamicweb.EmailMarketing.Flows
- Assembly
- Dynamicweb.EmailMarketing.dll
public class FlowService
- Inheritance
-
FlowService
- Inherited Members
Methods
Delete(int)
Delete flow
public void Delete(int flowId)
Parameters
flowId
intThe flow id
DeleteAllFlowsFromFolders(IEnumerable<int>)
Delete all flows from folders
public void DeleteAllFlowsFromFolders(IEnumerable<int> foldersIds)
Parameters
foldersIds
IEnumerable<int>The folders ids
GetFlow(int)
Gets flow
public Flow GetFlow(int flowId)
Parameters
flowId
intThe flow id.
Returns
GetFlows()
Gets all flows
public IEnumerable<Flow> GetFlows()
Returns
GetFlows(int)
Gets folder flows
public IEnumerable<Flow> GetFlows(int folderId)
Parameters
folderId
intThe folder id which is contains flows. If null then it returns top level flows
Returns
GetTopLevelFlows()
Gets folder flows
public IEnumerable<Flow> GetTopLevelFlows()
Returns
Save(Flow)
Save flow
public void Save(Flow flow)
Parameters
flow
FlowThe flow instance to save