Currency convert · POST Convert an amount to another currency
BeMap name: Currency convert · POST
POST
/currency/1.0/convertThe 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.
fromstringrequiredThe currency to convert from
valuenumber (float)requiredThe amount to of the from currency to be converted
tostringrequiredThe currency to convert from
geoserverstringGeoserver name.
swidxinteger (int32)deprecatedSwitch 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.