GET api/Deals/{promotionCode}/{countryFrom}/{countryTo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
promotionCode

string

Required

countryFrom

integer

Required

countryTo

integer

Required

Body Parameters

None.

Response Information

Resource Description

PromotionDeal
NameDescriptionTypeAdditional information
PromotionCode

string

None.

PromotionName

string

None.

Icon

string

None.

CouponCode

string

None.

Banner

string

None.

CardId

integer

None.

CardName

string

None.

Denominations

Collection of PromotionDenominationDeal

None.

Response Formats

application/json, text/json

Sample:
{
  "PromotionCode": "sample string 1",
  "PromotionName": "sample string 2",
  "Icon": "sample string 3",
  "CouponCode": "sample string 4",
  "Banner": "sample string 5",
  "CardId": 6,
  "CardName": "sample string 7",
  "Denominations": [
    {
      "PurchaseAmount": 1.1,
      "CurrencyCode": "sample string 2",
      "FreeMin": 3,
      "RegularMin": 4.1,
      "RatePerMin": 5.1,
      "IsPopular": true,
      "SubCardId": "sample string 7"
    },
    {
      "PurchaseAmount": 1.1,
      "CurrencyCode": "sample string 2",
      "FreeMin": 3,
      "RegularMin": 4.1,
      "RatePerMin": 5.1,
      "IsPopular": true,
      "SubCardId": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<PromotionDeal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Deals">
  <Banner>sample string 5</Banner>
  <CardId>6</CardId>
  <CardName>sample string 7</CardName>
  <CouponCode>sample string 4</CouponCode>
  <Denominations>
    <PromotionDenominationDeal>
      <CurrencyCode>sample string 2</CurrencyCode>
      <FreeMin>3</FreeMin>
      <IsPopular>true</IsPopular>
      <PurchaseAmount>1.1</PurchaseAmount>
      <RatePerMin>5.1</RatePerMin>
      <RegularMin>4.1</RegularMin>
      <SubCardId>sample string 7</SubCardId>
    </PromotionDenominationDeal>
    <PromotionDenominationDeal>
      <CurrencyCode>sample string 2</CurrencyCode>
      <FreeMin>3</FreeMin>
      <IsPopular>true</IsPopular>
      <PurchaseAmount>1.1</PurchaseAmount>
      <RatePerMin>5.1</RatePerMin>
      <RegularMin>4.1</RegularMin>
      <SubCardId>sample string 7</SubCardId>
    </PromotionDenominationDeal>
  </Denominations>
  <Icon>sample string 3</Icon>
  <PromotionCode>sample string 1</PromotionCode>
  <PromotionName>sample string 2</PromotionName>
</PromotionDeal>