GET api/Rates/LowestRateByPlan_v1/{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 LowestRateName | Description | Type | Additional information |
---|---|---|---|
CardId | integer |
None. |
|
CardName | string |
None. |
|
CountryId | integer |
None. |
|
CountryName | string |
None. |
|
CountryCode | string |
None. |
|
ISOCode | string |
None. |
|
CallingRateMobile | decimal number |
None. |
|
CallingRateLandline | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CardId": 1, "CardName": "sample string 2", "CountryId": 3, "CountryName": "sample string 4", "CountryCode": "sample string 5", "ISOCode": "sample string 6", "CallingRateMobile": 7.0, "CallingRateLandline": 8.0 }, { "CardId": 1, "CardName": "sample string 2", "CountryId": 3, "CountryName": "sample string 4", "CountryCode": "sample string 5", "ISOCode": "sample string 6", "CallingRateMobile": 7.0, "CallingRateLandline": 8.0 } ]
application/xml, text/xml
Sample:
<ArrayOfLowestRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Rates"> <LowestRate> <CallingRateLandline>8</CallingRateLandline> <CallingRateMobile>7</CallingRateMobile> <CardId>1</CardId> <CardName>sample string 2</CardName> <CountryCode>sample string 5</CountryCode> <CountryId>3</CountryId> <CountryName>sample string 4</CountryName> <ISOCode>sample string 6</ISOCode> </LowestRate> <LowestRate> <CallingRateLandline>8</CallingRateLandline> <CallingRateMobile>7</CallingRateMobile> <CardId>1</CardId> <CardName>sample string 2</CardName> <CountryCode>sample string 5</CountryCode> <CountryId>3</CountryId> <CountryName>sample string 4</CountryName> <ISOCode>sample string 6</ISOCode> </LowestRate> </ArrayOfLowestRate>