EMAIL / Email.EmailPreview
Creazione di email personalizzate
Invia un'email di anteprima ad una lista di indirizzi di posta elettronica
Esempio:
SessionID=yourSessionID &Command=Email.EmailPreview &ResponseFormat=JSON& EmailID=yourValue& EmailAddress=yourValue& ListID=yourValue& CampaignID=yourValue
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 | |
EmailID | integer | Email ID number | |
EmailAddress | string | Email addresses to send preview | |
ListID | integer | List ID number | |
CampaignID | integer | Campaign ID number |
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 | Missing email ID |
2 | Missing email address |
3 | Invalid email ID |
4 | Invalid email address format |
5 | Missing list ID |
6 | Invalid list ID |
7 | Invalid campaign ID |
99998 | Authentication failure or session expired |
99999 | Not enough privileges |