Benötigen Sie Hilfe?
Im Maileon Help-Center finden Sie umfassende Dokumentationen zu unserem System.
Beliebte Suchanfragen: Importe | Rest-API | Integrationen | SMS
-
Maileon Anleitungen
-
-
- Bald verfügbar
-
-
-
- Bald verfügbar
-
-
- Bald verfügbar
-
- Bald verfügbar
-
-
-
- Bald verfügbar
-
- Bald verfügbar
-
- Bald verfügbar
-
-
-
-
-
- Bald verfügbar
-
FAQs
-
Grundlagen
-
Für Entwickler
-
-
- Adding Unsubscription Reason to Already Unsubscribed Contact
- Contacts
- Count Active Contacts By Filter ID
- Count Contacts By Filter ID
- Create Contact
- Create Contact (JSON)
- Create Contact by External ID
- Create Contact by External ID (JSON)
- Create Contact Preference
- Create Contact Preference Category
- Create Custom Field
- Custom Contact Fields
- Delete All Contacts
- Delete Contact By Maileon ID
- Delete Contact Preference
- Delete Contact Preference Category
- Delete Contacts By Email
- Delete Contacts By External ID
- Delete Custom Field
- Delete Custom Field Values
- Delete Standard Field Values
- Delete Unsubscription-Marker
- Get Blocked Contacts
- Get Contact By Email
- Get Contact By Maileon ID
- Get Contact Preference
- Get Contact Preference Categories
- Get Contact Preference Category by Name
- Get Contacts
- Get Contacts By Email
- Get Contacts By External Id
- Get Contacts By Filter Id
- Get Count Contacts
- Get Custom Fields
- Get Preferences of Contact Preferences Category
- Get Unsubscription-Marker
- Rename Custom Field
- Set Unsubscription-Marker
- Standard Contact Fields
- Synchronize Contacts
- Synchronize Contacts Error Codes
- Unsubscribe Contact By Maileon Id
- Unsubscribe Contacts By Email
- Unsubscribe Contacts by External Id
- Update Contact By Email
- Update Contact By External ID
- Update Contact By Maileon ID
- Update Contact Preference
- Update Contact Preference Category
- Alle Artikel anzeigen ( 34 ) Artikel zusammenklappen
-
- Get Blocks
- Get Bounces
- Get Clicks
- Get Conversions
- Get Filtered Contacts
- Get Opens
- Get Recipients
- Get Revenue
- Get Subscribers
- Get Unique Bounces
- Get Unique Clicks
- Get Unique Conversions
- Get Unique Opens
- Get Unsubscription Reasons
- Get Unsubscriptions
- Social Networks List
- Alle Artikel anzeigen ( 1 ) Artikel zusammenklappen
-
- Add Mailing Blacklist to Mailing
- Copy Mailing
- Create Dispatching
- Create Mailing
- Delete Mailing
- Delete Mailing Blacklist from Mailing
- Delete Trigger
- Get CMS2 Mailing As Zip
- Get Dispatching
- Get limit on number of contacts
- Get Mailing Archive URL
- Get Mailing Blacklists for Mailing
- Get Mailing ID By Name
- Get Mailing Report URL
- Get Mailing Thumbnail
- Get Mailing Thumbnail URL
- Get Mailings By Creator Name
- Get Mailings By Keywords
- Get Mailings By Schedule Time
- Get Mailings By States
- Get Mailings By Subject
- Get Mailings By Types
- Get Preview Text
- Get Template
- Get Templates for CMS2
- Get The Reply-To Address
- Mailing – Add Attachment
- Mailing – Add Custom Mailing Properties
- Mailing – Copy Attachments
- Mailing – Create Schedule
- Mailing – Delete Attachment
- Mailing – Delete Attachments
- Mailing – Delete Schedule
- Mailing – Disable QoS Checks
- Mailing – Enable Target Group Update
- Mailing – Fill RSS SmartMailing Tags
- Mailing – Get “Ignore Permission” State
- Mailing – Get “Post Sendout Cleanup” State
- Mailing – Get Archival Duration
- Mailing – Get Attachment
- Mailing – Get Attachments
- Mailing – Get Count Attachments
- Mailing – Get DOI Mailing Key
- Mailing – Get HTML
- Mailing – Get List of Custom Mailing Properties
- Mailing – Get Locale
- Mailing – Get Mailing Domain
- Mailing – Get Max Attachment Size
- Mailing – Get Max Content Size
- Mailing – Get Name
- Mailing – Get Recipient Alias
- Mailing – Get result for Link Quality Check
- Mailing – Get result for Message Size Quality Check
- Mailing – Get result for Personalization Quality Check
- Mailing – Get result for Spam Quality Check
- Mailing – Get results for Approval Sendout Quality Check
- Mailing – Get results for Attention Quality Check
- Mailing – Get results for Bounce Quality Check
- Mailing – Get results for Display Quality Check
- Mailing – Get results for Image Quality Check
- Mailing – Get results for Test Mail Sendout
- Mailing – Get Schedule
- Mailing – Get Sender Address
- Mailing – Get Sender Alias
- Mailing – Get Speed Level
- Mailing – Get State
- Mailing – Get Subject
- Mailing – Get Tags
- Mailing – Get Target Group Id
- Mailing – Get Target Group Update status
- Mailing – Get Text
- Mailing – Get Tracking Duration
- Mailing – Get Tracking Strategy
- Mailing – Get Type
- Mailing – Is Sealed
- Mailing – Remove Custom Mailing Property
- Mailing – Send Approval Mail to Targetgroup
- Mailing – Send Now
- Mailing – Send Testmail to Single Emailaddress
- Mailing – Send Testmail to Targetgroup
- Mailing – Set “Ignore Permission” State
- Mailing – Set “Post Sendout Cleanup” State
- Mailing – Set DOI Mailing Key
- Mailing – Set Html
- Mailing – Set Locale
- Mailing – Set Name
- Mailing – Set Recipient Alias
- Mailing – Set Sender Address
- Mailing – Set Sender Alias
- Mailing – Set Speed Level
- Mailing – Set Subject
- Mailing – Set Tags
- Mailing – Set Target Group Id
- Mailing – Set Text
- Mailing – Set Tracking Strategy
- Mailing – Start Attention Quality Check
- Mailing – Start Bounce Quality Check
- Mailing – Start Image Quality Check
- Mailing – Start Link Quality Check
- Mailing – Start Message Size Quality Check
- Mailing – Start Personalization Quality Check
- Mailing – Start Quality Check
- Mailing – Update Custom Mailing Property
- Mailing – Update Schedule
- Reset Contents to Template
- Save CMS2 Mailing to Media Library
- Set limit on number of contacts before sending mailing
- Set Preview Text
- Set Template
- Set Template for CMS2 Mailing
- Set The Reply-To Address
- Alle Artikel anzeigen ( 96 ) Artikel zusammenklappen
Contacts
Sie sind hier:
This page describes the data fields of a contact and how to de-/serialize a contact as XML.This section describes the attributes of a contact. The entry “Passed as XML” describes if this attribute is submitted to the API as XML (if “yes”) or as parameter of the REST call (if “no”).
Attribute | / Type | Default | Passed as XML | Description |
id | / long | No | The ID of a contact | |
permission | / Permission | / 1 | No | The permission can be one of: (1) none, (2) single-opt-in, (3) confirmed-opt-in, (4) double-opt-in, (5) double-opt-in-plus or (6) other and needs to be identified by the code (the number in the brackets) |
/ String | Yes | The email address of the contact | ||
external_id | / String | Yes | If an external system needs to identify a contact, this ID can be used. This external ID is not guaranteed to be unique as it is managed by an external system. | |
anonymous | / boolean | Yes | If this flag is set to true, the contact will be handled anonymously in Maileon and will only be shown in reports in anonymized form | |
standard_fields | Map<StandardContactField, String> | Yes | A map of StandardContactFields and their (String) value | |
custom_fields | / Map<String, String> | Yes | A map of custom data field names and values | |
created | timestamp | Yes (possible but value will be omitted) | The timestamp of the creation date of the contact | |
updated | timestamp | Yes (possible but value will be omitted) | The timestamp of the last update of the contact |
XML Representation
This is an example of an XML representation of a contact:
<contact> <email>max.mustermann@xqueue.com</email> <permission>1</permission> <external_id>someExternalId</external_id> <anonymous>1</anonymous> <created>2014-10-13 09:44:30.0</created> <updated>2015-03-19 18:57:36.0</updated> <standard_fields> <field> <name>FIRSTNAME</name> <value>Max</value> </field> <field> <name>LASTNAME</name> <value>Mustermann</value> </field> </standard_fields> <custom_fields> <field> <name>Eye Color</name> <value>Blue</value> </field> </custom_fields> </contact>
Sample Java-Deserializer
This code example shows a deserializer for contacts (written in Java):
public Contact fromXml(Element e) { Contact contact = new Contact(); String idStr = e.elementText("id"); if (idStr != null) { contact.setId(Long.parseLong(idStr)); } String permissionStr = e.elementText("permission"); if (permissionStr != null) { contact.setPermission(Permission.get(Integer.parseInt(permissionStr))); } contact.setEmail(e.elementText("email")); contact.setExternalId(e.elementText("external_id")); String anonymous = e.attributeValue("anonymous"); if (anonymous != null) { contact.setAnonymous(Boolean.parseBoolean(anonymous)); } Element standardFields = e.element("standard_fields"); if (standardFields != null) { List<Field> l = parseFields(standardFields.elements("field")); for (Field f : l) { contact.getStandardFields().put(StandardContactField.parse(f.getName()), f.getValue()); } } Element customFields = e.element("custom_fields"); if (customFields != null) { List<Field> l = parseFields(customFields.elements("field")); for (Field f : l) { contact.getCustomFields().put(f.getName(), f.getValue()); } } return contact; }
De-/Serializing Multiple Contacts
Some methods like getContacts or synchronizeContacts require to pass several contacts at once. Serializing several contacts is done using a wrapping <contacts></contacts> tag.
<contacts> <contact> <email>max.mustermann@xqueue.com</email> [...] </contact> <contact> <email>erika.mustermann@xqueue.com</email> [...] </contact> </contacts>
Inhaltsverzeichnis