CLIENTI / Client.Login
Comandi per la gestione dei clienti finali
Verifica le credenziali di un utente ed effettua il login sulla console
Esempio:
Command=Client.Login &ResponseFormat=JSON& Username=yourValue& Password=yourValue& RememberMe=yourValue
PARAMETRI RICHIESTA
Parametro | Tipo di dato | Richiesto | Definizione |
---|---|---|---|
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 | |
Username | string | Username of the client to be logged in | |
Password | string | Password of the client to be logged in | |
RememberMe | string | Stores the login information in the cookie |
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. |
SessionID | integer | SessionID of the logged in user |
CODICI DI ERRORE
Codice | Definizione |
---|---|
1 | Username is missing |
2 | Password is missing |
3 | Invalid login information |
99998 | Authentication failure or session expired |
99999 | Not enough privileges |