ApexERPHost

<back to all web services

WsGetCardInfo

Requires Authentication
The following routes are available for this service:
POST/POS/WissolCards/GetCardInfo
WsGetCardInfo Parameters:
NameParameterData TypeRequiredDescription
callerbodyWsCallerNo
languageCodebodystringNo
additionalDatabodystringNo
identificationNumberbodystringNo
WsCaller Parameters:
NameParameterData TypeRequiredDescription
branchformintNo
companyCodeformstringNo
companyTokenformstringNo
posCodeformstringNo
posDeviceCodeformstringNo
operatorIdformstringNo
WsGetCardInfoResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformWsGetCardInfoRespNo
ErrorInfoformList<WsErrorInfo>No
WsGetCardInfoResp Parameters:
NameParameterData TypeRequiredDescription
customerformWsCustomerNo
WsCustomer Parameters:
NameParameterData TypeRequiredDescription
cardNumberformstringNo
nameformstringNo
clientStatusformstringNo
clientPhoneformstringNo
clientEMailformstringNo
cardStatusformstringNo
cardCategoryformstringNo
cardNameformstringNo
loyaltyPointsformfloatNo
loyaltyPointsAmountformfloatNo
activationDateformDateTime?No
expirationDateformDateTime?No
isSelectedformboolNo
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/GetCardInfo HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
Content-Type: text/csv
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: 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":{"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"}]}