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