GET api/Rates/v1/AllCountries/{countryFrom}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
countryFrom

integer

Required

Body Parameters

None.

Response Information

Resource Description

CountryRateMultipleCurrency
NameDescriptionTypeAdditional information
CurrencyCode

string

None.

CurrencySymbol

string

None.

SubCurrencyCode

string

None.

SubCurrencySymbol

string

None.

MultiplyFactor

integer

None.

ExchangeRate

decimal number

None.

AmountChargedCurrencyCode

string

None.

CountryRates

Collection of CountryRate

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",
  "CountryRates": [
    {
      "CountryFrom": 1,
      "CountryId": 2,
      "CountryName": "sample string 3",
      "CountryCode": "sample string 4",
      "CallRate": 5.1,
      "CardId": 6,
      "CardName": "sample string 7",
      "CouponCode": "sample string 8",
      "TotalTime": 9,
      "Price": 10.0,
      "DiscountedRate": {
        "CountryFrom": 1,
        "CountryId": 2,
        "CountryName": "sample string 3",
        "CountryCode": "sample string 4",
        "CallRate": 5.1,
        "CardId": 6,
        "CardName": "sample string 7",
        "CouponCode": "sample string 8",
        "TotalTime": 9,
        "Price": 10.0,
        "DiscountApplied": 11.1,
        "DiscountType": "sample string 12",
        "PromoMinutes": 13,
        "PromoCode": "sample string 14"
      }
    },
    {
      "CountryFrom": 1,
      "CountryId": 2,
      "CountryName": "sample string 3",
      "CountryCode": "sample string 4",
      "CallRate": 5.1,
      "CardId": 6,
      "CardName": "sample string 7",
      "CouponCode": "sample string 8",
      "TotalTime": 9,
      "Price": 10.0,
      "DiscountedRate": {
        "CountryFrom": 1,
        "CountryId": 2,
        "CountryName": "sample string 3",
        "CountryCode": "sample string 4",
        "CallRate": 5.1,
        "CardId": 6,
        "CardName": "sample string 7",
        "CouponCode": "sample string 8",
        "TotalTime": 9,
        "Price": 10.0,
        "DiscountApplied": 11.1,
        "DiscountType": "sample string 12",
        "PromoMinutes": 13,
        "PromoCode": "sample string 14"
      }
    }
  ]
}

application/xml, text/xml

Sample:
<CountryRateMultipleCurrency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Rates">
  <AmountChargedCurrencyCode>sample string 7</AmountChargedCurrencyCode>
  <CountryRates>
    <CountryRate>
      <CallRate>5.1</CallRate>
      <CardId>6</CardId>
      <CardName>sample string 7</CardName>
      <CountryCode>sample string 4</CountryCode>
      <CountryFrom>1</CountryFrom>
      <CountryId>2</CountryId>
      <CountryName>sample string 3</CountryName>
      <CouponCode>sample string 8</CouponCode>
      <DiscountedRate>
        <CallRate>5.1</CallRate>
        <CardId>6</CardId>
        <CardName>sample string 7</CardName>
        <CountryCode>sample string 4</CountryCode>
        <CountryFrom>1</CountryFrom>
        <CountryId>2</CountryId>
        <CountryName>sample string 3</CountryName>
        <CouponCode>sample string 8</CouponCode>
        <DiscountApplied>11.1</DiscountApplied>
        <DiscountType>sample string 12</DiscountType>
        <Price>10</Price>
        <PromoCode>sample string 14</PromoCode>
        <PromoMinutes>13</PromoMinutes>
        <TotalTime>9</TotalTime>
      </DiscountedRate>
      <Price>10</Price>
      <TotalTime>9</TotalTime>
    </CountryRate>
    <CountryRate>
      <CallRate>5.1</CallRate>
      <CardId>6</CardId>
      <CardName>sample string 7</CardName>
      <CountryCode>sample string 4</CountryCode>
      <CountryFrom>1</CountryFrom>
      <CountryId>2</CountryId>
      <CountryName>sample string 3</CountryName>
      <CouponCode>sample string 8</CouponCode>
      <DiscountedRate>
        <CallRate>5.1</CallRate>
        <CardId>6</CardId>
        <CardName>sample string 7</CardName>
        <CountryCode>sample string 4</CountryCode>
        <CountryFrom>1</CountryFrom>
        <CountryId>2</CountryId>
        <CountryName>sample string 3</CountryName>
        <CouponCode>sample string 8</CouponCode>
        <DiscountApplied>11.1</DiscountApplied>
        <DiscountType>sample string 12</DiscountType>
        <Price>10</Price>
        <PromoCode>sample string 14</PromoCode>
        <PromoMinutes>13</PromoMinutes>
        <TotalTime>9</TotalTime>
      </DiscountedRate>
      <Price>10</Price>
      <TotalTime>9</TotalTime>
    </CountryRate>
  </CountryRates>
  <CurrencyCode>sample string 1</CurrencyCode>
  <CurrencySymbol>sample string 2</CurrencySymbol>
  <ExchangeRate>6</ExchangeRate>
  <MultiplyFactor>5</MultiplyFactor>
  <SubCurrencyCode>sample string 3</SubCurrencyCode>
  <SubCurrencySymbol>sample string 4</SubCurrencySymbol>
</CountryRateMultipleCurrency>