GET api/Promotions/v1/{promotionCode}/{countryFrom}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| promotionCode | string |
Required |
|
| countryFrom | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PromotionWithMultipleCurrency| Name | Description | Type | Additional information |
|---|---|---|---|
| CurrencyCode | string |
None. |
|
| CurrencySymbol | string |
None. |
|
| SubCurrencyCode | string |
None. |
|
| SubCurrencySymbol | string |
None. |
|
| MultiplyFactor | integer |
None. |
|
| ExchangeRate | decimal number |
None. |
|
| AmountChargedCurrencyCode | string |
None. |
|
| PromotionCode | string |
None. |
|
| PromotionName | string |
None. |
|
| Description | string |
None. |
|
| CountryFrom | integer |
None. |
|
| Icon | string |
None. |
|
| BannerNav | string |
None. |
|
| LandingPageImage | string |
None. |
|
| MobileThumbnail | string |
None. |
|
| IsGroupedPromotion | boolean |
None. |
|
| Template | string |
None. |
|
| IsPopupView | boolean |
None. |
|
| Access | PromotionAccess |
None. |
|
| Plans | Collection of PromotionPlan |
None. |
|
| IgnoreBundle | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"CurrencyCode": "sample string 1",
"CurrencySymbol": "sample string 2",
"SubCurrencyCode": "sample string 3",
"SubCurrencySymbol": "sample string 4",
"MultiplyFactor": 5,
"ExchangeRate": 6.0,
"AmountChargedCurrencyCode": "sample string 7",
"PromotionCode": "sample string 8",
"PromotionName": "sample string 9",
"Description": "sample string 10",
"CountryFrom": 11,
"Icon": "sample string 12",
"BannerNav": "sample string 13",
"LandingPageImage": "sample string 14",
"MobileThumbnail": "sample string 15",
"IsGroupedPromotion": true,
"Template": "sample string 17",
"IsPopupView": true,
"Access": 0,
"Plans": [
{
"PromotionPlanId": 1,
"CardId": 2,
"CardName": "sample string 3",
"CouponCode": "sample string 4",
"ServiceCharge": 5.1,
"IsMobile": true,
"IsLandLine": true,
"IsEditCoupon": true,
"Denominations": [
{
"SubCardId": "sample string 1",
"CurrencyCode": "sample string 2",
"CountryToId": 3,
"Price": 4.1,
"ServiceCharge": 5.1,
"RegularMin": 6,
"FreeMin": 7,
"RatePerMin": 8.0,
"CountryToName": "sample string 9",
"IsPercentageAmountOffer": true,
"OfferPercentage": 11.0
},
{
"SubCardId": "sample string 1",
"CurrencyCode": "sample string 2",
"CountryToId": 3,
"Price": 4.1,
"ServiceCharge": 5.1,
"RegularMin": 6,
"FreeMin": 7,
"RatePerMin": 8.0,
"CountryToName": "sample string 9",
"IsPercentageAmountOffer": true,
"OfferPercentage": 11.0
}
]
},
{
"PromotionPlanId": 1,
"CardId": 2,
"CardName": "sample string 3",
"CouponCode": "sample string 4",
"ServiceCharge": 5.1,
"IsMobile": true,
"IsLandLine": true,
"IsEditCoupon": true,
"Denominations": [
{
"SubCardId": "sample string 1",
"CurrencyCode": "sample string 2",
"CountryToId": 3,
"Price": 4.1,
"ServiceCharge": 5.1,
"RegularMin": 6,
"FreeMin": 7,
"RatePerMin": 8.0,
"CountryToName": "sample string 9",
"IsPercentageAmountOffer": true,
"OfferPercentage": 11.0
},
{
"SubCardId": "sample string 1",
"CurrencyCode": "sample string 2",
"CountryToId": 3,
"Price": 4.1,
"ServiceCharge": 5.1,
"RegularMin": 6,
"FreeMin": 7,
"RatePerMin": 8.0,
"CountryToName": "sample string 9",
"IsPercentageAmountOffer": true,
"OfferPercentage": 11.0
}
]
}
],
"IgnoreBundle": true
}
application/xml, text/xml
Sample:
<PromotionWithMultipleCurrency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Promotions">
<Access>Public</Access>
<AmountChargedCurrencyCode>sample string 7</AmountChargedCurrencyCode>
<BannerNav>sample string 13</BannerNav>
<CountryFrom>11</CountryFrom>
<CurrencyCode>sample string 1</CurrencyCode>
<CurrencySymbol>sample string 2</CurrencySymbol>
<Description>sample string 10</Description>
<ExchangeRate>6</ExchangeRate>
<Icon>sample string 12</Icon>
<IgnoreBundle>true</IgnoreBundle>
<IsGroupedPromotion>true</IsGroupedPromotion>
<IsPopupView>true</IsPopupView>
<LandingPageImage>sample string 14</LandingPageImage>
<MobileThumbnail>sample string 15</MobileThumbnail>
<MultiplyFactor>5</MultiplyFactor>
<Plans>
<PromotionPlan>
<CardId>2</CardId>
<CardName>sample string 3</CardName>
<CouponCode>sample string 4</CouponCode>
<Denominations>
<PromotionDenomination>
<CountryToId>3</CountryToId>
<CurrencyCode>sample string 2</CurrencyCode>
<FreeMin>7</FreeMin>
<IsPercentageAmountOffer>true</IsPercentageAmountOffer>
<OfferPercentage>11</OfferPercentage>
<Price>4.1</Price>
<RatePerMin>8</RatePerMin>
<RegularMin>6</RegularMin>
<ServiceCharge>5.1</ServiceCharge>
<SubCardId>sample string 1</SubCardId>
</PromotionDenomination>
<PromotionDenomination>
<CountryToId>3</CountryToId>
<CurrencyCode>sample string 2</CurrencyCode>
<FreeMin>7</FreeMin>
<IsPercentageAmountOffer>true</IsPercentageAmountOffer>
<OfferPercentage>11</OfferPercentage>
<Price>4.1</Price>
<RatePerMin>8</RatePerMin>
<RegularMin>6</RegularMin>
<ServiceCharge>5.1</ServiceCharge>
<SubCardId>sample string 1</SubCardId>
</PromotionDenomination>
</Denominations>
<IsEditCoupon>true</IsEditCoupon>
<IsLandLine>true</IsLandLine>
<IsMobile>true</IsMobile>
<PromotionPlanId>1</PromotionPlanId>
<ServiceCharge>5.1</ServiceCharge>
</PromotionPlan>
<PromotionPlan>
<CardId>2</CardId>
<CardName>sample string 3</CardName>
<CouponCode>sample string 4</CouponCode>
<Denominations>
<PromotionDenomination>
<CountryToId>3</CountryToId>
<CurrencyCode>sample string 2</CurrencyCode>
<FreeMin>7</FreeMin>
<IsPercentageAmountOffer>true</IsPercentageAmountOffer>
<OfferPercentage>11</OfferPercentage>
<Price>4.1</Price>
<RatePerMin>8</RatePerMin>
<RegularMin>6</RegularMin>
<ServiceCharge>5.1</ServiceCharge>
<SubCardId>sample string 1</SubCardId>
</PromotionDenomination>
<PromotionDenomination>
<CountryToId>3</CountryToId>
<CurrencyCode>sample string 2</CurrencyCode>
<FreeMin>7</FreeMin>
<IsPercentageAmountOffer>true</IsPercentageAmountOffer>
<OfferPercentage>11</OfferPercentage>
<Price>4.1</Price>
<RatePerMin>8</RatePerMin>
<RegularMin>6</RegularMin>
<ServiceCharge>5.1</ServiceCharge>
<SubCardId>sample string 1</SubCardId>
</PromotionDenomination>
</Denominations>
<IsEditCoupon>true</IsEditCoupon>
<IsLandLine>true</IsLandLine>
<IsMobile>true</IsMobile>
<PromotionPlanId>1</PromotionPlanId>
<ServiceCharge>5.1</ServiceCharge>
</PromotionPlan>
</Plans>
<PromotionCode>sample string 8</PromotionCode>
<PromotionName>sample string 9</PromotionName>
<SubCurrencyCode>sample string 3</SubCurrencyCode>
<SubCurrencySymbol>sample string 4</SubCurrencySymbol>
<Template>sample string 17</Template>
</PromotionWithMultipleCurrency>