Store new currency exchange rates under this date
Stores a new set of exchange rates. The date is fixed (in the URL parameter) and the data required can be submitted as a JSON body.
Body
JSON array with the necessary currency exchange rate information. See the model for the exact specifications.
fromstringrequiredThe 'from'-currency
EURratesobjectrequiredThe actual entries for this data set. They 'key' value is 'to' currency. The value is the exchange rate.
Parameters
X-Trace-Idstring<uuid>headerUnique identifier associated with this request.
datestringrequiredpathResponse
New exchange rates stored, result in response. If a rate already existed for any submitted entry, it will be updated.
Bad request
Unauthenticated
Page not found
Validation error. The body will have the exact details.
Internal exception
Authorization
firefly_iii_authoauth2OAuth2 authorization code flow. Create a client on your installation's /profile page; it authorizes at /oauth/authorize and issues tokens at /oauth/token there. The URLs below are the demo site's. How to use the API walks through it.
local_bearer_authhttp (bearer)A Personal Access Token, sent as a bearer token. Create one on your installation under Options > Profile > OAuth > Personal Access Tokens.
