GET api/Rates/Plans/LowestRate_v1/{countryFrom}/{countryTo}/{phoneNumber}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
countryFrom | integer |
Required |
|
countryTo | integer |
Required |
|
phoneNumber | string |
Required |
Body Parameters
None.
Response Information
Resource Description
PlanRateResponseModel_V1Name | Description | Type | Additional information |
---|---|---|---|
ParentCountryId | integer |
None. |
|
ParentCountryName | string |
None. |
|
CardId | integer |
None. |
|
CardName | string |
None. |
|
CurrencyCode | string |
None. |
|
CountryId | integer |
None. |
|
CountryName | string |
None. |
|
CountryCode | string |
None. |
|
AutorefillPlans | CallingCard |
None. |
|
WithoutAutorefillPlans | CallingCard |
None. |
|
DiscountedPlans | CallingCard |
None. |
|
DiscountedPlansWithAutoRefill | CallingCard |
None. |
Response Formats
application/json, text/json
Sample:
{ "ParentCountryId": 1, "ParentCountryName": "sample string 2", "CardId": 3, "CardName": "sample string 4", "CurrencyCode": "sample string 5", "CountryId": 6, "CountryName": "sample string 7", "CountryCode": "sample string 8", "AutorefillPlans": { "RatePerMin": 1.1, "Denominations": [ { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" }, { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" } ] }, "WithoutAutorefillPlans": { "RatePerMin": 1.1, "Denominations": [ { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" }, { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" } ] }, "DiscountedPlans": { "RatePerMin": 1.1, "Denominations": [ { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" }, { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" } ] }, "DiscountedPlansWithAutoRefill": { "RatePerMin": 1.1, "Denominations": [ { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" }, { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" } ] } }
application/xml, text/xml
Sample:
<PlanRateResponseModel_V1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Rates"> <AutorefillPlans xmlns:d2p1="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Rates"> <d2p1:Denominations> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> </d2p1:Denominations> <d2p1:RatePerMin>1.1</d2p1:RatePerMin> </AutorefillPlans> <CardId>3</CardId> <CardName>sample string 4</CardName> <CountryCode>sample string 8</CountryCode> <CountryId>6</CountryId> <CountryName>sample string 7</CountryName> <CurrencyCode>sample string 5</CurrencyCode> <DiscountedPlans xmlns:d2p1="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Rates"> <d2p1:Denominations> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> </d2p1:Denominations> <d2p1:RatePerMin>1.1</d2p1:RatePerMin> </DiscountedPlans> <DiscountedPlansWithAutoRefill xmlns:d2p1="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Rates"> <d2p1:Denominations> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> </d2p1:Denominations> <d2p1:RatePerMin>1.1</d2p1:RatePerMin> </DiscountedPlansWithAutoRefill> <WithoutAutorefillPlans xmlns:d2p1="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Rates"> <d2p1:Denominations> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> </d2p1:Denominations> <d2p1:RatePerMin>1.1</d2p1:RatePerMin> </WithoutAutorefillPlans> <ParentCountryId>1</ParentCountryId> <ParentCountryName>sample string 2</ParentCountryName> </PlanRateResponseModel_V1>