ICurrencyService2

Operations

NameSignatureDescription
BulkDeleteCurrencyBulkDeleteResults1 BulkDelete(CurrencyTargetParameter1[] currencies, Uri currencyBulkDeleteOption)Delete multiple currencies
CreateUpdateExchangeRateScheduleBatchUri CreateUpdateExchangeRateScheduleBatch(ExchangeRateParameter1[] exchangeRates)Operation CreateUpdateExchangeRateScheduleBatch
Deletevoid Delete(CurrencyTargetParameter1 currency)Delete a currency
DeleteExchangeRateScheduleEntryvoid DeleteExchangeRateScheduleEntry(Uri scheduleEntryUri)Remove a rate schedule entry; the preceeding entry will be extended to cover the specified entry's time period. An UnmodifiableScheduleEntryError1 error will occur when attempting to delete the initial rate entry.
Disablevoid Disable(CurrencyTargetParameter1 currency)Disable the currency so it cannot be used on any new rates
Enablevoid Enable(CurrencyTargetParameter1 currency)Enables the currency so it can be used
EnqueueAffectedExchangeRatesRecalculationvoid EnqueueAffectedExchangeRatesRecalculation(CurrencyTargetParameter1 currency, DateRangeParameter1 affecteDateRange)Enqueue work item that will recalculate all exchange rates affected by the provided currency.
GetAllCurrenciesCurrencyReference1[] GetAllCurrencies()Get All the currencies in the system
GetBaseCurrencyCurrencyReference1 GetBaseCurrency()Get the system base currency
GetCountOfExchangeRateScheduleInt32 GetCountOfExchangeRateSchedule(CurrencyPairTargetParameter1 currencyPair)Gets the number of exchnage rates for the given currency pair
GetCurrencyDetailsCurrencyDetails2 GetCurrencyDetails(CurrencyTargetParameter1 currency)Get details about a single currency
GetEnabledCurrenciesCurrencyReference1[] GetEnabledCurrencies()Get the currently enabled currencies
GetExchangeRateScheduleExchangeRateScheduleEntryDetails1[] GetExchangeRateSchedule(CurrencyPairTargetParameter1 currencyPair)Get the exchange rate schedule for the specified currency pair
GetExchangeRateScheduleDetailsExchangeRateScheduleEntryDetails1 GetExchangeRateScheduleDetails(CurrencyPairTargetParameter1 currencyPair, Date1 asOf)Get the exchange rate schedule entry for the specified currency pair on the specified date, or today if not specified
GetPageOfExchangeRateScheduleExchangeRateScheduleEntryDetails1[] GetPageOfExchangeRateSchedule(CurrencyPairTargetParameter1 currencyPair, Int32 page, Int32 pageSize)Get a page of the exchange rate schedule for the specified currency pair
GetUpdateExchangeRateScheduleBatchResults1UpdateExchangeRateScheduleBatchResults1 GetUpdateExchangeRateScheduleBatchResults1(Uri updateExchangeRateScheduleBatchUri)Operation GetUpdateExchangeRateScheduleBatchResults1
GetUriFromSlugUri GetUriFromSlug(String slug)Get the URI for the given slug.
PutCurrencyCurrencyReference1 PutCurrency(CurrencyParameter2 currency)Put the entire currency details. If the CurrencyParameter1.target.name is specified and does not exist, that currency will be created
PutExchangeRateSchedulevoid PutExchangeRateSchedule(CurrencyPairTargetParameter1 currencyPair, ExchangeRateScheduleParameter1 schedule)Put the entire exchange rate schedule for the specified currency pair
UpdateBaseCurrencyvoid UpdateBaseCurrency(CurrencyTargetParameter1 currency)Set the system base currency
UpdateExchangeRateScheduleEntryEffectiveDatevoid UpdateExchangeRateScheduleEntryEffectiveDate(Uri scheduleEntryUri, Date1 date)Modify the effective date of a specific rate schedule entry. An UnmodifiableScheduleEntryError1 error will occur when attempting to modify the date of the initial rate.
UpdateExchangeRateScheduleEntryValuevoid UpdateExchangeRateScheduleEntryValue(Uri scheduleEntryUri, Decimal rate)Modify the rate value of a specific rate schedule entry.
UpdateExchangeRateScheduleOverDateRangevoid UpdateExchangeRateScheduleOverDateRange(CurrencyPairTargetParameter1 currencyPair, DateRangeParameter1 dateRange, Decimal rate)Specifies the exchange rate to use for the specified currency pair over the specific date range. If the endDate is not specified, that rate will be used from the effectiveDate onwards.