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": "9ad7a3d1-3c77-4727-b398-fd33348696b0",
"CardNumber": "sample string 2",
"AddedAmount": 3.0,
"Balance": 4.0,
"CustomerId": "133f2a8c-f889-4321-8e18-0b7a4c5a267e",
"Title": "sample string 6",
"ValidFrom": "2026-02-04T04:13:30.0421277+01:00",
"ValidTo": "2026-02-04T04:13:30.0421277+01:00",
"Active": true,
"Updated": "2026-02-04T04:13:30.0421277+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": "6dc36a59-a992-4849-812a-3fa193849464",
"CustomerId": "baac6a96-e657-42eb-81b4-111affb69ceb",
"ExpiryDate": "2026-02-04T04:13:30.0421277+01:00",
"Active": true,
"Synced": true,
"CustomerName": "sample string 6"
},
"OrderId": "c502785f-aa3c-4d3f-8f73-5847bbc96913",
"NewAmount": 16.0,
"VehicleId": 17
},
{
"$ref": "2"
}
],
"DiscountGroups": [
{
"$id": "4",
"DiscountId": "3df1155c-2b31-4219-8659-def4188f9c7f",
"Title": "sample string 2",
"Discount": 3.0,
"Created": "2026-02-04T04:13:30.0421277+01:00",
"Updated": "2026-02-04T04:13:30.0421277+01:00",
"Description": "sample string 6"
},
{
"$ref": "4"
}
],
"CustomerDiscountGroups": [
{
"$id": "5",
"Id": "1d1c7ab0-5757-4087-a6e2-9a54f1eab3af",
"DiscountId": "e746af05-3028-4110-ab72-0f2a386fae95",
"CustomerId": "fc82bbcd-c9ba-4bb6-9db4-11c2bcd0df42",
"Deleted": true,
"Created": "2026-02-04T04:13:30.0421277+01:00",
"Updated": "2026-02-04T04:13:30.0421277+01:00"
},
{
"$ref": "5"
}
]
}