Skip to content

QueryExchangeRates

QueryExchangeRates

Possible Gateways

The following parameters are standard parameters for this command.

Command
COMMAND = QueryExchangeRates
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)
DATEWhen was the exchange rate last updated
CURRENCY_FROMCurrency from which will be converted
CURRENCY_TOCurrency, to which will be converted
RATEThe exchange rate between the two currencies
COUNTTotal number of exchange rates shown
LIMITThe limit given in the command

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)
CURRENCYFROMOptional
CURRENCYTOOptional
LIMITShow only this many items in the response (optional)
MAXDATEYYYY-MM-DD Optional
MINDATEYYYY-MM-DD Optional
GENERATELISTShow result on screen|Generate a CSV File and upload to ftp (optional)
SENDLISTEMAILEmail address where the CSV will be sent to (optional)