REST API, Service version 1.0.0
Currency single rate#
To get single currency rate for a currency code.
Summary#
- Request
- Parameters
- Response
- Details of fields
- Response samples
Request#
The request must be sent with the HTTP method GET.
URI: /bgis/service/currency/1.0/rate
Sample: /bgis/service/currency/1.0/rate?code=FJD
Parameters#
No parameters are required by this service.
Response#
Return the currency rate of the input currency code.
Details of fields#
lastUpdateinteger (int64)Time stamp of data will be updated.
rateCurrencyRate of currency.
Currency fields
updateDateinteger (int64)Update date, time stamp in milliseconds.
basestringBase of rate. Currency ISO 4217 Code.
codestringCurrency ISO 4217 Code.
ratenumber (float)Rate of currency.
labelstringLabel / name of currency.
Response samples#
JSON Sample:
{
"lastUpdate":1559896137641,
"rate":{
"base":"EUR",
"code":"FJD",
"rate":2.416988,
"label":"Fijian Dollar"
}
}