ApexERPHost

<back to all web services

WsRefundPoints

Requires Authentication
The following routes are available for this service:
POST/POS/WissolCards/RefundChargePoints
WsRefundPoints Parameters:
NameParameterData TypeRequiredDescription
DatabodyWsChargePointsReqNo
WsChargePointsReq Parameters:
NameParameterData TypeRequiredDescription
callerformWsCallerNo
productCategoryformstringNo
totalAmountformfloatNo
currencyformstringNo
customerCardNumberformstringNo
agentTransactionIdformstringNo
agentTransactionTimeStampformstringNo
businessDayformintNo
businessDayDateformstringNo
additionalDataformstringNo
otpKeyformstringNo
otpCodeformstringNo
languageCodeformstringNo
cardPanformstringNo
approvalCodeformstringNo
WsCaller Parameters:
NameParameterData TypeRequiredDescription
branchformintNo
companyCodeformstringNo
companyTokenformstringNo
posCodeformstringNo
posDeviceCodeformstringNo
operatorIdformstringNo
WsRefundPointsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformWsChargePointsRespNo
ErrorInfoformList<WsErrorInfo>No
WsChargePointsResp Parameters:
NameParameterData TypeRequiredDescription
requestformWsChargePointsReqNo
customerformWsCustomerNo
totalAmountformfloatNo
availableAmountformfloatNo
availablePointsformfloatNo
authorizationformWsAuthorizationNo
WsCustomer Parameters:
NameParameterData TypeRequiredDescription
cardNumberformstringNo
nameformstringNo
clientStatusformstringNo
clientPhoneformstringNo
clientEMailformstringNo
cardStatusformstringNo
cardCategoryformstringNo
cardNameformstringNo
loyaltyPointsformfloatNo
loyaltyPointsAmountformfloatNo
activationDateformDateTime?No
expirationDateformDateTime?No
isSelectedformboolNo
WsAuthorization Parameters:
NameParameterData TypeRequiredDescription
acquirerIdformlongNo
approvalCodeformstringNo
cardCircuitformstringNo
cardPanformstringNo
ExpiryDateformstringNo
FiscalReceiptformstringNo
TimeStampformstringNo
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/RefundChargePoints 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
		},
		productCategory: String,
		totalAmount: 0,
		currency: String,
		customerCardNumber: String,
		agentTransactionId: String,
		agentTransactionTimeStamp: String,
		businessDay: 0,
		businessDayDate: String,
		additionalData: String,
		otpKey: String,
		otpCode: String,
		languageCode: String,
		cardPan: String,
		approvalCode: 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: 
	{
		request: 
		{
			caller: 
			{
				branch: 0,
				companyCode: String,
				companyToken: String,
				posCode: String,
				posDeviceCode: String,
				operatorId: String
			},
			productCategory: String,
			totalAmount: 0,
			currency: String,
			customerCardNumber: String,
			agentTransactionId: String,
			agentTransactionTimeStamp: String,
			businessDay: 0,
			businessDayDate: String,
			additionalData: String,
			otpKey: String,
			otpCode: String,
			languageCode: String,
			cardPan: String,
			approvalCode: String
		},
		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
		},
		totalAmount: 0,
		availableAmount: 0,
		availablePoints: 0,
		authorization: 
		{
			acquirerId: 0,
			approvalCode: String,
			cardCircuit: String,
			cardPan: String,
			ExpiryDate: String,
			FiscalReceipt: String,
			TimeStamp: String
		}
	},
	ErrorInfo: 
	[
		{
			error: String,
			message: String,
			translatedMessage: String,
			field: String,
			otpKey: String
		}
	]
}