BeMapAPI
BeMap 4.1.0

Currency convert · POST Convert an amount to another currency

BeMap name: Currency convert · POST

POST/currency/1.0/convert

The same conversion, with the amount and the currencies sent in a JSON body.

The whole description

In BeMap's words

Convert a currency to another.

Convert a currency to another.

Requires the Currency option. Allow to get currency information. Not enabled on your account? Ask your BeNomad contact.

Request body

JSON, Content-Type: application/json. Schema CurrencyConvertRequest.

  • fromstringrequired

    The currency to convert from

  • valuenumber (float)required

    The amount to of the from currency to be converted

  • tostringrequired

    The currency to convert from

  • geoserverstring

    Geoserver name.

  • swidxinteger (int32)deprecated

    Switch index.

Response

200, schema CurrencyConvertResponse.

Response fields
  • lastUpdateinteger (int64)
  • valuenumber (float)

Errors

  • 400 Bad Request, ErrorResponse
  • 302 No credentials were sent. Do not follow the redirect.
  • 401 The account or the API key is wrong.

How to read each one: Errors.

Reference pages