GET api/Customer/GetGiftCards?LastExecutedDate={LastExecutedDate}&CurrentDate={CurrentDate}&TerminalId={TerminalId}&SharedDB={SharedDB}&TableName={TableName}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
LastExecutedDate | date |
None. |
|
CurrentDate | date |
None. |
|
TerminalId | globally unique identifier |
None. |
|
SharedDB | boolean |
None. |
|
TableName | TableName |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of GiftCardName | Description | Type | Additional information |
---|---|---|---|
CardId | globally unique identifier |
None. |
|
CardNumber | string |
Required Max length: 100 |
|
AddedAmount | decimal number |
None. |
|
Balance | decimal number |
None. |
|
CustomerId | globally unique identifier |
None. |
|
Title | string |
None. |
|
ValidFrom | date |
None. |
|
ValidTo | date |
None. |
|
Active | boolean |
None. |
|
Updated | date |
None. |
|
CardType | CardType |
None. |
|
UniqueCode | string |
Max length: 100 |
|
Synced | boolean |
None. |
|
Status | string |
None. |
|
UsedAmount | decimal number |
None. |
|
CustomerDiscount | decimal number |
None. |
|
CustomerName | string |
None. |
|
SeasonTicket | SeasonTicket |
None. |
|
OrderId | globally unique identifier |
None. |
|
NewAmount | decimal number |
None. |
|
VehicleId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "CardId": "cd10efbe-a79c-44a4-b205-866d6046541c", "CardNumber": "sample string 2", "AddedAmount": 3.0, "Balance": 4.0, "CustomerId": "cc545add-0280-4c80-8cc1-fadf12894a21", "Title": "sample string 6", "ValidFrom": "2025-04-04T05:35:22.7097922+02:00", "ValidTo": "2025-04-04T05:35:22.7097922+02:00", "Active": true, "Updated": "2025-04-04T05:35:22.7097922+02:00", "CardType": 0, "UniqueCode": "sample string 11", "Synced": true, "Status": "Aktiva", "UsedAmount": -1.0, "CustomerDiscount": 13.0, "CustomerName": "sample string 14", "SeasonTicket": { "$id": "2", "Id": "931e98e6-5be6-4276-9998-03577fa9cba5", "CustomerId": "b3476c8c-3ba5-4a61-91a9-13551b38d8be", "ExpiryDate": "2025-04-04T05:35:22.7097922+02:00", "Active": true, "Synced": true, "CustomerName": "sample string 6" }, "OrderId": "afe436d9-ba61-47aa-9cc9-396e35ae213d", "NewAmount": 16.0, "VehicleId": 17 }, { "$ref": "1" } ]