GET api/userprofile/purchasehistory
Get Purchase history
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
User's purchase history
Name | Description | Type | Additional information |
---|---|---|---|
CashbackItems |
Cashback History Items |
Collection of CashbackItem |
None. |
EVoucherItems |
EVoucher History Items |
Collection of EVoucherItem |
None. |
RewardedItems |
Rewarded Shopping Card History Items |
Collection of RewardedItem |
None. |
ShoppingCardItems |
Shopping Card History Item |
Collection of ShoppingCardItem |
None. |
TicketItems |
PlayTime Ticket History Item |
Collection of TicketItem |
None. |
Currency |
Currency |
Currency |
None. |
Response Formats
application/json, text/json
Sample:
{ "cashbackItems": [ { "deal": "sample string 1", "cashbackAmount": 1.1, "orderValue": 1.1, "orderNumber": "sample string 2", "orderDate": "2024-11-21T08:24:48.1389479+01:00", "statusInfo": "sample string 3", "status": 0, "statusDate": "2024-11-21T08:24:48.1389479+01:00" }, { "deal": "sample string 1", "cashbackAmount": 1.1, "orderValue": 1.1, "orderNumber": "sample string 2", "orderDate": "2024-11-21T08:24:48.1389479+01:00", "statusInfo": "sample string 3", "status": 0, "statusDate": "2024-11-21T08:24:48.1389479+01:00" } ], "eVoucherItems": [ { "capturedDate": "2024-11-21T08:24:48.1389479+01:00", "supplier": "sample string 1", "code": "sample string 2", "code2": "sample string 3", "code3": "sample string 4", "amount": 5.0, "savings": 6.0, "eVoucherCodeId": 7 }, { "capturedDate": "2024-11-21T08:24:48.1389479+01:00", "supplier": "sample string 1", "code": "sample string 2", "code2": "sample string 3", "code3": "sample string 4", "amount": 5.0, "savings": 6.0, "eVoucherCodeId": 7 } ], "rewardedItems": [ { "supplier": "sample string 1", "totalPrice": 2.0, "createdDate": "2024-11-21T08:24:48.13996+01:00" }, { "supplier": "sample string 1", "totalPrice": 2.0, "createdDate": "2024-11-21T08:24:48.13996+01:00" } ], "shoppingCardItems": [ { "refilling": true, "supplier": "sample string 2", "numberOfCards": 3, "totalPrice": 4.0, "totalSaving": 5.0, "giftcardId": 6 }, { "refilling": true, "supplier": "sample string 2", "numberOfCards": 3, "totalPrice": 4.0, "totalSaving": 5.0, "giftcardId": 6 } ], "ticketItems": [ { "purchaseDate": "2024-11-21T08:24:48.13996+01:00", "supplierName": "sample string 2", "priceGroupName": "sample string 3", "ticketDescription": "sample string 4", "ticketStartDate": "2024-11-21T08:24:48.13996+01:00", "amount": 6, "price": 7.0, "totalPrice": 8.0 }, { "purchaseDate": "2024-11-21T08:24:48.13996+01:00", "supplierName": "sample string 2", "priceGroupName": "sample string 3", "ticketDescription": "sample string 4", "ticketStartDate": "2024-11-21T08:24:48.13996+01:00", "amount": 6, "price": 7.0, "totalPrice": 8.0 } ], "currency": { "currencySymbol": "sample string 1", "isPrefix": true } }