I am currently migrating from the old SOAP API to the new API-NG, and I am still hammering out some of my misunderstandings.
I have been trying to test my code by calling innocuous methods, like listCurrencyRates.
listCurrencyRates takes a parameter, fromCurrency, which is defined as "The currency from which the rates are computed. GBP is used if no value is passed".
However, when I try any currency apart from GBP (or no value), such as "USD", "CAD", "AUD", I get an error message: INVALID_INPUT_DATA: From currency is not supported.
It also happens in the API-NG "Visualiser", so it isn't my code creating the JSON request that is the problem.
Is this a bug? Is only one base currency supported at this time? If not, what are some legal, non-default, values for this parameter?
I have been trying to test my code by calling innocuous methods, like listCurrencyRates.
listCurrencyRates takes a parameter, fromCurrency, which is defined as "The currency from which the rates are computed. GBP is used if no value is passed".
However, when I try any currency apart from GBP (or no value), such as "USD", "CAD", "AUD", I get an error message: INVALID_INPUT_DATA: From currency is not supported.
It also happens in the API-NG "Visualiser", so it isn't my code creating the JSON request that is the problem.
Is this a bug? Is only one base currency supported at this time? If not, what are some legal, non-default, values for this parameter?


Comment