Interface ICampaignManager
- All Superinterfaces:
IDisposable, IEntity
Manages the campaigns.
-
Method Summary
Modifier and TypeMethodDescriptionvoidassignAgent(String campaignName, String agentName) Assigns an agent to the campaign.voidassignCategory(String campaignName, int categoryId) Assigns a category to the campaign.voidassignTeam(String campaignName, String teamName) Assigns a team to the campaign.voidautomaticStartStopContactList(String campaignName, String contactListName) Enables automatic start and stop of a contact list.intcancelContacts(String campaignName, String sql) Cancel contacts, non-connected interactions or workflow tasks.intcreateCampaign(CampaignCreateRequest request) Creates a campaignintcreateContact(String campaignName, ContactCreateRequest contactCreateRequest) Creates a contact.voiddeAssignAgent(String campaignName, String agentName) Deassigns an agent to the campaign.voiddeAssignCategory(String campaignName, int categoryId) Deassigns a category to the campaign.voiddeAssignTeam(String campaignName, String teamName) Deassigns a team to the campaign.voiddeleteCampaign(String campaignName) Deletes a campaign.voiddeleteContact(String campaignName, int contactId) Deletes a contact.intdeleteContacts(String campaignName, String sql) Deletes contacts by starting a background task on the Altitude uCI Server.intduplicateCampaign(String campaignName, CampaignCreateRequest request) Duplicates the current campaign.voidforcedDeAssignAgent(String campaignName, String agentName) Deassigns an agent to the campaign regardless of the current state of the campaign.voidforcedDeAssignTeam(String campaignName, String teamName) Deassigns a team to the campaign regardless of the current state of the campaign.getAssignedAgents(String campaignName, AssignmentMode assignmentMode) Gets the data of the agents assigned to the campaign.getAssignedAgentsInfo(String campaignName) Gets information about the agents assigned to the campaign.getAssignedCategories(String campaignName) Returns the categories assigned to the campaign.String[]getAssignedDirectoryNames(String campaignName) Gets the names of the directories assigned to the campaign.TeamData[]getAssignedTeams(String campaignName) Gets the data of the teams assigned to the campaign.getAttributes(String campaignName) Gets the attributes of the campaign.getCampaignCursor(int cursorId) Gets a campaign cursor open in the instance.Returns the campaign cursors open in the instance.getCampaignDataById(int campaignId) Returns aCampaignDataobject with data about the campaign.getCampaignDataByName(String campaignName) Returns aCampaignDataobject with data about the campaign.Gets the table schema of the campaign.getContactHistoryCursor(int cursorId) Gets a contact history cursor open in the instance.Returns the contact history cursors open in the instance.getContactHistoryEntry(String campaignName, int contactId, long contactHistoryEntryId) Returns aContactHistoryEntryobject with data about the contact history entry.Gets the table schema of the contact history.getContactListById(String campaignName, int contactListId) Gets a the contact list.getContactListByName(String campaignName, String contactListName) Gets a the contact list.getContactLists(String campaignName) Gets the contact lists of the campaign.getContactListState(String campaignName, String contactListName) Gets a the state of the contact list.getContactUploaderById(int contactUploaderId) Gets aICampaignContactUploaderobject by the identifier within the IntegrationServer.getContactUploaderByTaskId(int contactUploaderTaskId) Returns aICampaignContactUploaderobject that previously has started an upload task in the Altitude uCI Server.Gets theICampaignContactUploaderobjects.getInboundEmailAddresses(String campaignName) Gets an array with the campaign inbound email addresses.getInboundEmailFilters(String campaignName) Gets an array with the campaign inbound email filters.The instance.getInstantMessagingGateways(String campaignName) Gets the instant messaging gateways the campaign.getOutboundEmailAddresses(String campaignName) Gets the campaign outbound email addresses.getPermissions(String campaignName) Gets the list of role permissions.getScheduleDetails(String campaignName) Gets the campaign schedule details.Gets the state of the campaign.getTelephonyGateways(String campaignName) Gets the telephony gateways of the campaign.voidmanualStartContactList(String campaignName, String contactListName) Manually starts a contact list.voidmanualStopContactList(String campaignName, String contactListName) Manually stops a contact list.newCampaignCursor(String[] columns, String sql, CampaignAssignmentFilter assignmentFilter) Opens a campaign cursor.newContactHistoryCursor(String campaignName, String[] columns, String sql) Opens a contact history cursor.newContactUploader(String campaignName) Creates anICampaignContactUploaderused to upload contacts.intresubmitContact(String campaignName, int contactId, ContactResubmitRequest request) Resubmits a contact.intresubmitContacts(String campaignName, String sql, ContactResubmitRequest request) Resubmits contacts.voidsendMessage(String campaignName, String message) Sends a message to a campaign.voidsetAgentNotReady(String campaignName, String agentName, String notReadyReason) Sets the agent not ready in the campaign.voidsetAgentReady(String campaignName, String agentName) Sets the agent ready in the campaign.voidStarts the campaign.voidStops the campaign.voidSuspends the campaign.tryGetCampaignCursor(int cursorId) Gets a campaign cursor open in the instance or null if it doesn't exist.tryGetContactHistoryCursor(int cursorId) Gets a contact history cursor open in the instance or null if it doesn't exist.voidupdateCampaign(String campaignName, CampaignUpdateRequest request) Updates a campaign.voidupdateContact(String campaignName, int contactId, ContactUpdateRequest contactUpdateRequest) Updates a contact.voidupdateQueuedEmail(String campaignName, int queuedEmailId, QueuedEmailUpdateRequest queuedEmailUpdateRequest) Updates a queued email.voidupdateQueuedSocial(String campaignName, int queuedSocialDocumentId, QueuedSocialUpdateRequest queuedSocialUpdateRequest) Updates a queued social.uploadContacts(String campaignName, UploadRequest<ContactUploadRequest>[] requests) Create or update a set of contacts.Methods inherited from interface IDisposable
addDisposedListener, removeDisposedListenerMethods inherited from interface IEntity
getUserContext, setUserContext
-
Method Details
-
assignAgent
void assignAgent(String campaignName, String agentName) throws Exception, altitude.integrationServer.exceptions.ISException Assigns an agent to the campaign.- Parameters:
campaignName- Name of the campaign.agentName- Name of the agent.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
assignCategory
void assignCategory(String campaignName, int categoryId) throws Exception, altitude.integrationServer.exceptions.ISException Assigns a category to the campaign.- Parameters:
campaignName- Name of the campaign.categoryId- Identifier of the category.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
assignTeam
-
automaticStartStopContactList
void automaticStartStopContactList(String campaignName, String contactListName) throws Exception, altitude.integrationServer.exceptions.ISException Enables automatic start and stop of a contact list.- Parameters:
campaignName- Name of the campaign.contactListName- Name of the contact list.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
cancelContacts
int cancelContacts(String campaignName, String sql) throws Exception, altitude.integrationServer.exceptions.ISException Cancel contacts, non-connected interactions or workflow tasks.- Parameters:
campaignName- Name of the campaign.sql- SQL.- Returns:
- The identifier of the background task created on the Altitude uCI Server.
- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
createCampaign
int createCampaign(CampaignCreateRequest request) throws Exception, altitude.integrationServer.exceptions.ISException Creates a campaign- Parameters:
request- Contains the fields that must be overwritten- Returns:
- Identifier of the created campaign.
- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
createContact
int createContact(String campaignName, ContactCreateRequest contactCreateRequest) throws Exception, altitude.integrationServer.exceptions.ISException Creates a contact. For a massive contact insertion, please use theUploadContactsmethod.- Parameters:
campaignName- Name of the campaign.contactCreateRequest- Contact data.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
deAssignAgent
void deAssignAgent(String campaignName, String agentName) throws Exception, altitude.integrationServer.exceptions.ISException Deassigns an agent to the campaign.- Parameters:
campaignName- Name of the campaign.agentName- Name of the agent.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
deAssignCategory
void deAssignCategory(String campaignName, int categoryId) throws Exception, altitude.integrationServer.exceptions.ISException Deassigns a category to the campaign.- Parameters:
campaignName- Name of the campaign.categoryId- Identifier of the category.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
deAssignTeam
void deAssignTeam(String campaignName, String teamName) throws Exception, altitude.integrationServer.exceptions.ISException Deassigns a team to the campaign.- Parameters:
campaignName- Name of the campaign.teamName- Name of the team.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
deleteCampaign
-
deleteContact
-
deleteContacts
int deleteContacts(String campaignName, String sql) throws Exception, altitude.integrationServer.exceptions.ISException Deletes contacts by starting a background task on the Altitude uCI Server.- Parameters:
campaignName- Name of the campaign.sql- Sql-like statement. The columns admitted are the ones returned by theGetContactTableSchemamethod. Ifnullthen all contacts from the specified campaign are deleted.- Returns:
- The identifier of the background task created on the Altitude uCI Server.
- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
duplicateCampaign
int duplicateCampaign(String campaignName, CampaignCreateRequest request) throws Exception, altitude.integrationServer.exceptions.ISException Duplicates the current campaign. The duplicated data includes configuration, gateways, agent, team, and knowledge base category assignments.- Parameters:
campaignName- Name of the campaign.request- Contains the fields that must be overwritten- Returns:
- Identifier of the duplicated campaign.
- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
forcedDeAssignAgent
void forcedDeAssignAgent(String campaignName, String agentName) throws Exception, altitude.integrationServer.exceptions.ISException Deassigns an agent to the campaign regardless of the current state of the campaign.- Parameters:
campaignName- Name of the campaign.agentName- Name of the agent.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
forcedDeAssignTeam
void forcedDeAssignTeam(String campaignName, String teamName) throws Exception, altitude.integrationServer.exceptions.ISException Deassigns a team to the campaign regardless of the current state of the campaign.- Parameters:
campaignName- Name of the campaign.teamName- Name of the team.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getAssignedAgents
AgentData[] getAssignedAgents(String campaignName, AssignmentMode assignmentMode) throws Exception, altitude.integrationServer.exceptions.ISException Gets the data of the agents assigned to the campaign.- Parameters:
campaignName- Name of the campaign.assignmentMode- Type of mode. If AssignmentMode.NoValue, AssignmentMode.Direct is assumed.- Returns:
- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getAssignedAgentsInfo
AgentInCampaignInfo[] getAssignedAgentsInfo(String campaignName) throws Exception, altitude.integrationServer.exceptions.ISException Gets information about the agents assigned to the campaign.- Parameters:
campaignName- Name of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getAssignedCategories
CategoryData[] getAssignedCategories(String campaignName) throws Exception, altitude.integrationServer.exceptions.ISException Returns the categories assigned to the campaign.- Parameters:
campaignName- Name of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getAssignedDirectoryNames
String[] getAssignedDirectoryNames(String campaignName) throws Exception, altitude.integrationServer.exceptions.ISException Gets the names of the directories assigned to the campaign.- Parameters:
campaignName- Name of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getAssignedTeams
-
getAttributes
-
getCampaignCursor
ICampaignCursor getCampaignCursor(int cursorId) throws Exception, altitude.integrationServer.exceptions.ISException Gets a campaign cursor open in the instance.- Parameters:
cursorId- Identifier of the cursor.- Returns:
- The
ICampaignCursorcursor. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getCampaignCursors
ICampaignCursor[] getCampaignCursors() throws Exception, altitude.integrationServer.exceptions.ISExceptionReturns the campaign cursors open in the instance.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getCampaignDataById
CampaignData getCampaignDataById(int campaignId) throws Exception, altitude.integrationServer.exceptions.ISException Returns aCampaignDataobject with data about the campaign.- Parameters:
campaignId- Identifier of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getCampaignDataByName
CampaignData getCampaignDataByName(String campaignName) throws Exception, altitude.integrationServer.exceptions.ISException Returns aCampaignDataobject with data about the campaign.- Parameters:
campaignName- Name of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getCampaignTableSchema
TableSchema getCampaignTableSchema() throws Exception, altitude.integrationServer.exceptions.ISExceptionGets the table schema of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getContactHistoryCursor
IContactHistoryCursor getContactHistoryCursor(int cursorId) throws Exception, altitude.integrationServer.exceptions.ISException Gets a contact history cursor open in the instance.- Parameters:
cursorId- Identifier of the cursor.- Returns:
- The
IContactHistoryCursorcursor. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getContactHistoryCursors
IContactHistoryCursor[] getContactHistoryCursors() throws Exception, altitude.integrationServer.exceptions.ISExceptionReturns the contact history cursors open in the instance.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getContactHistoryEntry
ContactHistoryEntry getContactHistoryEntry(String campaignName, int contactId, long contactHistoryEntryId) throws Exception, altitude.integrationServer.exceptions.ISException Returns aContactHistoryEntryobject with data about the contact history entry.- Parameters:
campaignName- Name of the campaign.contactId- Identifier of the contact.contactHistoryEntryId- Identifier of the contact history entry.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getContactHistoryTableSchema
TableSchema getContactHistoryTableSchema() throws Exception, altitude.integrationServer.exceptions.ISExceptionGets the table schema of the contact history.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getContactListById
ContactList getContactListById(String campaignName, int contactListId) throws Exception, altitude.integrationServer.exceptions.ISException Gets a the contact list.- Parameters:
campaignName- Name of the campaign.contactListId- Identifier of the contact list.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getContactListByName
ContactList getContactListByName(String campaignName, String contactListName) throws Exception, altitude.integrationServer.exceptions.ISException Gets a the contact list.- Parameters:
campaignName- Name of the campaign.contactListName- Name of the contact list.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getContactLists
ContactList[] getContactLists(String campaignName) throws Exception, altitude.integrationServer.exceptions.ISException Gets the contact lists of the campaign.- Parameters:
campaignName- Name of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getContactListState
ContactListState getContactListState(String campaignName, String contactListName) throws Exception, altitude.integrationServer.exceptions.ISException Gets a the state of the contact list.- Parameters:
campaignName- Name of the campaign.contactListName- Name of the contact list.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getContactUploaderById
ICampaignContactUploader getContactUploaderById(int contactUploaderId) throws Exception, altitude.integrationServer.exceptions.ISException Gets aICampaignContactUploaderobject by the identifier within the IntegrationServer.- Parameters:
contactUploaderId- Identifier of theICampaignContactUploaderobject.- Returns:
- The
ICampaignContactUploaderobject. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getContactUploaderByTaskId
ICampaignContactUploader getContactUploaderByTaskId(int contactUploaderTaskId) throws Exception, altitude.integrationServer.exceptions.ISException Returns aICampaignContactUploaderobject that previously has started an upload task in the Altitude uCI Server.- Parameters:
contactUploaderTaskId- Identifier of the entity upload task returned by the ICampaignContactUploader.Start- Returns:
- The
ICampaignContactUploaderobject. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getContactUploaders
ICampaignContactUploader[] getContactUploaders() throws Exception, altitude.integrationServer.exceptions.ISExceptionGets theICampaignContactUploaderobjects.- Returns:
- The
ICampaignContactUploaderobjects. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getInboundEmailAddresses
CampaignInboundEmailAddress[] getInboundEmailAddresses(String campaignName) throws Exception, altitude.integrationServer.exceptions.ISException Gets an array with the campaign inbound email addresses.- Parameters:
campaignName- Name of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getInboundEmailFilters
CampaignInboundEmailFilter[] getInboundEmailFilters(String campaignName) throws Exception, altitude.integrationServer.exceptions.ISException Gets an array with the campaign inbound email filters.- Parameters:
campaignName- Name of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getInstance
-
getInstantMessagingGateways
CampaignInstantMessagingGatewayData[] getInstantMessagingGateways(String campaignName) throws Exception, altitude.integrationServer.exceptions.ISException Gets the instant messaging gateways the campaign.- Parameters:
campaignName- Name of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getOutboundEmailAddresses
CampaignOutboundEmailAddress[] getOutboundEmailAddresses(String campaignName) throws Exception, altitude.integrationServer.exceptions.ISException Gets the campaign outbound email addresses.- Parameters:
campaignName- Name of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getPermissions
CampaignRolePermission[] getPermissions(String campaignName) throws Exception, altitude.integrationServer.exceptions.ISException Gets the list of role permissions.- Parameters:
campaignName- Name of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getScheduleDetails
CampaignScheduleDetail[] getScheduleDetails(String campaignName) throws Exception, altitude.integrationServer.exceptions.ISException Gets the campaign schedule details.- Parameters:
campaignName- Name of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getState
CampaignState getState(String campaignName) throws Exception, altitude.integrationServer.exceptions.ISException Gets the state of the campaign.- Parameters:
campaignName- Name of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getTelephonyGateways
CampaignTelephonyGatewayData[] getTelephonyGateways(String campaignName) throws Exception, altitude.integrationServer.exceptions.ISException Gets the telephony gateways of the campaign.- Parameters:
campaignName- Name of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
manualStartContactList
void manualStartContactList(String campaignName, String contactListName) throws Exception, altitude.integrationServer.exceptions.ISException Manually starts a contact list.- Parameters:
campaignName- Name of the campaign.contactListName- Name of the contact list.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
manualStopContactList
void manualStopContactList(String campaignName, String contactListName) throws Exception, altitude.integrationServer.exceptions.ISException Manually stops a contact list.- Parameters:
campaignName- Name of the campaign.contactListName- Name of the contact list.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
newCampaignCursor
ICampaignCursor newCampaignCursor(String[] columns, String sql, CampaignAssignmentFilter assignmentFilter) throws Exception, altitude.integrationServer.exceptions.ISException, altitude.integrationServer.exceptions.ISSqlException Opens a campaign cursor.- Parameters:
columns- Columns to fetch.sql- SQL.assignmentFilter- Assignment filter.- Returns:
- The
ICampaignCursorcursor. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISExceptionaltitude.integrationServer.exceptions.ISSqlException
-
newContactHistoryCursor
IContactHistoryCursor newContactHistoryCursor(String campaignName, String[] columns, String sql) throws Exception, altitude.integrationServer.exceptions.ISException, altitude.integrationServer.exceptions.ISSqlException Opens a contact history cursor.- Parameters:
campaignName- Name of the campaign.columns- Columns to fetch.sql- SQL.- Returns:
- The
IContactHistoryCursorcursor. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISExceptionaltitude.integrationServer.exceptions.ISSqlException
-
newContactUploader
ICampaignContactUploader newContactUploader(String campaignName) throws Exception, altitude.integrationServer.exceptions.ISException Creates anICampaignContactUploaderused to upload contacts.- Parameters:
campaignName- Name of the campaign.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
resubmitContact
int resubmitContact(String campaignName, int contactId, ContactResubmitRequest request) throws Exception, altitude.integrationServer.exceptions.ISException Resubmits a contact.- Parameters:
campaignName- Name of the campaign.contactId- Identifier of the contact.request- Request data.- Returns:
- The identifier of the background task created on the Altitude uCI Server.
- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
resubmitContacts
int resubmitContacts(String campaignName, String sql, ContactResubmitRequest request) throws Exception, altitude.integrationServer.exceptions.ISException Resubmits contacts.- Parameters:
campaignName- Name of the campaign.sql- SQL.request- Request data.- Returns:
- The identifier of the background task created on the Altitude uCI Server.
- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
sendMessage
void sendMessage(String campaignName, String message) throws Exception, altitude.integrationServer.exceptions.ISException Sends a message to a campaign.- Parameters:
campaignName- Name of the campaign.message- The message to send.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
setAgentNotReady
void setAgentNotReady(String campaignName, String agentName, String notReadyReason) throws Exception, altitude.integrationServer.exceptions.ISException Sets the agent not ready in the campaign.- Parameters:
campaignName- Name of the campaign.agentName- Name of the agent.notReadyReason- The not ready reason.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
setAgentReady
void setAgentReady(String campaignName, String agentName) throws Exception, altitude.integrationServer.exceptions.ISException Sets the agent ready in the campaign.- Parameters:
campaignName- Name of the campaign.agentName- Name of the agent.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
start
-
stop
-
suspend
-
tryGetCampaignCursor
ICampaignCursor tryGetCampaignCursor(int cursorId) throws Exception, altitude.integrationServer.exceptions.ISException Gets a campaign cursor open in the instance or null if it doesn't exist.- Parameters:
cursorId- Identifier of the cursor.- Returns:
- The
ICampaignCursorcursor. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
tryGetContactHistoryCursor
IContactHistoryCursor tryGetContactHistoryCursor(int cursorId) throws Exception, altitude.integrationServer.exceptions.ISException Gets a contact history cursor open in the instance or null if it doesn't exist.- Parameters:
cursorId- Identifier of the cursor.- Returns:
- The
IContactHistoryCursorcursor. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
updateCampaign
void updateCampaign(String campaignName, CampaignUpdateRequest request) throws Exception, altitude.integrationServer.exceptions.ISException Updates a campaign.- Parameters:
campaignName- Name of the campaign.request- Describes what to update.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
updateContact
void updateContact(String campaignName, int contactId, ContactUpdateRequest contactUpdateRequest) throws Exception, altitude.integrationServer.exceptions.ISException Updates a contact.- Parameters:
campaignName- Name of the campaign.contactId- Identifier of the contact.contactUpdateRequest- Contact data.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
updateQueuedEmail
void updateQueuedEmail(String campaignName, int queuedEmailId, QueuedEmailUpdateRequest queuedEmailUpdateRequest) throws Exception, altitude.integrationServer.exceptions.ISException Updates a queued email.- Parameters:
campaignName- Name of the campaign.queuedEmailId- Identifier of the queued email.queuedEmailUpdateRequest- Queued email data.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
updateQueuedSocial
void updateQueuedSocial(String campaignName, int queuedSocialDocumentId, QueuedSocialUpdateRequest queuedSocialUpdateRequest) throws Exception, altitude.integrationServer.exceptions.ISException Updates a queued social.- Parameters:
campaignName- Name of the campaign.queuedSocialDocumentId- Identifier of the queued social document.queuedSocialUpdateRequest- Queued social data.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
uploadContacts
UploadResult[] uploadContacts(String campaignName, UploadRequest<ContactUploadRequest>[] requests) throws Exception, altitude.integrationServer.exceptions.ISException Create or update a set of contacts.- Parameters:
campaignName- Name of the campaign.requests- Requests with the data of the contacts to upload.- Returns:
- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-