Method GetExchangeRates
GetExchangeRates(String, SelectionSettingsContract, String, String, String, String)
Read exchange rates
Declaration
ExchangeRatesResultContract GetExchangeRates(string connectionId, SelectionSettingsContract selectionSettings, string companyNumber, string currency, string reference, string from)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
SelectionSettingsContract | selectionSettings | Represents data reading settings |
System.String | companyNumber | Optional: Filter exchange rates with the company number, default: |
System.String | currency | Optional: Filter exchange rates with the currency, default: |
System.String | reference | Optional: Filter exchange rates with the reference currency, default: |
System.String | from | Optional: Filter exchange rates with the valid from date, default: |
Returns
Type | Description |
---|---|
ExchangeRatesResultContract | Returns a result package with all necessary informations |
Examples
PUT http://YourServerName/InfoShare/Json/Invoice/GetExchangeRates
Example for read exchange rates.Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |