Last Update: 2019-10-02

Content Insert/Update

Request:

<contentinsert id="" customerid="">
  <catid></catid>
  <title></title>
  <opener></opener>
  <detail></detail>
  <pictureurl></pictureurl>
  <detailurl></detailurl>
  <detailname></detailname>
  <mediaitemid></mediaitemid>
  <topics></topics>
  <language></language>
  <custom1></custom1>
  ...
  <custom10></custom10>
</contentinsert>
Description of XML-Tags:
Element Format Description
contentinsert["id"] int Optional: ID of existing content to be updated
contentinsert["customerid"] int Optional: CustomerID of customer used for request. Only usable with admin customer privileges.
contentinsert->catid int Optional: ID of Content Category to put Content into
contentinsert->title text Title of content
contentinsert->opener text Opener of content. Shown in newsletter.
contentinsert->detail text Detail of content. Shown on landing page.
contentinsert->pictureurl url Optional: URL of image to be imported as content image
contentinsert->detailurl url Optional: URL of CTR-Link, when eyepin landing page is not used.
contentinsert->detailname text Optional: custom text for CTR-Link
contentinsert->mediaitemid int Optional: ID of existing media item used as content image
contentinsert->topics text Optional: Topic IDs, comma-separated, used when content should only be shown to certain topic subscribers.
contentinsert->language char(2) 2-letter-code (e.g. "en" or "de")
contentinsert->custom1 to
contentinsert->custom10
text There are 10 custom-fields in the content-database, the name and the type of the fields can only be set by eyepin, still you have to use custom1-custom10 when using them.

Response:

<?xml version="1.0"?>
<response>
  <code>2000</code>
  <description><![CDATA[OK]]></description>
  <data><![CDATA[123456]]></data>
</response>

The internal ID of the address record will be returned within response->data.

Description of XML-Tags:
Element Format Description
response->code int success or error code, as applicable
response->description text Text describing the success or error code

Content Delete

Request:

<?xml version="1.0" encoding="utf-8"?>
<contentdelete id="" />
Description of XML-Tags:
Element Format Description
contentdelete->id int ID of the content to be deleted.

Response:

There is no return value in response->data.

Für Rückfragen stehen wir Ihnen jederzeit gerne unter support@eyepin.com zur Verfügung.