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
wsIsCampagnePremi
To be used to verify if there are prizes that the customer can ask for.
@GET
@Path("/wsIsCampagnePremi")
@QueryParam("CODE") String CODE,
@QueryParam("CODICECLIENTE") String CODICECLIENTE,
@QueryParam("COMPANY") String COMPANY
PARAMETERS | DESCRIPTION | VALUES |
CODE | control code, built as md5hash of a value that depends from db |
|
CODICECLIENTE | Operating office code |
|
COMPANY | Code of customer’s company. Null only if companies are not defined in Vega |
|
OUTPUT DATA | DESCRIPTION | VALUES |
ResultCode | Method result | 1 if no errors. Cf. error codes description for other values |
Error | Error description, if present |
|
ERROR CODE | DESCRIPTION |
Codes for bad CODE | Cf. Error codes for bad CODE parameter |
null | If login to web service which reads loyalty campaigns from Vega db is not possible |
-1 | It’s for ‘CAMPAGNEPREMI’ module is not active; CODICECLIENTE is null; there are not loyalty campaigns defined for operating office with code = CODICECLIENTE; a loyalty campaign exists, but there are not gifts the customer can ask for
|
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