ApexERPHost

<back to all web services

WsGetFinancialAdvice

Requires Authentication
The following routes are available for this service:
POST/POS/WissolCards/GetFinancialAdvice
WsGetFinancialAdvice Parameters:
NameParameterData TypeRequiredDescription
DatabodyWsFinAdviceReqNo
WsFinAdviceReq Parameters:
NameParameterData TypeRequiredDescription
callerformWsCallerNo
productsformList<WsProduct>No
agentTransactionIdformstringNo
customerCardNumberformstringNo
languageCodeformstringNo
withdrawGiftsformboolNo
additionalDataformstringNo
otpCodeformstringNo
otpKeyformstringNo
WsCaller Parameters:
NameParameterData TypeRequiredDescription
branchformintNo
companyCodeformstringNo
companyTokenformstringNo
posCodeformstringNo
posDeviceCodeformstringNo
operatorIdformstringNo
WsProduct Parameters:
NameParameterData TypeRequiredDescription
productCodeformstringNo
productStatusformstringNo
quantityformfloatNo
priceformfloatNo
giftDiscountformfloatNo
discountformfloatNo
discountedPriceformfloatNo
WsGetFinancialAdviceResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformWsFinAdviceRespNo
ErrorInfoformList<WsErrorInfo>No
WsFinAdviceResp Parameters:
NameParameterData TypeRequiredDescription
sessionIdformlongNo
customerformWsCustomerNo
productBasketformWsProductbasketNo
otpValidationRequiredformboolNo
requestformWsFinAdviceReqNo
WsCustomer Parameters:
NameParameterData TypeRequiredDescription
cardNumberformstringNo
nameformstringNo
clientStatusformstringNo
clientPhoneformstringNo
clientEMailformstringNo
cardStatusformstringNo
cardCategoryformstringNo
cardNameformstringNo
loyaltyPointsformfloatNo
loyaltyPointsAmountformfloatNo
activationDateformDateTime?No
expirationDateformDateTime?No
isSelectedformboolNo
WsProductbasket Parameters:
NameParameterData TypeRequiredDescription
productsformList<WsProduct>No
initialTotalAmountformfloatNo
productDiscountAmountformfloatNo
basketDiscountAmountformfloatNo
giftDiscountAmountformfloatNo
totalDiscountAmountformfloatNo
totalAmountformfloatNo
WsErrorInfo Parameters:
NameParameterData TypeRequiredDescription
errorformstringNo
messageformstringNo
translatedMessageformstringNo
fieldformstringNo
otpKeyformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /POS/WissolCards/GetFinancialAdvice HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Data":{"caller":{"branch":0,"companyCode":"String","companyToken":"String","posCode":"String","posDeviceCode":"String","operatorId":"String"},"products":[{"productCode":"String","productStatus":"String","quantity":0,"price":0,"giftDiscount":0,"discount":0,"discountedPrice":0}],"agentTransactionId":"String","customerCardNumber":"String","languageCode":"String","withdrawGifts":false,"additionalData":"String","otpCode":"String","otpKey":"String"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":{"sessionId":0,"customer":{"cardNumber":"String","name":"String","clientStatus":"String","clientPhone":"String","clientEMail":"String","cardStatus":"String","cardCategory":"String","cardName":"String","loyaltyPoints":0,"loyaltyPointsAmount":0,"activationDate":"\/Date(-62135596800000-0000)\/","expirationDate":"\/Date(-62135596800000-0000)\/","isSelected":false},"productBasket":{"products":[{"productCode":"String","productStatus":"String","quantity":0,"price":0,"giftDiscount":0,"discount":0,"discountedPrice":0}],"initialTotalAmount":0,"productDiscountAmount":0,"basketDiscountAmount":0,"giftDiscountAmount":0,"totalDiscountAmount":0,"totalAmount":0},"otpValidationRequired":false,"request":{"caller":{"branch":0,"companyCode":"String","companyToken":"String","posCode":"String","posDeviceCode":"String","operatorId":"String"},"products":[{"productCode":"String","productStatus":"String","quantity":0,"price":0,"giftDiscount":0,"discount":0,"discountedPrice":0}],"agentTransactionId":"String","customerCardNumber":"String","languageCode":"String","withdrawGifts":false,"additionalData":"String","otpCode":"String","otpKey":"String"}},"ErrorInfo":[{"error":"String","message":"String","translatedMessage":"String","field":"String","otpKey":"String"}]}