The Exchange Rate Sources resource lists the set of Exchange Rate Sources available to the user. If the Exchange Rate Source is a Custom Source, a link relation is provided for that source allowing extraction Exchange Rate Series for that Source.
The Exchange Rate Sources resource is exposed via XML and JSON representations, which have the following media type names:- > application/vnd.statpro.revolution.api.exchange-rate-sources+xml
When a response is received from the web service with status 200 (= OK), the fact that the response contains a Exchange Rate Sources resource representation is indicated by the presence of one of these two response headers:- > Content-Type: application/vnd.statpro.revolution.api.time-series+json; charset=utf-8
Content-Type: application/vnd.statpro.revolution.api.time-series+xml; charset=utf-8
The Exchange Rate Sources resource links to the Service resource, the **Exchange Rate Series” resource (and to itself). To do so, its resource representations use link relations:-
self link relation identifies the Exchange Rate Sources resource link, in which the representation is the same as the one that has been currently retrieved (so long as the underlying data on the server hasn’t changed).
service link relation identifies the Service resource link.
All related resources are accessed using the HTTP GET method.
Last updated: March 2018