POST | /POS/WissolCards/GetCardInfo |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
caller | body | WsCaller | No | |
languageCode | body | string | No | |
additionalData | body | string | No | |
identificationNumber | body | 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 |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | WsGetCardInfoResp | No | |
ErrorInfo | form | List<WsErrorInfo> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
customer | form | WsCustomer | 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 |
---|---|---|---|---|
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 .x-protobuf suffix or ?format=x-protobuf
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /POS/WissolCards/GetCardInfo HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/x-protobuf
Content-Type: application/x-protobuf
Content-Length: length
{"caller":{"branch":0,"companyCode":"String","companyToken":"String","posCode":"String","posDeviceCode":"String","operatorId":"String"},"languageCode":"String","additionalData":"String","identificationNumber":"String"}
HTTP/1.1 200 OK Content-Type: application/x-protobuf Content-Length: length {"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":{"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}},"ErrorInfo":[{"error":"String","message":"String","translatedMessage":"String","field":"String","otpKey":"String"}]}