Documentation OpenEMM Webservices 1.2.3



Similar documents
Manual. Visendo 10. Manual. Achieve more with less

The VerticalResponse API Guide

Getting Started with STATISTICA Enterprise Programming

Magento Clang Integration Extension version 1.2.0

MySQL Job Scheduling

Helpdesk for JIRA

IBM Campaign and IBM Silverpop Engage Version 1 Release 2 August 31, Integration Guide IBM

CRM On Demand. Oracle Marketing On Demand Online Help

Nokia for Business. Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation

Mailchimp Integration Addon

WESTERNACHER OUTLOOK -MANAGER OPERATING MANUAL

Easy Manage Helpdesk Guide version 5.4

Webapps Vulnerability Report

Administrator s and Developer s Guide

Nintex Workflow 2013 Help

ConvincingMail.com Marketing Solution Manual. Contents

Bitrix Site Manager 4.0. Quick Start Guide to Newsletters and Subscriptions

1. Starting the management of a subscribers list with emill

Case study for marketing own system vs. hosted service. TouchBase Pro

Grant Management System Training Guide Module 9 Notification Center Home Dashboard Ver 6.1 Updated:

Settings 1 September 2015

BizMailChimp Mailchimp & Dynamics CRM Integration Tool User Guide

Getting Started with Automizy

Workflow Templates Library

Marketing with OpenEMM. Installation, Configuration and Operation

The presentation explains how to create and access the web services using the user interface. WebServices.ppt. Page 1 of 14

SelectSurvey.NET User Manual

Word 2010: Mail Merge to with Attachments

Version 1.7. Inbound Integration (POP3 and IMAP) Installation, Configuration and User Guide. Last updated October 2011

Oracle Database 10g Express

Microsoft Dynamics CRM Security Provider Module

Sophos Mobile Control Web service guide

RoboMail Mass Mail Software

ListManager 10.0 API User Guide

BreezingForms Guide. 18 Forms: BreezingForms

IBM Campaign Version-independent Integration with IBM Engage Version 1 Release 3 April 8, Integration Guide IBM

StreamServe Persuasion SP5 Ad Hoc Correspondence and Correspondence Reviewer

CRM On Demand. Siebel Marketing On Demand Online Help

PUBLIC. How to Use in SAP Business One. Solutions from SAP. SAP Business One 2005 A SP01

How to Process Opt-Out Reqeusts in GroupMail (Subscriber Add-On)

Building and Using Web Services With JDeveloper 11g

Cross Bulk Mailer 6.1 User Guide

SafeGuard PrivateCrypto 2.40 help

Table of Contents. Introduction: 2. Settings: 6. Archive 9. Search Browse Schedule Archiving: 18

Facebook Twitter YouTube Google Plus Website

Hermes.Net Web Campaign Page 2 26

Cross Bulk Mailer 5.4 User Guide

OPROARTS Designer for Force.com Report Engine. Developer Guide. OPRO Japan Co., Ltd.

**Web mail users: Web mail provides you with the ability to access your via a browser using a "Hotmail-like" or "Outlook 2003 like" interface.

IMAGINE... Everything You Expect From CRM Integrated Marketing. And More! marketing campaigns that...

Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY

Nokia for Business. Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation

Safeguard Ecommerce Integration / API

SAP CRM 7.0 E2C Setup: CRM via Toolset

IBM Operational Decision Manager Version 8 Release 5. Getting Started with Business Rules

Pervasive Data Integrator. Oracle CRM On Demand Connector Guide

SimplyCast emarketing User Guide

NGASI AppServer Manager SaaS/ASP Hosting Automation for Cloud Computing Administrator and User Guide

Forms Printer User Guide

McAfee Network Threat Response (NTR) 4.0

Fixes for CrossTec ResQDesk

UPS MONITORING SOFTWARE USER MANUAL

Nokia E90 Communicator support

Domains Help Documentation This document was auto-created from web content and is subject to change at any time. Copyright (c) 2016 SmarterTools Inc.

Integrating VoltDB with Hadoop

SMTPSWITCH MAILER V6 FEATURES

LEARNING MANAGEMENT SYSTEM (LMS) SUBSCRIBING TO A REPORT

An Newsletter Using ASP Smart Mailer and Advanced HTML Editor

AutoMerge for MS CRM 3

LICENTIA. Nuntius. Magento Marketing Extension REVISION: SEPTEMBER 21, 2015 (V1.8.1)

IBM Unica emessage Version 8 Release 5 February 19, Transactional Administration Guide

UQC103S1 UFCE Systems Development. uqc103s/ufce PHP-mySQL 1

Insight Video Net. LLC. CMS 2.0. Quick Installation Guide

How to Create a Delegated Administrator User Role / To create a Delegated Administrator user role Page 1

Software User s Guide

Fall CRM Server Software Design TEAM MEMBERS: Project Owner: Herve Ntareme Champion: Bjorn Pehrson. MAHSA TABATABAEI ( mahsat@kth.

OpenReports: Users Guide

ExactTarget Dynamics CRM Integration

kalmstrom.com Business Solutions

Salesforce Integration Using PI: How to Perform Query and Other DML Operations Using the Enterprise WSDL

Kaseya 2. Quick Start Guide. for VSA 6.1

IP phone services setup

Installing and Sending with DocuSign for NetSuite v2.2

QAD Enterprise Applications. Training Guide Demand Management 6.1 Technical Training

GetLibraryUserOrderList

Campaigns. Product Use Guide. Copyright LeadFormix Inc. All Rights Reserved

v7.1 SP1 Release Notes

Secure Messaging Server Console... 2

Mastering the JangoMail Messages Tool

OutDisk 4.0 FTP FTP for Users using Microsoft Windows and/or Microsoft Outlook. 5/1/ Encryptomatic LLC

Enhanced Connector Applications SupportPac VP01 for IBM WebSphere Business Events 3.0.0

Transcription:

Documentation OpenEMM Webservices 1.2.3 The OpenEMM SOAP webservices interface of OpenEMM 6.0 and later offers 15 methods to remote control OpenEMM (by a CMS or CRM application for example). Deployment information: To create a webservices user, add a self defined user name and to database table ws_admin_tbl with a SQL statement like this: INSERT INTO "ws_admin_tbl" values (1, "ws", "ws"); EmmSoapClient.sh (Linux) EmmSoapClient.cmd (Windows): This script is a test-client for the OpenEMM webservices. Please adjust the path information in the second line of the file to point to your deploy directory. When using the default paths of OpenEMM this is../webapps/openemm (Linux) Executing the script EmmSoapClient.[sh cmd] launches class org.agnitas.webservice.emmsoapclient and gives you an overview of all available services and their parameters. The client tries to connect to http://localhost:8080 and therefore has to be started on the server side. EmmCreateWSDL.sh (Linux) / EmmCreateWSDL.cmd (Windows): This script creates a valid WSDL file named ws.wsdl based on the OpenEMM interface class EMMWebService_Port. Please adjust the path information in the second line of the file to point to your deploy directory. When using the default paths of OpenEMM this is../webapps/openemm The Linux script can be started like this (no line breaks):./emmcreatewsdl.sh -o ws.wsdl -l "http://yourdomain:8080/emm_webservice" -n "urn:agnitas-webservice" -w ALL org.agnitas.webservice.emmwebservice_port The Windows script can be started like this (no line breaks): EmmCreateWSDL.cmd -o ws.wsdl -l "http://yourdomain:8080/emm_webservice" -n "urn:agnitas-webservice" -w ALL org.agnitas.webservice.emmwebservice_port

List of all available webservice methods: Webservice method newemailmailing newemailmailingwithreply updateemailmailing insertcontent deletecontent sendmailing addmailinglist deletemailinglist addsubscriber updatesubscriber findsubscriber getsubscriber deletesubscriber setsubscriberbinding getsubscriberbinding Creates a new email-mailing. Creates a new email-mailing with reply-to address. Updates an email-mailing. Adds content to an existing mailing. Deletes one mailing content from the database. Sends admin-, test-, and world-mailings. Creates a new mailing list Deletes an existing mailing list Adds a subscriber to database. Updates a subscriber in the database. Searches for a subscriber in the database. Gets subcriber-data from the database. Deletes one subscriber from the database. Changes binding of subscribers in mailinglists. Gets subscriber binding from the database.

newemailmailing This Method creates a new email-mailing. It creates the mailing only, use insertcontent to fill in the text and sendmailing to send out the email. shortname description mailinglistid targetid Name of the mailing. Only visible in OpenEMM, not visible for the recipients of the mailing. (max. 1000 chars) of the mailing. Only visible in OpenEMM, not visible for the recipients of the mailing. ID of the mailinglist, must exist in OpenEMM. IDs of target groups (semicolon separated list). 0: no target group, all recipients from the chosen mailinglist >0: an existing target group ID mailingtype Type of mailing. 0: normal mailing 1: event-based mailing 2: rule-based mailing (like automated birthday mailings) templateid emailsubject emailsender emailcharset emaillinefeed ID of a template used for creating the mailing. Can be every existing template- or mailingid in the OpenEMM or 0 for no template. If no template is used, two content-blocks are available for insertcontent: emailtext and emailhtml. Subjectline of the email. Senderaddress of the email. Can be a simple email-address like info@agnitas.de or combined with a realname like: Agnitas AG <info@agnitas.de>. Characterset to be used for encoding the email, usually iso-8859-1. Automated linefeed in the text-version of the email.

emailformat Format of the email. 0: only text 1: online-html (Multipart) 2: offline-html (Multipart + embedded graphics) Note: If you are using a template, the base settings of this template and content blocks will be used for the new mailing. For the base settings the values for mailingtype, emailcharset, emaillinefeed and emailformat will be taken from the template and can not be changed by the method call. The values for mailinglistid, targetid and emailsender will be taken from the template in case you set them to 0 and (empty string for emailsender) respectively. All other valid values will overwrite the values of the template. The emailsubject will be overwritten everytime. public int newemailmailing(java.lang.string, java.lang.string shortname, java.lang.string description, int mailinglistid, StringArrayType targetid, int mailingtype, int templateid, java.lang.string emailsubject, java.lang.string emailsender, java.lang.string emailcharset, int emaillinefeed, int emailformat) return ID of created mailing or 0 (failure)

newemailmailingwithreply This Method creates a new email-mailing with a reply address. It creates the mailing only, use insertcontent to fill in the text and sendmailing to send out the email. shortname description mailinglistid targetid Name of the mailing. Only visible in OpenEMM, not visible for the recipients of the mailing. (max. 1000 chars) of the mailing. Only visible in OpenEMM, not visible for the recipients of the mailing. ID of the mailinglist, must exist in OpenEMM. IDs of target groups (semicolon separated list). 0: all recipients from a given mailinglist >0: an existing target group ID mailingtype Type of mailing. 0: normal mailing 1: event-based mailing 2: rule-based mailing (like automated birthday mailings) templateid emailsubject emailsender emailreply emailcharset emaillinefeed ID of a template used for creating the mailing. Can be every existing template- or mailingid in the OpenEMM or 0 for no template. If no template is used, two content-blocks are available for insertcontent: emailtext and emailhtml. Subjectline of the email. Senderaddress of the email. Can be a simple email-address like info@agnitas.de or a realname like: Agnitas AG <info@agnitas.de>. Reply-to address of the email. Can be a simple email-address like info@agnitas.de or combined with a realname like: Agnitas AG <info@agnitas.de>. Characterset to be used for encoding the email, usually iso-8859-1. Automated linefeed in the text-version of the email.

emailformat Format of the email. 0: only text 1: online-html (Multipart) 2: offline-html (Multipart + embedded graphics) Note: If you are using a template, the base settings of this template and content blocks will be used for the new mailing. For the base settings the values for mailingtype, emailcharset, emaillinefeed and emailformat will be taken from the template and can not be changed by the method call. The values for mailinglistid, targetid and emailsender will be taken from the template in case you set them to 0 and (empty string for emailsender) respectively. All other valid values will overwrite the values of the template. The emailsubject will be overwritten everytime. public int newemailmailingwithreply(java.lang.string, java.lang.string shortname, java.lang.string description, int mailinglistid, StringArrayType targetid, int mailingtype, int templateid, java.lang.string emailsubject, java.lang.string emailsender, java.lang.string emailreply, java.lang.string emailcharset, int emaillinefeed, int emailformat) return ID of created mailing or 0 (failure)

updateemailmailing Method for updating an email-mailing. It only updates the Mailing, use insertcontent to fill in the text and sendmailing to send out the E-Mail. mailingid shortname description mailinglistid targetid ID of the mailing which should be changed. Name of the mailing. Only visible in OpenEMM, not visible for the recipients of the mailing. (max. 1000 chars) for the mailing. Only visible in OpenEMM, not visible for the recipients of the mailing. ID of the mailinglist, must exist in OpenEMM. IDs of target groups (semicolon separated list). 0: all recipients from given mailinglist >0: an existing target group id mailingtype Type of mailing. 0: normal mailing 1: event-based mailing 2: rule-based mailing (like automated birthday mailings) emailsubject emailsender emailreply emailcharset emaillinefeed Subjectline for the email. Senderaddress for the email. Can be a simple email-address like info@agnitas.de or combined with a realname like: Agnitas AG <info@agnitas.de>. Reply-to address of the email. Can be a simple email-address like info@agnitas.de or combined with a realname like: Agnitas AG <info@agnitas.de>. Characterset to be used for encoding the email, usually iso-8859-1. Automated linefeed in the text-version of the email.

emailformat Format of the email. 0: only text 1: online-html (Multipart) 2: offline-html (Multipart + embedded graphics) Note: If you are using a template, the base settings of this template and content blocks will be used for the new mailing. For the base settings the values for mailingtype, emailcharset, emaillinefeed and emailformat will be taken from the template and can not be changed by the method call. The values for mailinglistid, targetid and emailsender will be taken from the template in case you set them to 0 and (empty string for emailsender) respectively. All other valid values will overwrite the values of the template. The emailsubject will be overwritten everytime. public boolean updateemailmailing(java.lang.string, int mailingid, java.lang.string shortname, java.lang.string description, int mailinglistid, StringArrayType targetid, int mailingtype, java.lang.string emailsubject, java.lang.string emailsender, java.lang.string emailreply, java.lang.string emailcharset, int emaillinefeed, int emailformat) return true (successful update) or false (failed update)

insertcontent Method for adding content to an existing mailing. mailingid blockname blockcontent targetid priority ID of the mailing to which a content-blocks should be added. Name of content-block. Depends on the template used in newemailmailing or newemailmailingwithreply. If no template is used, the available block-names are emailtext and emailhtml. Content of the blockname. Multiple contents, divided by target groups, can be provided for one blockname. The recipient only sees the content defined for him. ID of the target group of this block-content. Use 0 for all subscribers. Priority of this block-content. Smaller numbers denote a higher priority. public int insertcontent(java.lang.string, int mailingid, java.lang.string blockname, java.lang.string blockcontent, int targetid, int priority) return length of provided block-content or 0 (failure)

deletecontent Method for deleting content of an existing mailing. contentid ID of the mailingcontent to which should be deleted. public int insertcontent(java.lang.string, int mailingid, java.lang.string blockname, java.lang.string blockcontent, int targetid, int priority) return 1 (success) or 0 (failure)

sendmailing Method for sending admin-, test- and world-mailings. mailingid sendgroup ID of the mailing which should be sent. User group to which the email has to be sent to. 'A': only admin-subscribers (for testing) 'T': only test- and admin-subscribers (for testing) 'W': all subscribers (can only be executed once) sendtime stepping blocksize Scheduled send-time in seconds since January 1, 1970, 00:00:00 GMT For artificially slowing down the send-process. Seconds between delivery of two mailing-blocks. Set to 0 unless you know exactly what you are doing. For artificially slowing down the send-process. Number of emails in one mailing-block. Set to 0 unless you know exactly what you are doing. public int sendmailing(java.lang.string, int mailingid, java.lang.string sendgroup, int sendtime, int stepping, int blocksize) return 1 (success) or 0 (failure)

addmailinglist Method for creating a new mailing list. shortname description Name of the mailing list. Only visible in OpenEMM. (max. 1000 chars) of the mailing list. Only visible in OpenEMM. public int addmailinglist(java.lang.string, java.lang.string shortname, java.lang.string description) return ID of created mailing list or 0 (failure)

deletemailinglist Method to delete an existing mailing list. mailinglistid ID of the mailing list to be deleted. public int addmailinglist(java.lang.string, int mailinglistid) return 1 (success) or 0 (failure)

addsubscriber Method for adding a subscriber to database. doublecheck keycolumn overwrite paramnames paramvalues If true, checks if the recipient is already in database and avoids that a recipient is in the database more than once. If false, recipient will be added in any case (independently from state of overwrite parameter). Specifies the column used for doublecheck. If true (and DoubleCheck true), recipients that are already in the database get updated and missing parameters will be set to NULL. If false, subscriber will be added depending on state of doublecheck.. Name of columns that will be filled with data (semicolon separated list, see note below). Values for paramnames (semicolon separated list). To transfer parameter fields with dates, you have to split the content into severeal sub fields like this: Necessary sub fields: Optional sub fields: fieldname_day_date fieldname_hour_date fieldname_month_date fieldname_minute_date fieldname_year_date fieldname_second_date public int addsubscriber(java.lang.string, boolean doublecheck, java.lang.string keycolumn, boolean overwrite, StringArrayType paramnames, StringArrayType paramvalues) return customerid of added or updated recipient or 0 (failure) Please note, that for paramnames the field names email, gender and mailtype are mandatory. You should set gender in paramvalues to 2 (unknown) and mailtype to 0 (text only) or 1 (HTML).

updatesubscriber Method for updating a subscriber in the database. customerid paramnames paramvalues ID of the subscriber to be updated. Name of columns that will be filled with data (semicolon separated list), non-listed columnes will be left unchanged. Values for paramnames (semicolon separated list). To transfer parameter fields with dates, you have to split the content into severeal sub fields like this: Necessary sub fields: Optional sub fields: fieldname_day_date fieldname_hour_date fieldname_month_date fieldname_minute_date fieldname_year_date fieldname_second_date public int addsubscriber(java.lang.string, int customerid, StringArrayType paramnames, StringArrayType paramvalues) return true (successful update) or false (failed update)

findsubscriber Method for searching for a subscriber in the database. keycolumn value Column by which recipient should be retrieved Value to be searched for. public int findsubscriber(java.lang.string, java.lang.string keycolumn, java.lang.string value) return customerid of the first match or 0 (if no match)

getsubscriber Method for getting the data of a subscriber from the database. customerid ID of the subscriber. public SubscriberData getsubscriber(java.lang.string, int customerid) return class SubscriberData; contains String Arrays (semicolon separated list): paramnames, paramvalues

deletesubscriber Method for deleting the data of a subscriber from the database. customerid ID of the subscriber. public SubscriberData getsubscriber(java.lang.string, int customerid) return 1 (success) or 0 (failure)

setsubscriberbinding Method for binding the subscriber to a certain mailinglist. customerid mailinglistid mediatype ID of the customer, whose binding should be changed. ID of mailinglist for which the binding should be changed. Mediatype that should be changed. 0: Email 1: SMS status Recipient status in the mailinglist. 1: active 2: bounced 3: opt-out by admin 4: opt-out by user bindingtype Type in the mailing list. 'A': admin subscriber 'T': test subscriber 'W': normal subscriber remark exitmailingid Comment on the binding, e.g. "opt-in by user" oder "opt-out by admin" ID of the mailing which caused the opt-out or bounce (0 if unknown) for correct attribution in statistics. public int setsubscriberbinding(java.lang.string, int customerid, int mailinglistid, int mediatype, int status, java.lang.string bindingtype,

java.lang.string remark, int exitmailingid) return customerid of the recipient or 0 (failure)

getsubscriberbinding Method for getting the binding of a subscriber to a certain mailinglist. customerid mailinglistid mediatype ID of the customer, whose binding should be retrieved. ID of mailinglist for which the binding should be retrieved. Mediatype for which the binding should be retrieved. 0: Email 1: SMS public String setsubscriberbinding(java.lang.string, int customerid, int mailinglistid, int mediatype) return status;bindingtype;exitmailingid;remark See webservice setsubscriberbinding for explanation of return parameters.