currency_exchange_rates
Store a new currency exchange rate.
Stores a new exchange rate. The data required can be submitted as a JSON body or as a list of parameters.
post/v1/exchange-rates
Request
- Base URL: https://demo.firefly-iii.org/api
- URL: https://demo.firefly-iii.org/api/v1/exchange-rates
- Auth: one of:
- OAuth 2 (authorization code, authorization URL https://demo.firefly-iii.org/oauth/authorize, token URL https://demo.firefly-iii.org/oauth/token)
- HTTP bearer
Headers
X-Trace-Idstring uuid
Example:40c71bbb-c676-4f24-83cf-cc725d7d7a00
Unique identifier associated with this request.
Request body
Example request
{
"from": "USD",
"to": "EUR",
"rate": "2.3456"
}Response
New exchange stored, result in response. If a rate already exists for this currency pair and date, it will be updated.
Changes
No recorded changes to this endpoint across all 1 revision of this API.