ApexERPHost

<back to all web services

GetLoyaltyCardDetails

Requires Authentication
The following routes are available for this service:
GET/LoyaltyCards/CardInfoList
GetLoyaltyCardDetails Parameters:
NameParameterData TypeRequiredDescription
IsLinkedqueryint?No
CardIDquerystringNo
GetLoyaltyCardDetailsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<LoyaltyCardDetail>No
LoyaltyCardDetail Parameters:
NameParameterData TypeRequiredDescription
CardIDformstringNo
CardNumberformdecimal?No
CardTypeformstringNo
NbTypeformbyteNo
OwnerSNformstringNo
Date1formDateTime?No
Date2formDateTime?No
Pointsformdecimal?No
Discformdecimal?No
CodeWordformstringNo
NStatusformbyteNo
IsDisabledNformstringNo
CrtimeformDateTime?No
PNameformstringNo
PerNumformstringNo
AddressformstringNo
OwnersIDformintNo
PersonIDformint?No
UpdtimeformDateTime?No
isdisabledformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /LoyaltyCards/CardInfoList HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"CardID":"String","CardNumber":0,"CardType":"String","NbType":0,"OwnerSN":"String","Date1":"\/Date(-62135596800000-0000)\/","Date2":"\/Date(-62135596800000-0000)\/","Points":0,"Disc":0,"CodeWord":"String","NStatus":0,"IsDisabledN":"String","Crtime":"\/Date(-62135596800000-0000)\/","PName":"String","PerNum":"String","Address":"String","OwnersID":0,"PersonID":0,"Updtime":"\/Date(-62135596800000-0000)\/","isdisabled":false}]}