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
wsEditAnagraficaPV
This method allows the customer to update some information about point of sales, for example password or e-mail address.
@GET
@Path("/wsEditAnagraficaPV")
@QueryParam("CODE") String CODE,
@QueryParam("PUNTOVENDITA") String PUNTOVENDITA,
@QueryParam("PASSWORD") String PASSWORD,
@QueryParam("INCARICATO") String INCARICATO
@QueryParam("EMAIL") String EMAIL
@QueryParam("ALL_PV”) String ALL_PV
PARAMETERS | DESCRIPTION | VALUES |
CODE | control code, built as md5hash of a value that depends from db |
|
PUNTOVENDITA | Point of sale code |
|
PASSWORD | New password that will be saved in point of sale informations | Not mandatory |
INCARICATO | Contact person for the point of sale with code = PUNTOVENDITA | Not mandatory |
EMAIL | E-mail address on point of sale | Not mandatory |
ALL_PV | If ALL_PV = N, data only for point of sale with code = PUNTOVENDITA are updated; if ALL_PV = S, data for all point of sale with e-mail address = EMAIL and in the same operating office as point of sale with code = PUNTOVENDITA are update | S=yes; N=no |
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 |
-2 | PUNTOVENDITA is null |
-3 | A point of sale with code = PUNTOVENDITA doesn’t exist |
-56 | If PASSWORD 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