- Created by Ludovica Vanoncini, last modified on 16 Feb, 2021
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 defaultwsGetStoricoOrdiniPerReferente
Gets a list with the orders the contact person has already placed (orders moved to Vega and confirmed on Vegaweb but still not moved to Vega).
Useful only if wsConfermaOrdineGiaCliente writes IDREFERENTE parameter.
@GET
@Path("/ordine/wsGetStoricoOrdiniPerReferente")
@QueryParam("CODE") String CODE,
@QueryParam("IDREFERENTE") String IDREFERENTE,
@QueryParam("COMPANY") String COMPANY,
@QueryParam("TIPOAPPWEB") BigDecimal TIPOAPPWEB,
@QueryParam("LANG") String LANG,
@QueryParam("MESI") BigDecimal MESI,
@QueryParam("CODICECLIENTE") String CODICECLIENTE,
@QueryParam("PUNTOVENDITA") String PUNTOVENDITA,
@QueryParam("IDORDINE") BigDecimal IDORDINE
PARAMETERS | DESCRIPTION | VALUES |
CODE | control code, built as md5hash of a value that depends from db | |
IDREFERENTE | Identifier of contact person whose order the method has to retrieve | |
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 | |
TIPOAPPWEB | It identifies the application that uses the web service | W = vegaweb web site |
LANG | Language to be used to retrieve descriptions from db | it = Italian |
MESI | Number of months for which old orders are to be extracted | It should be a number between 0 and 24. If null, 0 or a number greater then 24 are passed, the method extracts order for the last 24 months |
PUNTOVENDITA | Point of sale code | If null, the method retrieves orders of contact person with IDREFERENTE code for all point of sales |
CODICECLIENTE | Operating office code | |
IDORDINE | Numeric identifier for the order |
OUTPUT DATA | DESCRIPTION | VALUES |
ResultCode | Method result | 1 if no errors. Cf. error codes description for other values |
StoricoChiamate | List of customer’s placed order (cf. Chiamata recordset) | |
Error | Error description, if present |
ERROR CODE | DESCRIPTION |
Codes for bad CODE | |
-2 | IDREFERENTE is null |
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,
Chiamata recordset One row for each order placed. FIELD NAME TYPE DESCRIPTION VALUE speTracking String Shipping tracking chiaNote String Notes for Vega on the order modDesc String Machine model description chiaChi String Contact person for this order dataEvasione Date Actual delivery date chiaIva String total tax amount chiaKds String Point of sale working type Always k=selling point of sale chiaPv String Point of sale code pvDesc String Description of point of sale reclamo String Complaint description Not null only if chiaTip = L chiaTesto String Notes for Vega on the order chiaImp String total amount without tax amount chiaDat Date order placement date guasto String Breakdown description Not null only if chiaTip = G chiaCod BigDecimal numeric order identifier chiaTot String amount customer has to pay for the order statoChiamata String Order state as defined in Vegaweb OI = order received RI = request received SI = alert received OA = order assigned RA = request assigned SA = alert assigned OL = order in transit RL = request in progress SL = alert in progress OE = order shipped RE = request sent SE = alert clodìsed chiaFat String document type B=Delivery note F=Invoice T=Receipt V=Invoice to follow P=Paid invoice to follow S=Invoice to follow (pending payment due) chiaTip String Action code for calls and orders as defined in Vega R = refill for both selling and vending points of sale chiaMod String Model code of the machine the order is for idFattura BigDecimal Numeric identifier for the invoice exist only if the order has been processed in Vega statoChiamataDescr String Order state description (OI) Ordine pervenuto = order received (RI) Richiesta pervenuta = request received (SI) Segnalazione pervenuta = alert received (OA) Ordine preso in carico = order assigned (RA) Richiesta presa in carico = request assigned (SA) Segnalazione presa in carico = alert assigned (OL) Ordine in consegna = order in transit (RL) Richiesta in lavorazione = request in progress (SL) Segnalazione in lavorazione = alert in progress (OE) Ordine consegnato = order shipped (RE) Richiesta evasa = request sent (SE) Segnalazione evasa = alert clodìsed dataConsegna
G = breakdown
L = complaint
V = commercial
A = otherDate Expected delivery date
- No labels
Add Comment