- 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 defaultwsGetStoricoOrdini
Gets a list with the orders the customer has already placed (orders moved to Vega and confirmed on Vegaweb but still not moved to Vega)
@GET
@Path("/wsGetStoricoOrdini")
@QueryParam("CODE") String CODE,
@QueryParam("CODICECLIENTE") String CODICECLIENTE,
@QueryParam("LANG") String LANG,
@QueryParam("MESI") BigDecimal MESI,
@QueryParam("PUNTOVENDITA") String PUNTOVENDITA,
@QueryParam("TIPOAPPWEB") String TIPOAPPWEB
PARAMETERS | DESCRIPTION | VALUES |
CODE | control code, built as md5hash of a value that depends from db | |
CODICECLIENTE | Operating office code | |
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 for all point of sales of operating office with CODICECLIENTE code |
TIPOAPPWEB | It identifies the application that uses the web service | W = vegaweb web site |
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 | CODICECLIENTE 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