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": "7a791000-a396-4df6-8c51-80de6fc255e3",
"CardNumber": "sample string 2",
"AddedAmount": 3.0,
"Balance": 4.0,
"CustomerId": "62c4d859-ee47-47ce-8897-1899387f2836",
"Title": "sample string 6",
"ValidFrom": "2026-09-20T13:24:03.0717253+02:00",
"ValidTo": "2026-09-20T13:24:03.0717253+02:00",
"Active": true,
"Updated": "2026-09-20T13:24:03.0717253+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": "6b486a60-b979-4bf5-aa5d-c83ff98eca46",
"CustomerId": "f65749cd-43a0-4c75-9d8e-80153251d717",
"ExpiryDate": "2026-09-20T13:24:03.0717253+02:00",
"Active": true,
"Synced": true,
"CustomerName": "sample string 6"
},
"OrderId": "5b69c265-2073-4698-b9b3-f8cdb9b1c73b",
"NewAmount": 16.0,
"VehicleId": 17
},
{
"$ref": "2"
}
],
"DiscountGroups": [
{
"$id": "4",
"DiscountId": "ec5286aa-cc9f-43bd-adaa-2e7dad262c2e",
"Title": "sample string 2",
"Discount": 3.0,
"Created": "2026-09-20T13:24:03.0717253+02:00",
"Updated": "2026-09-20T13:24:03.0717253+02:00",
"Description": "sample string 6"
},
{
"$ref": "4"
}
],
"CustomerDiscountGroups": [
{
"$id": "5",
"Id": "6810568f-8406-45f0-8ce0-1be7d8d4e972",
"DiscountId": "2ad06885-6e91-47fa-884b-7b83b9cd8c00",
"CustomerId": "31b8c063-3e77-4d89-b015-ff9c115e45fa",
"Deleted": true,
"Created": "2026-09-20T13:24:03.0717253+02:00",
"Updated": "2026-09-20T13:24:03.0717253+02:00"
},
{
"$ref": "5"
}
]
}