AddEmailTemplates

The AddEmailTemplates call allows you to configure one or more E-mail templates and/or create one or more texts for the templates in various languages.

This call is available since SOAP version 109.

AddEmailTemplates Input

Field Type Occurrence Meaning Available since
CallItemsLimit Integer Optional Call items limit for own server 112
Templates ObjectOptional 109
Templates.
PlentySoapObject_AddEmailTemplatesTemplate.
Attachment
Integer Optional Attachment 109
Templates.
PlentySoapObject_AddEmailTemplatesTemplate.
AttachmentDocument
Integer Optional Attachment 109
Templates.
PlentySoapObject_AddEmailTemplatesTemplate.
Contents
ObjectOptional Contents 109
Templates.
PlentySoapObject_AddEmailTemplatesTemplate.
Contents.
PlentySoapObject_AddEmailTemplatesTemplateContent.
ItemList
String Optional ItemList (plain text) 109
Templates.
PlentySoapObject_AddEmailTemplatesTemplate.
Contents.
PlentySoapObject_AddEmailTemplatesTemplateContent.
ItemListHTML
String Optional ItemList (with HTML) 109
Templates.
PlentySoapObject_AddEmailTemplatesTemplate.
Contents.
PlentySoapObject_AddEmailTemplatesTemplateContent.
Lang
String Required Language 109
Templates.
PlentySoapObject_AddEmailTemplatesTemplate.
Contents.
PlentySoapObject_AddEmailTemplatesTemplateContent.
MailBody
String Optional Body of the E-mail (plain text) 109
Templates.
PlentySoapObject_AddEmailTemplatesTemplate.
Contents.
PlentySoapObject_AddEmailTemplatesTemplateContent.
MailBodyHTML
String Optional Body of the E-mail (with HTML) 109
Templates.
PlentySoapObject_AddEmailTemplatesTemplate.
Contents.
PlentySoapObject_AddEmailTemplatesTemplateContent.
MailTitle
String Required Title of the E-mail 109
Templates.
PlentySoapObject_AddEmailTemplatesTemplate.
Contents.
PlentySoapObject_AddEmailTemplatesTemplateContent.
SendAsHTML
Boolean Optional Use the HTML versions 109
Templates.
PlentySoapObject_AddEmailTemplatesTemplate.
ID
Integer Optional E-mail template id 109
Templates.
PlentySoapObject_AddEmailTemplatesTemplate.
Name
String Required Name 109
Templates.
PlentySoapObject_AddEmailTemplatesTemplate.
ReplyTo
String Optional Reply to 109
Templates.
PlentySoapObject_AddEmailTemplatesTemplate.
ResponsibleID
Integer Optional ID of the responsible user 109
Templates.
PlentySoapObject_AddEmailTemplatesTemplate.
Type
Integer Optional Type of the template 109

AddEmailTemplates Input schema

The box below lists all fields that could be included in the call request (version 112). To learn more about an individual field or its type, click its name in the box.

AddEmailTemplates Output

Field Type Occurrence Meaning Available since
ResponseMessages ObjectOptional Returns a list of error messages for the current call. 112
ResponseMessages.
PlentySoapResponseMessage.
Code
Integer Optional Code 105
ResponseMessages.
PlentySoapResponseMessage.
ErrorMessages
ObjectOptional Sub Messages 110
ResponseMessages.
PlentySoapResponseMessage.
ErrorMessages.
PlentySoapResponseSubMessage.
Key
String Optional Key 109
ResponseMessages.
PlentySoapResponseMessage.
ErrorMessages.
PlentySoapResponseSubMessage.
Value
String Optional Value 109
ResponseMessages.
PlentySoapResponseMessage.
IdentificationKey
String Optional Message 110
ResponseMessages.
PlentySoapResponseMessage.
IdentificationValue
String Optional Message 110
ResponseMessages.
PlentySoapResponseMessage.
SuccessMessages
ObjectOptional Sub Messages 110
ResponseMessages.
PlentySoapResponseMessage.
SuccessMessages.
PlentySoapResponseSubMessage.
Key
String Optional Key 109
ResponseMessages.
PlentySoapResponseMessage.
SuccessMessages.
PlentySoapResponseSubMessage.
Value
String Optional Value 109
ResponseMessages.
PlentySoapResponseMessage.
Warnings
ObjectOptional Sub Messages 110
ResponseMessages.
PlentySoapResponseMessage.
Warnings.
PlentySoapResponseSubMessage.
Key
String Optional Key 109
ResponseMessages.
PlentySoapResponseMessage.
Warnings.
PlentySoapResponseSubMessage.
Value
String Optional Value 109
Success Boolean Optional Has the value true or false, depending on whether a request worked. 112

AddEmailTemplates Output schema

The box below lists all fields that could be included in the response call (version 112). To learn more about an individual field or its type, click its name in the box.

Identification Keys

(The dynamicValue stands for any parameter values that could be outputted.)

Key Value
Name dynamicValue

Identification Output schema

The box below lists all identification fields that could be outputted in the call response (version 112). The dynamicValue stands for any parameter values that could be outputted. To learn more about an individual field or its type, click its name in the box.

Success messages

(The dynamicValue stands for any parameter values that could be outputted.)

Code Key Value Message Explanation
100 TemplateID dynamicValue E-mail template id The E-mail template was successfully saved.
100 - - E-mail template id;Language The content of this E-mail template ID was saved in the specified language.

Success Messages Output schema

The box below lists all success messages fields that could be outputted in the call response (version 112). The dynamicValue stands for any parameter values that could be outputted. To learn more about an individual field or its type, click its name in the box.

<SuccessMessages>
<item>
<Value>dynamicValue</Value>
<Key>TemplateID</Key>
</item>
</Success>

Error messages

Code Key Value Message Explanation
800 Name Missing parameter The required parameter Name is missing.
800 Lang Missing parameter The required parameter Lang is missing.
800 Missing parameter, MailTitle The required parameter MailTitle is missing.

Error messages Output schema

The box below lists all error message fields that could be outputted in the call response (version 112). To learn more about an individual field or its type, click its name in the box.

<ErrorMessages>
<item>
<Value>Missing parameter</Value>
</item>
<item>
<Value>Missing parameter</Value>
</item>
</ErrorMessages>

Warnings

For this call no warnings exist.

Warnings Output schema

For this call no warnings output schema exists.

Nach oben