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": "a7e464aa-8941-476b-9f46-017225bfc784",
"CardNumber": "sample string 2",
"AddedAmount": 3.0,
"Balance": 4.0,
"CustomerId": "e1a0fcd8-5eb7-4ef6-91ba-94ac36e6a7de",
"Title": "sample string 6",
"ValidFrom": "2026-06-21T22:56:18.5144558+02:00",
"ValidTo": "2026-06-21T22:56:18.5144558+02:00",
"Active": true,
"Updated": "2026-06-21T22:56:18.5144558+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": "e96657e9-f9fc-4322-949b-0910cec97240",
"CustomerId": "7293cd9a-a4dd-425a-ab5d-d211b0dad740",
"ExpiryDate": "2026-06-21T22:56:18.5144558+02:00",
"Active": true,
"Synced": true,
"CustomerName": "sample string 6"
},
"OrderId": "75e698ee-0e63-403f-bf50-c4b8a4bcd191",
"NewAmount": 16.0,
"VehicleId": 17
},
{
"$ref": "2"
}
],
"DiscountGroups": [
{
"$id": "4",
"DiscountId": "207664fc-780d-433d-934e-07126d788278",
"Title": "sample string 2",
"Discount": 3.0,
"Created": "2026-06-21T22:56:18.5144558+02:00",
"Updated": "2026-06-21T22:56:18.5144558+02:00",
"Description": "sample string 6"
},
{
"$ref": "4"
}
],
"CustomerDiscountGroups": [
{
"$id": "5",
"Id": "3eda129f-6981-479e-a4e6-d8a30d38fe71",
"DiscountId": "646f3b0d-31e0-4afd-8731-8e67c9e80849",
"CustomerId": "d3f1d2df-ff35-4686-9d7a-6edbdbce5f05",
"Deleted": true,
"Created": "2026-06-21T22:56:18.5144558+02:00",
"Updated": "2026-06-21T22:56:18.5144558+02:00"
},
{
"$ref": "5"
}
]
}