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": "e1374ea5-a42e-466f-b6cd-b29ee95b0515",
"CardNumber": "sample string 2",
"AddedAmount": 3.0,
"Balance": 4.0,
"CustomerId": "cd5e7e7e-c588-4b46-bc22-dc30df60f485",
"Title": "sample string 6",
"ValidFrom": "2026-05-06T16:26:18.4976064+02:00",
"ValidTo": "2026-05-06T16:26:18.4976064+02:00",
"Active": true,
"Updated": "2026-05-06T16:26:18.4976064+02: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": "0cd0dde5-4be8-4bf4-90f3-27e8d2b940c0",
"CustomerId": "29de91c7-64af-4cc4-96d1-1943a0fb164e",
"ExpiryDate": "2026-05-06T16:26:18.4976064+02:00",
"Active": true,
"Synced": true,
"CustomerName": "sample string 6"
},
"OrderId": "c59c5e31-4fa9-4cc8-a693-18fece69fbf8",
"NewAmount": 16.0,
"VehicleId": 17
},
{
"$ref": "2"
}
],
"DiscountGroups": [
{
"$id": "4",
"DiscountId": "c8fe9cbb-54bb-410b-a3de-88955119dabc",
"Title": "sample string 2",
"Discount": 3.0,
"Created": "2026-05-06T16:26:18.4976064+02:00",
"Updated": "2026-05-06T16:26:18.4976064+02:00",
"Description": "sample string 6"
},
{
"$ref": "4"
}
],
"CustomerDiscountGroups": [
{
"$id": "5",
"Id": "9dc4605a-a0d2-4895-987e-107428a5189a",
"DiscountId": "e8e57684-b13a-4d4a-89fb-24618db2d929",
"CustomerId": "934de854-9962-4b39-8b63-d4a1ec620d60",
"Deleted": true,
"Created": "2026-05-06T16:26:18.4976064+02:00",
"Updated": "2026-05-06T16:26:18.4976064+02:00"
},
{
"$ref": "5"
}
]
}