ApexERPHost

<back to all web services

GetLoyaltyCardDetailsByIDNumber

Requires Authentication
The following routes are available for this service:
GET/LoyaltyCards/CardInfoListByIDNumber
GET/LoyaltyCards/CardInfoListByIDNumber/{IDNumber}
GetLoyaltyCardDetailsByIDNumber Parameters:
NameParameterData TypeRequiredDescription
IDNumberpathstringNo
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 .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.

GET /LoyaltyCards/CardInfoListByIDNumber HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
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":[{"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}]}