PARAMETRI RICHIESTA

Parametro Tipo di dato Richiesto Definizione
SessionID string Session ID which is needed to authenticate the access. It's optional and required for desktop applications only
Command string The API Command sended to the console
ResponseFormat JSON | XML Response format
JSONPCallBack bool Send this parameter for cross-domain. More info about JSONP can be found here: http: //en.wikipedia.org/wiki/JSON#JSONP
ValidateScope string {OptIn | Campaign | AutoResponder} - Defines the validation scope of the email (required fields, links, etc.)
EmailID integer Id of the email to be updated
EmailName string The internal name of the email
FromName string From name field content
FromEmail string From email address value
ReplyToName string Reply to name of the email
ReplyToEmail string Reply to email address of the email
Mode string {Empty | Template | Import} - Email's content mode
FetchURL string Email's remote content url
Subject string The email subject
PlainContent string Email's plain content
HTMLContent string The email's HTML content
ImageEmbedding string {Enabled | Disabled} - Email's image embedding
RelTemplateID integer Email's template id

PARAMETRI DI RISPOSTA

Parametro Tipo di dato Definizione
Success bool States if an error has been generated during last command execution or not
ErrorCode integer The ErrorCode number, if an error has occurred. ErrorCode = 0 means no error has occurred.

CODICI DI ERRORE

Codice Definizione
1 Email id is missing
2 FetchURL is missing
3 Email id is invalid
4 Mode is invalid
5 RelTemplateID is missing
6 FromEmail email address is invalid
7 ReplyToEmail email address is invalid
8 Plain and HTML content is empty
9 Missing validation scope parameter
10 Invalid validation scope parameter
11 Missing unsubscription link in HTML content
12 Missing unsubscription link in plain content
13 Missing unsubscription link in plain content
14 Missing opt-in confirmation link in plain content
15 Missing opt-in reject link in HTML content
16 Missing opt-in reject link in plain content
99998 Authentication failure or session expired
99999 Not enough privileges