public interface LeadClient
MarketoResponse<Lead> describe()
MarketoResponse<CreateOrUpdateLead> createLead(@NotNull List<Map<String,Object>> input, @Nullable String lookupField, @Nullable LeadsActions action, boolean asyncProcessing, @Nullable String partitionName)
MarketoResponse<CreateOrUpdateLead> deleteLead(@NotNull List<LeadId> input)
MarketoResponse<DailyUsage> getDailyUsage()
MarketoResponse<DailyUsage> getLast7DaysUsage()
MarketoResponse<DailyErrors> getDailyErrors()
MarketoResponse<DailyErrors> getLast7DaysErrors()
MarketoResponse<Void> getPagingToken(@NotNull Calendar sinceDateTime)
MarketoResponse<ActivityTypes> getActivityTypes()
MarketoResponse<Map<String,Object>> getDeletedLeads(@NotNull String nextPageToken, @Nullable Integer batchSize)
MarketoResponse<LeadChanges> getLeadChanges(@NotNull String nextPageToken, @Nullable Integer batchSize, @Nullable Integer listId, @NotNull List<String> fields)
MarketoResponse<LeadActivities> getLeadActivities(@NotNull List<Integer> activityTypeIds, @NotNull String nextPageToken, @Nullable Integer batchSize, @Nullable Integer listId, @Nullable List<String> leadIds)
MarketoResponse<Campaign> getCampaignById(int marketoId)
MarketoResponse<Campaign> getMultipleCampaigns(@NotNull List<Integer> ids, @NotNull List<String> names, @NotNull List<String> programNames, @NotNull List<String> workspaceNames, @Nullable Integer batchSize, @Nullable String nextPageToken)
MarketoResponse<IdOnlyObject> scheduleCampaign(int marketoId, @Nullable Calendar runAt, @Nullable String cloneToProgramName, @Nullable List<CampaignTokens> tokens)
MarketoResponse<IdOnlyObject> requestCampaign(int marketoId, @NotNull List<Integer> leads, @Nullable List<CampaignTokens> tokens)
MarketoResponse<MarketoList> getMultipleLists(@NotNull List<Integer> ids, @NotNull List<String> names, @NotNull List<String> programNames, @NotNull List<String> workspaceNames, @Nullable Integer batchSize, @Nullable String nextPageToken)
MarketoResponse<MarketoList> getListById(int id)
MarketoResponse<LeadsList> addLeadsToList(int listId, @NotNull List<Integer> ids)
MarketoResponse<LeadsList> removeLeadsFromList(int listId, List<Integer> ids)
MarketoResponse<LeadsList> memberOfList(int listId, @NotNull List<Integer> ids)
MarketoResponse<Map<String,Object>> importLead(@NotNull ImportLeadFormats format, @NotNull InputStream file, @Nullable String lookupField, @Nullable Integer listId, @Nullable String partitionName)
MarketoResponse<LeadStatus> getImportLeadStatus(int batchId)
MarketoResponse<File> getImportFailureFile(int batchId) throws MarketoException
MarketoException
MarketoResponse<File> getImportWarningFile(int batchId) throws MarketoException
MarketoException
MarketoResponse<Partition> getLeadPartitions()
MarketoResponse<Void> associateLead(int leadId, String cookie)
MarketoResponse<Void> mergeLead(int leadId, @NotNull List<LeadId> losingLeadIds, boolean mergeInCRM)
MarketoResponse<Map<String,Object>> getMultipleLeadsByListId(int listId, @NotNull List<String> fields, @Nullable String nextPageToken, @Nullable Integer batchSize)
MarketoResponse<Map<String,Object>> getMultipleLeadsByProgramId(int programId, @NotNull List<String> fields, @Nullable String nextPageToken, @Nullable Integer batchSize)
MarketoResponse<Map<String,Object>> getMultipleLeadsByFilterType(@NotNull String filterType, @NotNull List<String> filterValues, @NotNull List<String> fields, @Nullable String nextPageToken, @Nullable Integer batchSize)
MarketoResponse<PartitionResponse> updateLeadsPartition(@NotNull List<UpdateLeadPartition> input)
Copyright © 2010–2016. All rights reserved.