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
Access string {user | client} - Determines the user type of api command. Default is user.
ClientID integer ID number of the client account
ClientUsername string Username of the client account
ClientPassword string Password of the client account
ClientEmailAddress string Email address of the client account
ClientName string Name of the client account
ClientAccountStatus string {Enabled | Disabled} - Account status of the client

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.
ErrorText string Error description

CODICI DI ERRORE

Codice Definizione
1 Client name missing
2 Client username missing
3 Client password missing
4 Client email address missing
99998 Authentication failure or session expired
99999 Not enough privileges
5 Invalid client account status
6 Client ID is missing
7 Email address format is invalid
8 Insufficient privileges for updating the client account
9 Username already registered to another client