You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 14
Next »
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
wsGetConfigurazione
To load configuration for Vegaweb as set in Vega
@GET
@Path("/wsGetConfigurazione")
@QueryParam("CODE") String CODE,
@QueryParam("COMPANY") String COMPANY,
@QueryParam("LANG") String LANG,
@QueryParam("TIPOAPPWEB") String TIPOAPPWEB
PARAMETERS | DESCRIPTION |
|
CODE | control code, built as md5hash of a value that depends from db |
|
COMPANY | Code of customer’s company. Null if companies are not defined in Vega or if customer’s company is unknown. In this last case default company for web service is used |
|
LANG | language to be used to retrieve descriptions from db (use ‘es’ for Spanish) |
|
TIPOAPPWEB | It identifies the application that uses the web service | W = vegaweb web site L = LiPETS app |
OUTPUT DATA | DESCRIPTION | VALUES |
ResultCode | Method result | 1 if no errors. Cf. error codes description for other values |
Configurazione | Recordset with cofiguration data for compamy passed as parameter (Cf. Configurazione recordset). |
|
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, |
Configurazione recordset
FIELD NAME | TYPE | DESCRIPTION | VALUE |
Flag | String | Configuration parameter name |
|
Valore | String | Configuration parameter value |
|