GET api/shoppingcard/topUp/OnContentSet/{isOnContentSet}?supplierId={supplierId}&dealId={dealId}
Get Shopping card info to Top Up
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| supplierId | integer | 
                                 Required  | 
                |
| dealId | integer | 
                                 Required  | 
                |
| isOnContentSet | boolean | 
                                 Required  | 
                
Body Parameters
None.
Response Information
Shopping card info to Top Up
| Name | Description | Type | Additional 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  | 
                    Currency | 
                             None.  | 
                
| CardNumberInfo | 
                         Hint text for Card Number field (valid only for Top Up)  | 
                    string | 
                             None.  | 
                
| CardNumberLength | 
                         Card Number max length (valid only for Top Up)  | 
                    integer | 
                             None.  | 
                
| BoughtCardNumbers | 
                         List of Card Numbers that have been bought by current user (valid only for Top Up)  | 
                    Collection of string | 
                             None.  | 
                
| HandlingFee | 
                         Top Up Fee for current gift card item (valid only for Top Up)  | 
                    decimal number | 
                             None.  | 
                
Response Formats
application/json, text/json
{
  "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
}