GET api/Rates/CallAfrica/{countryFrom}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| countryFrom | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of BaseRateResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryId | integer |
None. |
|
| CountryName | string |
None. |
|
| CallRate | decimal number |
None. |
|
| CardId | integer |
None. |
|
| CardName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CountryId": 1,
"CountryName": "sample string 2",
"CallRate": 3.1,
"CardId": 4,
"CardName": "sample string 5"
},
{
"CountryId": 1,
"CountryName": "sample string 2",
"CallRate": 3.1,
"CardId": 4,
"CardName": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfBaseRateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Rates">
<BaseRateResponse>
<CallRate>3.1</CallRate>
<CardId>4</CardId>
<CardName>sample string 5</CardName>
<CountryId>1</CountryId>
<CountryName>sample string 2</CountryName>
</BaseRateResponse>
<BaseRateResponse>
<CallRate>3.1</CallRate>
<CardId>4</CardId>
<CardName>sample string 5</CardName>
<CountryId>1</CountryId>
<CountryName>sample string 2</CountryName>
</BaseRateResponse>
</ArrayOfBaseRateResponse>