exchange_rate (GET)
This function returns the exchange rate of a specific country or countries with a registered exchange rate. It takes as input parameter, the token and ISO code country (get_countries calls). It returns the country name, iso_country, currency name of the country and the exchange rate.
- Endpoint :
preview.ilsbsys.com/apirest_v1/information
Input Fields
Tag Name | Type | Size | Priority |
---|---|---|---|
token | string | 16 | (Mandatory) |
iso_country | string | 2 | (Mandatory) |
Fields
{
"request" : "exchange_rate",
"token" : "123456789ABC",
"iso_country" : "VE"
}
Results
[
{
"description": "Venezuela",
"iso_country": "VE",
"currencyname": "Bolivar",
"usd_exchange": "5000"
}
]
Common Error Codes
5013
: change rate doesn't exist3150
: required fields are empty1005
: supplied token is invalid