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": "584e6baa-2349-4ea1-850e-0cd9925e45ca",
"CardNumber": "sample string 2",
"AddedAmount": 3.0,
"Balance": 4.0,
"CustomerId": "ba480107-6193-408f-826c-92c3aa700512",
"Title": "sample string 6",
"ValidFrom": "2026-08-06T01:36:19.8774159+02:00",
"ValidTo": "2026-08-06T01:36:19.8774159+02:00",
"Active": true,
"Updated": "2026-08-06T01:36:19.8774159+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": "8808188d-3f05-47e8-bcc6-185893cbf502",
"CustomerId": "85d01d6c-376e-4c40-9b9c-f1c22b12232d",
"ExpiryDate": "2026-08-06T01:36:19.8774159+02:00",
"Active": true,
"Synced": true,
"CustomerName": "sample string 6"
},
"OrderId": "94292dfd-151e-458d-b818-41d30c89f031",
"NewAmount": 16.0,
"VehicleId": 17
},
{
"$ref": "2"
}
],
"DiscountGroups": [
{
"$id": "4",
"DiscountId": "86d9c486-a8d3-46ac-9786-3aac07c2e3ff",
"Title": "sample string 2",
"Discount": 3.0,
"Created": "2026-08-06T01:36:19.8774159+02:00",
"Updated": "2026-08-06T01:36:19.8774159+02:00",
"Description": "sample string 6"
},
{
"$ref": "4"
}
],
"CustomerDiscountGroups": [
{
"$id": "5",
"Id": "538828cc-4951-4f05-80fa-ebb9875c2ec3",
"DiscountId": "4f795909-4441-4f9b-a88a-b6eaed7c4ee8",
"CustomerId": "e6a1ab88-a38a-44a5-b1cc-87bdbe0cfd35",
"Deleted": true,
"Created": "2026-08-06T01:36:19.8774159+02:00",
"Updated": "2026-08-06T01:36:19.8774159+02:00"
},
{
"$ref": "5"
}
]
}