Child pages
  • Metodi - wsGetConfigurazione

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Multiexcerpt include
SpaceWithExcerptVKB
MultiExcerptNameVegawebLanguages
PageWithExcerptVegaweb languages

TIPOAPPWEBIt identifies the application that uses the web serviceW = vegaweb web site
L = LiPETS app

Multiexcerpt include
SpaceWithExcerptVKB
MultiExcerptNameVegawebApplicationType
PageWithExcerptApplications that use vegaweb rest service


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 CODE

DESCRIPTION

Codes for bad CODE

Cf. Error codes for bad CODE parameter






Multiexcerpt include
SpaceWithExcerptVKB
MultiExcerptNameErrorCodesForBadCodeParameter
PageWithExcerptOutput - Error codes for bad CODE parameter

Anchor
BadCodeParameter
BadCodeParameter


Multiexcerpt include
SpaceWithExcerptVKB
MultiExcerptNameConfigurazioneRecordset
PageWithExcerptOutput - Configurazione recordset

Anchor
#ConfigurazioneRecordset
#ConfigurazioneRecordset