GET api/Customer/GetCustomerDiscount?LastExecutedDate={LastExecutedDate}&CurrentDate={CurrentDate}&TerminalId={TerminalId}&SharedDB={SharedDB}
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. |
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": "918e5be4-e3dd-4cf7-8023-602153817285", "CardNumber": "sample string 2", "AddedAmount": 3.0, "Balance": 4.0, "CustomerId": "cd1ee295-d813-4b84-88df-2e66514f54a2", "Title": "sample string 6", "ValidFrom": "2024-05-16T06:49:05.1007621+02:00", "ValidTo": "2024-05-16T06:49:05.1007621+02:00", "Active": true, "Updated": "2024-05-16T06:49:05.1017613+02:00", "CardType": 0, "UniqueCode": 11, "Synced": true, "Status": "Aktiva", "UsedAmount": -1.0, "CustomerDiscount": 13.0, "CustomerName": "sample string 14", "SeasonTicket": { "$id": "3", "Id": "2ec0105b-e5d4-4004-a603-3d62df9b34cd", "CustomerId": "892c0f3c-368e-43c6-aea6-ac00ba50cd76", "ExpiryDate": "2024-05-16T06:49:05.1027627+02:00", "Active": true, "Synced": true, "CustomerName": "sample string 6" }, "OrderId": "986e8c93-a020-4142-93a2-7f09c6019887", "NewAmount": 16.0, "VehicleId": 17 }, { "$ref": "2" } ], "DiscountGroups": [ { "$id": "4", "DiscountId": "f5666a91-a1aa-4d8d-aaf4-01c23e9455b5", "Title": "sample string 2", "Discount": 3.0, "Created": "2024-05-16T06:49:05.103762+02:00", "Updated": "2024-05-16T06:49:05.103762+02:00", "Description": "sample string 6" }, { "$ref": "4" } ], "CustomerDiscountGroups": [ { "$id": "5", "Id": "cdefa35a-c231-47ae-972c-c33dda79e283", "DiscountId": "73d93f49-3c41-4962-9f2d-56a45aeb8916", "CustomerId": "690e2a62-d52d-4615-8bc2-45753cf2382a", "Deleted": true, "Created": "2024-05-16T06:49:05.1047574+02:00", "Updated": "2024-05-16T06:49:05.1047574+02:00" }, { "$ref": "5" } ] }