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
CustomerDiscountDataName | 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": "48a30a90-184c-4b6a-ac0a-da01f9f7a251", "CardNumber": "sample string 2", "AddedAmount": 3.0, "Balance": 4.0, "CustomerId": "a2b89b27-5651-418a-ab59-7ab1637cea6c", "Title": "sample string 6", "ValidFrom": "2025-07-04T14:59:34.898454+02:00", "ValidTo": "2025-07-04T14:59:34.898454+02:00", "Active": true, "Updated": "2025-07-04T14:59:34.898454+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": "d27907aa-debc-4301-9ef2-397594cb4aed", "CustomerId": "db679e75-5796-4dad-8194-d7b14df434da", "ExpiryDate": "2025-07-04T14:59:34.898454+02:00", "Active": true, "Synced": true, "CustomerName": "sample string 6" }, "OrderId": "6f30a914-3460-4021-9534-c5b407381820", "NewAmount": 16.0, "VehicleId": 17 }, { "$ref": "2" } ], "DiscountGroups": [ { "$id": "4", "DiscountId": "2558a3b1-9c2a-44db-9538-e9d67321a8e4", "Title": "sample string 2", "Discount": 3.0, "Created": "2025-07-04T14:59:34.898454+02:00", "Updated": "2025-07-04T14:59:34.898454+02:00", "Description": "sample string 6" }, { "$ref": "4" } ], "CustomerDiscountGroups": [ { "$id": "5", "Id": "14bd3f68-60fb-4c55-af30-7a2396b003c1", "DiscountId": "322e73a6-da0d-4e0c-b7bb-0e6f0fc6f127", "CustomerId": "e9304ff2-4ec7-4388-9187-d8acecb022f2", "Deleted": true, "Created": "2025-07-04T14:59:34.898454+02:00", "Updated": "2025-07-04T14:59:34.898454+02:00" }, { "$ref": "5" } ] }