Update Exchange Rates
Description
This method adds and updates exchange rates defined at company level.
Support
This applies to exchange rates at company level only.
Installation: ASP and Self host
Level | Yes or No |
---|---|
Company Level | Yes |
Project/Shell Level | No |
Prototype
public XMLObject updateExchangeRates(String shortname, String authcode, String rates;
Parameters
Parameter | Description |
---|---|
Shortname | identifier of the company, company's short name |
Authcode | authentication key for the company, in text string |
Rates | Exchange rates of one or more currency codes with respect to company base currency. |
Return Value
See Appendix A: Return Values.
Sample Method
updateExchangeRates ("acme", "acme_authcode", "XML")
Additional Information
User can add rates using Web Services call.
updateExchangeRates will always create new exchange rate record and will mark it "Active."
New currency codes can be added as part of this call.
If an invalid currency code is provided as part of currency code, that code will be ignored and other codes will be processed.
If the call is successful, new record with rates will be added.
Currency name is not mandatory. For valid currency codes, see Currencies and Codes.
Related Topics
Last Published Wednesday, April 9, 2025