Provides currency exchange rates from the European Central Bank.
Generates a new token that's added in the request header in addition to the Authorization JWT for dynamic log tracing. (adminDynamiclogGet)
Generates a new token. This improves tracing capabilities for the specific request that it's added to. This helps in troubleshooting issues.
Request headers
Query parameters
loggingLevel (required)
Query Parameter — Logging levels classify business messages by type. The accepted values are TRACE, DEBUG, INFO, WARN, and ERROR.
validityInDays (optional)
Query Parameter — The number of days for which the token issued is to be valid. default: 1
Return type
Example data
Content-Type: application/json
{
"tokenValue" : "tokenValue",
"loggingLevel" : "loggingLevel"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The response containing the token to be used to call for dynamic logging.
dynamicloggertoken
Up
post /downloadMarketData
Returns the requested currency exchange rates. (downloadMarketDataPost)
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Information about the market data you want to fetch.
Request headers
Return type
Example data
Content-Type: application/json
""
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The requested rates have been successfully returned along with in-line error messages, if any.
MarketDataResponseList
204
Data for requested rates does not exist.
String
400
Please correct the structure of the request body you have provided.
String
401
You do not have the required permissions to access this resource. Please validate the JWT used to access the API.
String
403
Access Forbidden. Please check if the request exceeds the monthly consumption quota for your account.
AccessForbiddenResponse
500
Internal Server Error. The operation you requested led to an error during execution.
String
503
Service Unavailable. This could be because of any of the following reasons.
- We're experiencing heavy traffic.
- You made multiple historical exchange rate calls at the same time. In this event, please wait until the previous call has been processed.
String