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
SubscriberID integer Target subscriber ID
SubscriberListID integer Subscription List ID you want to unsubscribe
EmailAddress string User Email address: if you need to update email address this is the field!
Fields array Custom field IDs with prefix of 'CustomField'. Ex: Fields[CustomField28]
Access string {subscriber} or {admin} is the autentication type (user or admin)
Mobile string The mobile number of subscriber

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.
ErrorCustomFieldID integer If there's an error with one of the provided custom fields, custom field ID number will be provided
ErrorCustomFieldTitle string If there's an error with one of the provided custom fields, custom field title will be provided
ErrorCustomFieldDescrizione string If there's an error with one of the provided custom fields error description is returned.

CODICI DI ERRORE

Codice Definizione
1 Missing subscriber ID
2 Missing subscriber list ID
3 Missing email address
4 Invalid email address
5 Invalid subscriber list ID
6 Invalid subscriber ID
7 Subscriber already exists
8 One of the provided custom fields is empty. Custom field ID and title is provided as an additional output parameter
9 One of the provided custom field value already exists in the database. Please enter a different value. Custom field ID and title is provided as an additional output parameter
10 One of the provided custom field value failed in validation checking. Custom field ID and title is provided as an additional output parameter
99998 Authentication failure or session expired
99999 Not enough privileges
11 Mobile number is not valid.