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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
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/jsv
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: 0001-01-01,
			expirationDate: 0001-01-01,
			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
		}
	]
}