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
wsGeneraNuovaPassword
This method allows the customer to ask Vegaweb rest service for a new password. This new password is sent by mail and it must be changed by the customer with a personal one, at the first login. Call method wsForzaCambiaPassword to set a new password.
@GET
@Path("/wsGeneraNuovaPassword")
@QueryParam("CODE") String CODE,
@QueryParam("LANG") String LANG,
@QueryParam("EMAILUTENTE") String EMAILUTENTE,
@QueryParam("FILTROCOMPANY") String FILTROCOMPANY,
@QueryParam("TIPOAPPWEB") String TIPOAPPWEB
PARAMETERS | DESCRIPTION |
|
CODE | control code, built as md5hash of a value that depends from db |
|
LANG | language to be used to retrieve descriptions from db | it = Italian en = English de = German es = Spanish fr = French ru = Russian de-ch = Swiss German |
EMAILUTENTE | E-mail address on point of sale |
|
FILTROCOMPANY | in multicompany Vega db, list of company codes (as defined in Vega db) for companies whose points of sale can login and place order on Vegaweb. Null if points of sale from all companies can place order or if companies are not defined in Vega |
|
TIPOAPPWEB | It identifies the application that uses the web service | W = vegaweb web site L = LiPETS app T = vegaweb web site for Smartbuy |
OUTPUT DATA | DESCRIPTION |
|
Result | 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 |
-3 | EMAILUTENTE is null |
-4 | A point of sale with email address = EMAILUTENTE doesn’t exist |
-5 | Many point of sales of different registered offices share the same EMAILUTENTE e-mail address, that is not possible in Vegaweb |
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