No Translation available yet
You have English selected as language but this page has not been translated yet. Translate the page or view the content in the default space language below.
Display default
wsForzaCambiaPassword
This is the method to be called to change password with a new personal one, when Vegaweb doesn't allow you to login.
@GET
@Path("/wsForzaCambiaPassword")
@QueryParam("CODE") String CODE,
@QueryParam("CODICECLIENTE") String CODICECLIENTE,
@QueryParam("EMAIL") String EMAIL,
@QueryParam("OLDPASSWORD") String OLDPASSWORD,
@QueryParam("NEWPASSWORD") String NEWPASSWORD
PARAMETERS | DESCRIPTION |
CODE | control code, built as md5hash of a value that depends from db |
CODICECLIENTE | Operating office code |
EMAIL | password as saved in UNOPV table of Vega |
OLDPASSWORD | password as saved in UNOPV table of Vega |
NEWPASSWORD | New password that will be saved in UNOPV table |
OUTPUT DATA | DESCRIPTION |
|
ResultCode | Method result | 1 if no errors. Cf. error codes description for other values |
ERROR CODE | DESCRIPTION |
Codes for bad CODE | Cf. Error codes for bad CODE parameter |
-2 | CODICECLIENTE and EMAIL are both null |
-4 | OLDPASSWORD or NEWPASSWORD are null |
-5 | If a point of sale with password = OLDPASSWORD doesn't exist for operating office which code equals CODICECLIENTE |
-56 | If NEWPASSWORD parameter has the same value as the old password for the point of sale. |
Error codes for bad CODE parameter
ERROR CODE | DESCRIPTION |
-1 | Null value for CODE parameter |
-95 | VEGAWEBSERVICES Vegamodule is not active |
-94 | Value to build CODE is null in the db |
-99 | CODE received as parameter and CODE built by vegaweb rest service are different, |
Add Comment