GeminiHost

<back to all web services

CustomerCardListRequest

The following routes are available for this service:
All Verbs/CustomerCard/List
CustomerCardListRequest Parameters:
NameParameterData TypeRequiredDescription
TokenquerystringNo
UserIdqueryintNo
CustomerCardListReturn Parameters:
NameParameterData TypeRequiredDescription
ErrorformboolNo
ErrorMessageformstringNo
DataformGPEmailCustomerCard[]No
GPEmailCustomerCard Parameters:
NameParameterData TypeRequiredDescription
CardIdformintNo
CardNoformstringNo
ActiveformboolNo
ActivatedTimeformDateTimeNo
ExpirationDateformDateTimeNo
DiscountformintNo
CardTypeCodeformstringNo
DescriptionformstringNo
EmailformstringNo
PdfUrlformstringNo
FirstNameformstringNo
SurNameformstringNo

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.

POST /jsv/reply/CustomerCardListRequest HTTP/1.1 
Host: data.oriem.cz 
Content-Type: text/jsv
Content-Length: length

{
	Token: String,
	UserId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Error: False,
	ErrorMessage: String,
	Data: 
	[
		{
			CardId: 0,
			CardNo: String,
			Active: False,
			ActivatedTime: 0001-01-01,
			ExpirationDate: 0001-01-01,
			Discount: 0,
			CardTypeCode: String,
			Description: String,
			Email: String,
			PdfUrl: String,
			FirstName: String,
			SurName: String
		}
	]
}