GET api/Rates/BasePlanRateByCountry/{customerId}/{phoneNumber}/{countryTo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

integer

Required

phoneNumber

string

Required

countryTo

integer

Required

Body Parameters

None.

Response Information

Resource Description

PlanBaseRateResponseModel
NameDescriptionTypeAdditional information
CardId

integer

None.

CardName

string

None.

CurrencyCode

string

None.

CountryId

integer

None.

CountryName

string

None.

CountryCode

string

None.

Denominations

Collection of BaseDenomination

None.

Response Formats

application/json, text/json

Sample:
{
  "CardId": 1,
  "CardName": "sample string 2",
  "CurrencyCode": "sample string 3",
  "CountryId": 4,
  "CountryName": "sample string 5",
  "CountryCode": "sample string 6",
  "Denominations": [
    {
      "SubCardId": "sample string 1",
      "Price": 2.1,
      "ServiceCharge": 3.1,
      "TotalTime": 4.1
    },
    {
      "SubCardId": "sample string 1",
      "Price": 2.1,
      "ServiceCharge": 3.1,
      "TotalTime": 4.1
    }
  ]
}

application/xml, text/xml

Sample:
<PlanBaseRateResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Rates">
  <CardId>1</CardId>
  <CardName>sample string 2</CardName>
  <CountryCode>sample string 6</CountryCode>
  <CountryId>4</CountryId>
  <CountryName>sample string 5</CountryName>
  <CurrencyCode>sample string 3</CurrencyCode>
  <Denominations>
    <BaseDenomination>
      <Price>2.1</Price>
      <ServiceCharge>3.1</ServiceCharge>
      <SubCardId>sample string 1</SubCardId>
      <TotalTime>4.1</TotalTime>
    </BaseDenomination>
    <BaseDenomination>
      <Price>2.1</Price>
      <ServiceCharge>3.1</ServiceCharge>
      <SubCardId>sample string 1</SubCardId>
      <TotalTime>4.1</TotalTime>
    </BaseDenomination>
  </Denominations>
</PlanBaseRateResponseModel>