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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
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: 
	[
		{
			CardID: String,
			CardNumber: 0,
			CardType: String,
			NbType: 0,
			OwnerSN: String,
			Date1: 0001-01-01,
			Date2: 0001-01-01,
			Points: 0,
			Disc: 0,
			CodeWord: String,
			NStatus: 0,
			IsDisabledN: String,
			Crtime: 0001-01-01,
			PName: String,
			PerNum: String,
			Address: String,
			OwnersID: 0,
			PersonID: 0,
			Updtime: 0001-01-01,
			isdisabled: False
		}
	]
}