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": "c165a503-2bbd-48a1-af66-d5846bba3215",
"CardNumber": "sample string 2",
"AddedAmount": 3.0,
"Balance": 4.0,
"CustomerId": "9508ef02-8c2e-4e30-923f-346d93920a2c",
"Title": "sample string 6",
"ValidFrom": "2026-03-21T23:47:46.8525391+01:00",
"ValidTo": "2026-03-21T23:47:46.8525391+01:00",
"Active": true,
"Updated": "2026-03-21T23:47:46.8525391+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": "37171c24-076e-40ae-ac2a-14d5d00a8a6a",
"CustomerId": "4a281ecb-273e-460c-8521-eee0ed6e6d7a",
"ExpiryDate": "2026-03-21T23:47:46.8525391+01:00",
"Active": true,
"Synced": true,
"CustomerName": "sample string 6"
},
"OrderId": "5342fdf1-097d-4e80-b4a6-14ce324c2ffc",
"NewAmount": 16.0,
"VehicleId": 17
},
{
"$ref": "2"
}
],
"DiscountGroups": [
{
"$id": "4",
"DiscountId": "bf109f55-05e4-4176-8237-1c105cdd9c81",
"Title": "sample string 2",
"Discount": 3.0,
"Created": "2026-03-21T23:47:46.8525391+01:00",
"Updated": "2026-03-21T23:47:46.8525391+01:00",
"Description": "sample string 6"
},
{
"$ref": "4"
}
],
"CustomerDiscountGroups": [
{
"$id": "5",
"Id": "e36ce0f4-ee2a-4a22-8308-fba91ed7e165",
"DiscountId": "1eee6fb2-3e6e-47fd-9baa-d5a46e3456bd",
"CustomerId": "04609eaa-ef41-464f-9729-53508e163936",
"Deleted": true,
"Created": "2026-03-21T23:47:46.8525391+01:00",
"Updated": "2026-03-21T23:47:46.8525391+01:00"
},
{
"$ref": "5"
}
]
}