...
Xmlsubscribe.aspx (User subscription)
Questa funzione è analoga alla precedente, le principali differenze consistono nel formato con cui si specificano i parametri e nal fatto che la xmlSubscribe restituisce un codice di ritorno con informazioni sull'esito dell'operazione.
Per creare un form che iscrive a più liste contemporaneamente, inviando una sola email di richiesta conferma, utilizzare l'API subscribe.aspx descritta nel precedente paragrafo.
This function is similar to the previous one, the main differences lie in the format with which the parameters are defined, and in the fact that "xmlSubscribe" returns an output code with information about the outcome of the operation.
If you wish to create a form that subscribes the user to more than one list at the same time, and sends only one confirmation email, use "subscribe.aspx" API described above.
URL: http://newsletter.nomedominiodomainname.tld/frontend/xmlSubscribe.aspx (sostituire la parte in rosso con il dominio di terzo livello corretto)
(OBBL. = Obbligatorio)
PARAMETRI IN INGRESSOreplace the part marked in red with the actual third level domain)
INPUT PARAMETERS:
NOMEName | OBBLIGATORIO.Mandatory? | DESCRIZIONEDescription | |
NO N (1) | Indirizzo e-mail dell'utenteUser email address | ||
Sms | NO N (1) | Numero di cellulare dell'utente, comprensivo di prefisso internazionale User mobile number, with international prefix (2) | |
List | SI | Lista di distribuzioneY | List ID |
Group | NO | I gruppi nei quali iscrivere l'utenteN | Groups to which to subscribe the user |
Confirm | NO | parametro per abilitare o meno l'email di richiesta confermaValori accettatiN | Parameter to enable or disable confirmation request email. Accepted values: 0/1 e di default. Default value: 1 |
csvFldNames | NO | codici dei campi anagrafici (separati da N | Personal data codes (separated by ";" character) |
csvFldValues | NO | valori corrispondenti ai codici dei campi anagrafici (separati da N | Values related to personal data codes (separated by ";" character) |
retCode | NO | Parametro per abilitare o meno la restituizione del codice di ritorno della chiamataValori accettatiN | Parameter to enable or disable the return of an output code for the call. Accepted values: 0/1 – Valore di default Default value: 0 |
Dynsndmail(3) | NON | "dynamic sender e-mail address" Indirizzo e-mail del mittente nell'e-mail di richiesta conferma (se non specificato viene usato il valore di default specificato per la listaSender address in the confirmation request email (If blank, default value for the list will be used) | |
dynsndname(3) | NON | "dynamic sender name" Nome del mittente nell'e-mail di richiesta conferma (se non specificato viene usato il valore di default specificato per la lista Sender name in the confirmation request email (If blank, default value for the list will be used) |
(1) either email or sms parameter must be specified
(2) if blank, international code for Italy will be used (0039)
(3) for further details on how to use these fields, please see the section about the "subscribe.aspx" function
...