GET api/Customer/GetCustomerDiscount?LastExecutedDate={LastExecutedDate}&CurrentDate={CurrentDate}&TerminalId={TerminalId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LastExecutedDate

date

None.

CurrentDate

date

None.

TerminalId

globally unique identifier

None.

Body Parameters

None.

Response Information

Resource Description

CustomerDiscountData
NameDescriptionTypeAdditional information
CustomerCards

Collection of CustomerCard

None.

DiscountGroups

Collection of DiscountGroup

None.

CustomerDiscountGroups

Collection of CustomerDiscountGroup

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomerCards": [
    {
      "$id": "2",
      "CardId": "0deb3d9b-0fc0-4777-9d3c-8839c4501ec1",
      "UniqueId": "sample string 2",
      "CustomerId": "1614fd10-e29f-4917-9291-3b7d46a44372",
      "Title": "sample string 4",
      "Active": true,
      "Created": "2024-05-21T08:44:14.5649945+02:00",
      "Updated": "2024-05-21T08:44:14.5649945+02:00",
      "Status": "Aktiva"
    },
    {
      "$ref": "2"
    }
  ],
  "DiscountGroups": [
    {
      "$id": "3",
      "DiscountId": "cc9edbba-3ea9-4246-a5c2-c64933bffd0d",
      "Title": "sample string 2",
      "Discount": 3.0,
      "Created": "2024-05-21T08:44:14.5806207+02:00",
      "Updated": "2024-05-21T08:44:14.5806207+02:00"
    },
    {
      "$ref": "3"
    }
  ],
  "CustomerDiscountGroups": [
    {
      "$id": "4",
      "Id": "5d86dbd5-c15b-4ba6-9f6a-d4fda203208a",
      "DiscountId": "f4a2fb28-0281-4155-8912-468f9291dbed",
      "CustomerId": "823405a9-13e7-4f86-8c90-53e7b7a88516",
      "Deleted": true,
      "Created": "2024-05-21T08:44:14.5806207+02:00",
      "Updated": "2024-05-21T08:44:14.5806207+02:00"
    },
    {
      "$ref": "4"
    }
  ]
}