GET api/shoppingcard/topUp/OnContentSet/{isOnContentSet}?supplierId={supplierId}&dealId={dealId}

Get Shopping card info to Top Up

Request Information

URI Parameters

NameDescriptionTypeAdditional information
supplierId

integer

Required

dealId

integer

Required

isOnContentSet

boolean

Required

Body Parameters

None.

Response Information

Shopping card info to Top Up

NameDescriptionTypeAdditional information
DiscountPercent

Discount user will get

decimal number

None.

TeaserText

Teaser Text

string

None.

MaxQuantity

Max Quantity of the shopping cards, user allowed to buy in card order

integer

None.

CardType

Card type

ShoppingCardType

None.

ProductCodes

ProductCodes, valid only for CardType = Fixed

Collection of ProductCodeInfo

None.

Range

Allowed amount range to buy, valid only for CardType = Variable

AmountRange

None.

Currency

Currency

None.

Response Formats

application/json, text/json

Sample:
{
  "discountPercent": 1.1,
  "teaserText": "sample string 2",
  "maxQuantity": 3,
  "cardType": 1,
  "productCodes": [
    {
      "productCodeId": 1,
      "amount": 2.1,
      "displayAmount": "sample string 3"
    },
    {
      "productCodeId": 1,
      "amount": 2.1,
      "displayAmount": "sample string 3"
    }
  ],
  "range": {
    "amountMin": 1.1,
    "amountMax": 2.1,
    "displayRange": "sample string 3"
  },
  "currency": {
    "currencySymbol": "sample string 1",
    "isPrefix": true
  },
  "cardNumberInfo": "sample string 4",
  "cardNumberLength": 5,
  "boughtCardNumbers": [
    "sample string 1",
    "sample string 2"
  ],
  "handlingFee": 6.1
}