public interface AssetClient
MarketoResponse<Folder> createFolder(String name, FolderId parent, String description)
MarketoResponse<Folder> getFolderById(FolderId folderId)
MarketoResponse<Folder> getFolderByName(String name, FolderType type, Integer root, String workSpace)
MarketoResponse<FolderContents> getFolderContents(FolderId id, Integer offset, Integer maxReturn)
MarketoResponse<Folder> updateFolder(FolderId folderId, String description, String name, Boolean isArchive)
MarketoResponse<DeletedFolder> deleteFolderById(FolderId folderId)
MarketoResponse<Folder> browseFolders(FolderId root, Integer offset, Integer maxDepth, Integer maxReturn, String workSpace)
MarketoResponse<Segmentation> getSegmentations(Integer offset, Integer maxReturn, SegmentStatus status)
MarketoResponse<Segment> getSegments(int segmentationId, Integer offset, Integer maxReturn, SegmentStatus status)
MarketoResponse<TokenResponse> createToken(TokenCreateInput token)
MarketoResponse<TokenResponse> getTokenByFolderId(FolderId folderId)
MarketoResponse<DeletedToken> deleteTokensByFolderId(TokenDeleteInput token)
MarketoResponse<AssetFile> createFile(String name, InputStream content, FolderId folder, String description, Boolean insertOnly)
MarketoResponse<AssetFile> getFileById(int id)
MarketoResponse<AssetFile> getFileByName(String name)
MarketoResponse<AssetFile> getFileList(FolderId folderId, Integer offset, Integer maxReturn)
MarketoResponse<AssetFile> updateFile(int id, InputStream inputStream)
MarketoResponse<LandingPageTemplate> createLandingPageTemplate(String name, FolderId folder, String description, TemplateType templateType)
MarketoResponse<LandingPageTemplate> getLandingPageTemplateById(int id, LandingPageTemplateStatus status)
MarketoResponse<LandingPageTemplate> getLandingPageTemplateByName(String name, LandingPageTemplateStatus status)
MarketoResponse<LandingPageTemplate> getMultipleLandingPageTemplates(Integer offset, LandingPageTemplateStatus status, FolderId folder, Integer maxReturn)
MarketoResponse<LandingPageTemplateContent> getLandingPageContent(int id, LandingPageTemplateStatus status)
MarketoResponse<UpdatedLandingPageTemplate> updateLandingPageTemplateContentById(LandingPageTemplateContent landingPageTemplateContent)
MarketoResponse<LandingPageTemplate> updateLandingPageTemplate(int id, String name, String description)
MarketoResponse<Snippet> createSnippet(String name, FolderId folder, String description)
MarketoResponse<Snippet> getSnippetById(int id, SnippetStatus status)
MarketoResponse<SnippetId> deleteSnippetById(int id)
MarketoResponse<Snippet> updateSnippetById(int id, String description, String name)
MarketoResponse<Snippet> getSnippets(Integer offset, Integer maxReturn, SnippetStatus status)
MarketoResponse<AssetContent<SnippetDynamicContentType>> getSnippetContentById(int id)
MarketoResponse<SnippetId> updateSnippetContentById(int id, SnippetDynamicContentType type, String content)
MarketoResponse<Snippet> approveSnippetById(int id)
MarketoResponse<Snippet> unapproveSnippetById(int id)
MarketoResponse<SnippetId> discardSnippetDraftById(int id)
MarketoResponse<Snippet> cloneSnippetById(int id, String snippetName, FolderId folder, String description)
MarketoResponse<SnippetId> updateSnippetDynamicContentById(int id, int segmentId, SnippetDynamicContentType type, String value)
MarketoResponse<SnippetDynamicContentResponse> getSnippetDynamicContentById(int id)
MarketoResponse<EmailTemplate> createEmailTemplate(String name, FolderId folder, InputStream content, String description)
MarketoResponse<EmailTemplate> getEmailTemplateById(int id, EmailTemplateStatus status)
MarketoResponse<EmailTemplate> getEmailTemplateByName(String emailTemplateName, EmailTemplateStatus status)
MarketoResponse<EmailTemplate> updateEmailTemplate(int id, String description, String name)
MarketoResponse<EmailTemplateId> deleteEmailTemplateById(int id)
MarketoResponse<EmailTemplate> getEmailTemplates(Integer offset, Integer maxReturn, EmailTemplateStatus status)
MarketoResponse<EmailTemplateContent> getEmailTemplateContentById(int id, EmailTemplateStatus status)
MarketoResponse<EmailTemplateId> updateEmailTemplateContentById(int id, InputStream content)
MarketoResponse<EmailTemplate> approveEmailTemplateById(int id)
MarketoResponse<EmailTemplate> unapproveEmailTemplateById(int id)
MarketoResponse<EmailTemplateId> discardEmailTemplateDraftById(int id)
MarketoResponse<EmailTemplate> cloneEmailTemplate(int id, String name, FolderId folder)
MarketoResponse<EmailResponse> createEmail(Email email)
MarketoResponse<EmailResponse> getEmailById(int id, EmailStatus status)
MarketoResponse<EmailId> deleteEmailById(int id)
MarketoResponse<EmailResponse> updateEmail(int id, String description, String name)
MarketoResponse<EmailResponse> getEmails(Integer offset, Integer maxReturn, EmailStatus status, FolderId folder)
MarketoResponse<EmailContent> getEmailContentById(int id, EmailStatus status)
MarketoResponse<EmailId> updateEmailContentById(int id, EmailField subject, EmailField fromEmail, EmailField fromName, EmailField replyTo)
MarketoResponse<EmailId> updateEmailContentInEditableSection(int id, String htmlId, EmailContentType type, Object value, String textValue)
MarketoResponse<EmailDynamicContentResponse> getEmailDynamicContentById(int id, String dynamicContentId)
MarketoResponse<EmailId> updateEmailDynamicContentById(int id, String dynamicContentId, String segment, String value, EmailDynamicContentType type)
MarketoResponse<EmailId> approveEmailById(int id)
MarketoResponse<EmailId> unapproveEmailById(int id)
MarketoResponse<EmailId> discardEmailDraftById(int id)
MarketoResponse<EmailResponse> cloneEmailById(int id, String emailName, FolderId folder, String description, Boolean isOperational)
MarketoResponse<EmailResponse> getEmailByName(String name, EmailStatus status, FolderId folder)
MarketoResponse<ServiceResponse> sendSampleMail(int id, String emailAddress, Boolean textOnly, Integer leadId)
Copyright © 2010–2016. All rights reserved.