- Created by Ludovica Vanoncini, last modified on 19 Jan, 2022
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 defaultwsConfermaOrdineGiaCliente
Last call to complete an order. It sets on the order the right state so that it can be transferred to Vega.
@GET
@Path("/wsConfermaOrdineGiaCliente")
@QueryParam("CODE") String CODE,
@QueryParam("IDORDINE") BigDecimal IDORDINE,
@QueryParam("NOTAORDINESINTETICA") BigDecimal NOTAORDINESINTETICA,
@QueryParam("NOTEORDINE") BigDecimal NOTEORDINE,
@QueryParam("EMAILPV") String EMAILPV,
@QueryParam("TIPOPAGAMENTOWEB") String TIPOPAGAMENTOWEB,
@QueryParam("IDTRANSAZIONEPOS") String IDTRANSAZIONEPOS,
@QueryParam("DATACONSEGNA") String DATACONSEGNA,
@QueryParam("LUOGOSPEDIZIONEALT") String LUOGOSPEDIZIONEALT,
@QueryParam("VOSTROORDINE") String VOSTROORDINE,
@QueryParam("CENTRODICOSTO") String CENTRODICOSTO,
@QueryParam("SEDELEGALEFATTALTERNATIVA") String SEDELEGALEFATTALTERNATIVA,
@QueryParam("PUNTOVENDITA") String PUNTOVENDITA,
@QueryParam("REFERENTE") String REFERENTE,
@QueryParam("TELEFONOREFERENTE") String TELEFONOREFERENTE,
@QueryParam("IDREFERENTE") String IDREFERENTE
PARAMETERS | DESCRIPTION | VALUES |
CODE | control code, built as md5hash of a value that depends from db | |
IDORDINE | Numeric identifier for the order to be confirmed | |
NOTAORDINESINTETICA | Short notes for Vega on the order | |
NOTEORDINE | Notes for Vega on the order | |
EMAILPV | E-mail address set on point of sale | |
TIPOPAGAMENTOWEB | Payment type the customer chose | C=cash on delivery; |
IDTRANSAZIONEPOS | Identifier for electronical payment transaction | |
DATACONSEGNA | Delivery date | |
LUOGOSPEDIZIONEALT | Delivery address code, if it differs from operating office address; else null | Not used from v. 11.33.46.70 |
VOSTROORDINE | Permanent order number for orders placed by the customer | |
CENTRODICOSTO | Reference to operating office cost centre | |
SEDELEGALEFATTALTERNATIVA | Registered office code for alternative invoicing. Not more used, because already populated from wsCalcolaScontoPerPagamento | |
PUNTOVENDITA | Point of sale code | |
REFERENTE | Contact person for this order | |
TELEFONOREFERENTE | Phone number of contact person for this order | |
IDREFERENTE | Identifier of contact person for this order |
OUTPUT DATA | DESCRIPTION | VALUES |
ResultCode | Method result | Numeric identifier for the placed order, if no errors. Cf. error codes description for other values |
Error | Error description, if present |
ERROR CODE | DESCRIPTION |
Codes for bad CODE | |
-2 | IDORDINE is null |
-3 | EMAILPV is null |
-4 | Order with IDORDINE code doesn't exist in Vegaweb db |
-5 | Point of sale with PUNTOVENDITA code doesn't exist in Vegaweb db |
-6 | Operating office data for operating office code set on point of sale don't exist in Vegaweb db |
-7 | Registered office data for registered office code set on point of sale don't exist in Vegaweb db |
-8 | Missing configuration for operating office company or default configuration, if company parameter is null |
-9 | Payment type not allowed (i.e. payment type not in: C=cash on delivery; N=usual payment type for customer as set in Vega; P=paypal; E=credit card)) |
-10 | Payment type=P(paypal) or payment type=E(credit card) but IDTRANSAZIONEPOS parameter is null |
-21 | There are no products in the cart |
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,
- No labels
Add Comment