QueryExchangeRates
QueryExchangeRates
Possible Gateways
The command QueryExchangeRates is available via the following gateways:
Required Parameters
The following parameters are standard parameters for this command.
Command
COMMAND = QueryExchangeRatesResponse
code = (INT)
description = (TEXT)
property[DATE][n] = (DATE)
property[CURRENCY_FROM][n] = (TEXT)
property[CURRENCY_TO][n] = (TEXT)
property[RATE][n] = (DECIMAL)
property[COUNT][0] = (INT)
property[LIMIT][0] = (INT)Attributes
| DATE | When was the exchange rate last updated |
| CURRENCY_FROM | Currency from which will be converted |
| CURRENCY_TO | Currency, to which will be converted |
| RATE | The exchange rate between the two currencies |
| COUNT | Total number of exchange rates shown |
| LIMIT | The limit given in the command |
Optional
The following parameters are optional for this command.
Command
COMMAND = QueryExchangeRates
CURRENCYFROM = (TEXT)
CURRENCYTO = (TEXT)
LIMIT = (INT)
MAXDATE = (DATE)
MINDATE = (DATE)
GENERATELIST = 0|1
SENDLISTEMAIL = (EMAILS)Response
code = (INT)
description = (TEXT)
property[DATE][n] = (DATE)
property[CURRENCY_FROM][n] = (TEXT)
property[CURRENCY_TO][n] = (TEXT)
property[RATE][n] = (DECIMAL)
property[COUNT][0] = (INT)
property[LIMIT][0] = (INT)Attributes
| CURRENCYFROM | Optional |
| CURRENCYTO | Optional |
| LIMIT | Show only this many items in the response (optional) |
| MAXDATE | YYYY-MM-DD Optional |
| MINDATE | YYYY-MM-DD Optional |
| GENERATELIST | Show result on screen|Generate a CSV File and upload to ftp (optional) |
| SENDLISTEMAIL | Email address where the CSV will be sent to (optional) |