GET api/Customer/GetCustomerDiscount?LastExecutedDate={LastExecutedDate}&CurrentDate={CurrentDate}&TerminalId={TerminalId}&SharedDB={SharedDB}&TableName={TableName}
Get Customer disoucnt settings
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
CustomerDiscountData| Name | Description | Type | Additional information |
|---|---|---|---|
| GiftCards | Collection of GiftCard |
None. |
|
| DiscountGroups | Collection of DiscountGroup |
None. |
|
| CustomerDiscountGroups | Collection of CustomerDiscountGroup |
None. |
Response Formats
application/json, text/json
Sample:
{
"GiftCards": [
{
"$id": "2",
"CardId": "94443a81-1641-4b18-81cd-0ce219bb8b55",
"CardNumber": "sample string 2",
"AddedAmount": 3.0,
"Balance": 4.0,
"CustomerId": "3b1e6c45-769a-4fa9-8bac-d68c138110a8",
"Title": "sample string 6",
"ValidFrom": "2026-11-04T13:38:36.4503698+01:00",
"ValidTo": "2026-11-04T13:38:36.4503698+01:00",
"Active": true,
"Updated": "2026-11-04T13:38:36.4503698+01:00",
"CardType": 0,
"UniqueCode": "sample string 11",
"Synced": true,
"Status": "Aktiva",
"UsedAmount": -1.0,
"CustomerDiscount": 13.0,
"CustomerName": "sample string 14",
"SeasonTicket": {
"$id": "3",
"Id": "3fec231c-6f4b-4a39-8087-716ee3e3feea",
"CustomerId": "0316df47-01d7-4693-8b88-53c802d01dde",
"ExpiryDate": "2026-11-04T13:38:36.4503698+01:00",
"Active": true,
"Synced": true,
"CustomerName": "sample string 6"
},
"OrderId": "b2a852fa-3403-41e4-a39e-32b81f3201e5",
"NewAmount": 16.0,
"VehicleId": 17,
"OutletName": "sample string 18"
},
{
"$ref": "2"
}
],
"DiscountGroups": [
{
"$id": "4",
"DiscountId": "77459a06-bf85-4f5c-b453-6101028c07cb",
"Title": "sample string 2",
"Discount": 3.0,
"Created": "2026-11-04T13:38:36.4503698+01:00",
"Updated": "2026-11-04T13:38:36.4503698+01:00",
"Description": "sample string 6"
},
{
"$ref": "4"
}
],
"CustomerDiscountGroups": [
{
"$id": "5",
"Id": "934e0b8c-086f-4278-bb6a-67dfac248a9b",
"DiscountId": "bb7f53dd-f341-43c3-8dc6-98a65698b86c",
"CustomerId": "7f566797-9a9b-4fe5-90c2-f6abf5c0b1c6",
"Deleted": true,
"Created": "2026-11-04T13:38:36.4503698+01:00",
"Updated": "2026-11-04T13:38:36.4503698+01:00"
},
{
"$ref": "5"
}
]
}