GET api/Rates/PopularDestination/{countryFrom}/{denomination}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
countryFrom

integer

Required

denomination

decimal number

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PopularRateResponseModel
NameDescriptionTypeAdditional information
CardId

integer

None.

SubCardId

string

None.

CardName

string

None.

CurrencyCode

string

None.

CountryId

integer

None.

CountryName

string

None.

CountryCode

string

None.

Price

decimal number

None.

ServiceCharge

decimal number

None.

TotalTime

decimal number

None.

DiscountApplied

decimal number

None.

DiscountType

string

None.

PromoMinutes

integer

None.

PromoCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CardId": 1,
    "SubCardId": "sample string 2",
    "CardName": "sample string 3",
    "CurrencyCode": "sample string 4",
    "CountryId": 5,
    "CountryName": "sample string 6",
    "CountryCode": "sample string 7",
    "Price": 8.1,
    "ServiceCharge": 9.1,
    "TotalTime": 10.1,
    "DiscountApplied": 11.1,
    "DiscountType": "sample string 12",
    "PromoMinutes": 13,
    "PromoCode": "sample string 14"
  },
  {
    "CardId": 1,
    "SubCardId": "sample string 2",
    "CardName": "sample string 3",
    "CurrencyCode": "sample string 4",
    "CountryId": 5,
    "CountryName": "sample string 6",
    "CountryCode": "sample string 7",
    "Price": 8.1,
    "ServiceCharge": 9.1,
    "TotalTime": 10.1,
    "DiscountApplied": 11.1,
    "DiscountType": "sample string 12",
    "PromoMinutes": 13,
    "PromoCode": "sample string 14"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPopularRateResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Rates">
  <PopularRateResponseModel>
    <CardId>1</CardId>
    <CardName>sample string 3</CardName>
    <CountryCode>sample string 7</CountryCode>
    <CountryId>5</CountryId>
    <CountryName>sample string 6</CountryName>
    <CurrencyCode>sample string 4</CurrencyCode>
    <DiscountApplied>11.1</DiscountApplied>
    <DiscountType>sample string 12</DiscountType>
    <Price>8.1</Price>
    <PromoCode>sample string 14</PromoCode>
    <PromoMinutes>13</PromoMinutes>
    <ServiceCharge>9.1</ServiceCharge>
    <SubCardId>sample string 2</SubCardId>
    <TotalTime>10.1</TotalTime>
  </PopularRateResponseModel>
  <PopularRateResponseModel>
    <CardId>1</CardId>
    <CardName>sample string 3</CardName>
    <CountryCode>sample string 7</CountryCode>
    <CountryId>5</CountryId>
    <CountryName>sample string 6</CountryName>
    <CurrencyCode>sample string 4</CurrencyCode>
    <DiscountApplied>11.1</DiscountApplied>
    <DiscountType>sample string 12</DiscountType>
    <Price>8.1</Price>
    <PromoCode>sample string 14</PromoCode>
    <PromoMinutes>13</PromoMinutes>
    <ServiceCharge>9.1</ServiceCharge>
    <SubCardId>sample string 2</SubCardId>
    <TotalTime>10.1</TotalTime>
  </PopularRateResponseModel>
</ArrayOfPopularRateResponseModel>