| POST | /POS/WissolCards/GetFinancialAdvice |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Data | body | WsFinAdviceReq | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| caller | form | WsCaller | No | |
| products | form | List<WsProduct> | No | |
| agentTransactionId | form | string | No | |
| customerCardNumber | form | string | No | |
| languageCode | form | string | No | |
| withdrawGifts | form | bool | No | |
| additionalData | form | string | No | |
| otpCode | form | string | No | |
| otpKey | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| branch | form | int | No | |
| companyCode | form | string | No | |
| companyToken | form | string | No | |
| posCode | form | string | No | |
| posDeviceCode | form | string | No | |
| operatorId | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| productCode | form | string | No | |
| productStatus | form | string | No | |
| quantity | form | float | No | |
| price | form | float | No | |
| giftDiscount | form | float | No | |
| discount | form | float | No | |
| discountedPrice | form | float | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | WsFinAdviceResp | No | |
| ErrorInfo | form | List<WsErrorInfo> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| sessionId | form | long | No | |
| customer | form | WsCustomer | No | |
| productBasket | form | WsProductbasket | No | |
| otpValidationRequired | form | bool | No | |
| request | form | WsFinAdviceReq | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| cardNumber | form | string | No | |
| name | form | string | No | |
| clientStatus | form | string | No | |
| clientPhone | form | string | No | |
| clientEMail | form | string | No | |
| cardStatus | form | string | No | |
| cardCategory | form | string | No | |
| cardName | form | string | No | |
| loyaltyPoints | form | float | No | |
| loyaltyPointsAmount | form | float | No | |
| activationDate | form | DateTime? | No | |
| expirationDate | form | DateTime? | No | |
| isSelected | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| products | form | List<WsProduct> | No | |
| initialTotalAmount | form | float | No | |
| productDiscountAmount | form | float | No | |
| basketDiscountAmount | form | float | No | |
| giftDiscountAmount | form | float | No | |
| totalDiscountAmount | form | float | No | |
| totalAmount | form | float | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| error | form | string | No | |
| message | form | string | No | |
| translatedMessage | form | string | No | |
| field | form | string | No | |
| otpKey | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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: 10.10.0.107
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
}
]
}