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": "16645a74-8793-4dc8-baab-c243aeb7dfcd", "CardNumber": "sample string 2", "AddedAmount": 3.0, "Balance": 4.0, "CustomerId": "700c0d36-394e-4445-9d21-3c7669527894", "Title": "sample string 6", "ValidFrom": "2025-04-04T05:37:00.3945067+02:00", "ValidTo": "2025-04-04T05:37:00.3945067+02:00", "Active": true, "Updated": "2025-04-04T05:37:00.3945067+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": "8a02d53e-44bc-4da7-bb12-8ece4a8c451e", "CustomerId": "f1ab0507-b5bf-462a-92ef-f4a5a1208ac7", "ExpiryDate": "2025-04-04T05:37:00.3945067+02:00", "Active": true, "Synced": true, "CustomerName": "sample string 6" }, "OrderId": "ed9635e7-148e-4438-bc31-4d714153ce41", "NewAmount": 16.0, "VehicleId": 17 }, { "$ref": "2" } ], "DiscountGroups": [ { "$id": "4", "DiscountId": "1d2d729f-da95-492d-b6c7-b6c85be7be18", "Title": "sample string 2", "Discount": 3.0, "Created": "2025-04-04T05:37:00.3945067+02:00", "Updated": "2025-04-04T05:37:00.3945067+02:00", "Description": "sample string 6" }, { "$ref": "4" } ], "CustomerDiscountGroups": [ { "$id": "5", "Id": "330cd659-db2e-40dc-84ff-d075cc5fece5", "DiscountId": "77828b79-9c8a-4f88-b98e-1ce9bf46ea4b", "CustomerId": "813f2921-349f-4ec3-84f8-bedae26e2c3c", "Deleted": true, "Created": "2025-04-04T05:37:00.3945067+02:00", "Updated": "2025-04-04T05:37:00.3945067+02:00" }, { "$ref": "5" } ] }