Dee
Global Moderator
Legend

Karma: 0
Offline
Posts: 2037

|
 |
« on: February 27, 2010, 02:01:01 AM » |
|
We've implemented a new feature in Currency Rates XML Web Service - ability to perform conversion using historical data.
So, you can perform currency conversion using the rates from the past. This could be useful, for example, if you would like to see the difference between the price when the order was created, confirmed, paid and shipped.
To perform historical conversion, use the new function ConvertByDate.
Please be aware, that not all historical data is available. While we can assure you that you will get correct information for the last 12 months, some calls may return 0. For this reason we advise to use this feature with keys not limited by amount of calls.
We are going to update the sample application soon to reflect the use of new feature.
Another useful function is GetMinimalDate() - it will give you the minimal date you can use to retrieve the currency rate for that day.
|