Get Exchange Rates

Support for SOAP is deprecated starting with Unifier 23.10.

Description

This method will get exchange rates from the latest exchange rates record.

Support

Installation: ASP and Self host

Level Yes or No
Company Level Yes
Project/Shell Level No

Prototype

public XMLObject getExchangeRates(String shortname, String authcode);

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 B: Return Values.

Sample Method

getExchangeRates("acme", "acme_authcode", rates)