GeminiHost

<back to all web services

CustomerCardHistoryRequest

The following routes are available for this service:
All Verbs/CustomerCard/History
CustomerCardHistoryRequest 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 .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.

POST /json/reply/CustomerCardHistoryRequest HTTP/1.1 
Host: data.oriem.cz 
Content-Type: application/json
Content-Length: length

{"Token":"String","UserId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Error":false,"ErrorMessage":"String","Data":[{"CardId":0,"CardNo":"String","Active":false,"ActivatedTime":"\/Date(-62135596800000-0000)\/","ExpirationDate":"\/Date(-62135596800000-0000)\/","Discount":0,"CardTypeCode":"String","Description":"String","Email":"String","PdfUrl":"String","FirstName":"String","SurName":"String"}]}