BeMapAPI
BeMap 4.1.0
API reference: GET /currency/1.0/rate

REST API, Service version 1.0.0

Currency single rate#

To get single currency rate for a currency code.

Summary#

  1. Request
    1. Parameters
  2. Response
    1. Details of fields
    2. 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.

  • rateCurrency

    Rate of currency.

    Currency fields
    • updateDateinteger (int64)

      Update date, time stamp in milliseconds.

    • basestring

      Base of rate. Currency ISO 4217 Code.

    • codestring

      Currency ISO 4217 Code.

    • ratenumber (float)

      Rate of currency.

    • labelstring

      Label / name of currency.

Response samples#

JSON Sample:

javascript
{
    "lastUpdate":1559896137641,
    "rate":{
        "base":"EUR",
        "code":"FJD",
        "rate":2.416988,
        "label":"Fijian Dollar"
    }
}