Last Update: 2024-03-21
<contentinsert id="" customerid="" externalid=""> <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>
Element | Format | Description |
---|---|---|
contentinsert |
||
↳ @id |
int | Optional: ID of existing content to be updated |
↳ @externalid |
int | Optional: External ID of existing content to be updated |
Priority: @id overrules @externalid | ||
↳ @customerid |
int | Optional: CustomerID of customer used for request. Only usable with admin customer privileges. |
↳ catid |
int | Optional: ID of Content Category to put Content into |
↳ title |
text | Title of content |
↳ opener |
text | Opener of content. Shown in newsletter. |
↳ detail |
text | Detail of content. Shown on landing page. |
↳ pictureurl |
url | Optional: URL of image to be imported as content image |
↳ detailurl |
url | Optional: URL of CTR-Link, when eyepin landing page is not used. |
↳ detailname |
text | Optional: custom text for CTR-Link |
↳ mediaitemid |
int | Optional: ID of existing media item used as content image |
↳ topics |
text | Optional: Topic IDs, comma-separated, used when content should only be shown to certain topic subscribers. |
↳ language |
char(2) | 2-letter-code (e.g. "en" or "de") |
↳ custom1-10 |
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. |
<![CDATA[text]]>
to send html-code or special characters in a field.<?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
.
Element | Format | Description |
---|---|---|
response->code |
int | success or error code, as applicable |
response->description |
text | Text describing the success or error code |