GET api/Rates/GetSubPlansWithDistinctRate/{countryFrom}/{countryTo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| countryFrom | integer |
Required |
|
| countryTo | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CountryRate| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryFrom | integer |
None. |
|
| CountryId | integer |
None. |
|
| CountryName | string |
None. |
|
| CountryCode | string |
None. |
|
| CallRate | decimal number |
None. |
|
| CardId | integer |
None. |
|
| CardName | string |
None. |
|
| CouponCode | string |
None. |
|
| TotalTime | integer |
None. |
|
| Price | decimal number |
None. |
|
| DiscountedRate | DiscountedCountryRate |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"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:
<ArrayOfCountryRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Rates">
<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>
</ArrayOfCountryRate>