Create an Exchange Rate
post
/exchangeRates
Request
Header Parameters
-
Prefer:
An optional header parameter that allows you to process the request asynchronously. Set the request header "Prefer" to "respond-async" for asynchronous processing. For synchronous processing, leave the parameter blank or do not define it.
Supported Media Types
- application/vnd.oracle.resource+json;type=singular
Root Schema : schema
Type:
Show Source
object
-
description: string
A description of the exchange rate.
-
domainName: string
No description.
-
exchangeRateByDates:
exchangeRateByDates
-
exchangeRateGid: string
The GID for the exchange rate.
-
exchangeRateXid: string
The XID for the exchange rate.
-
fractionalDigits: number
(int32)
Limits the amount of digits for the fractional part when using the exchange rate. The European Union, for example, standardizes all currency calculations to six significant figures.
-
insertDate:
insertDate
Read Only:
true
insert date -
isOverride: boolean
A Y/N flag to indicate searching the default exchange rate record for all rates not specifically outlined in this exchange rate data.
-
links: array
links
Read Only:
true
-
maximumPrecision: number
(int32)
Limits the amount of digits for the whole and fractional part when using the exchange rate. The total number of digits is split variably between the whole and the fractional part of the exchange rate. If you leave the field empty, the precision is assumed to be 38 digits.
-
updateDate:
updateDate
Read Only:
true
update date
Nested Schema : exchangeRateByDates
Type:
Show Source
object
-
items: array
items
-
links: array
links
Read Only:
true
Nested Schema : exchangeRates.exchangeRateByDates
Type:
Show Source
object
-
currencyExchangeRates:
currencyExchangeRates
-
domainName: string
No description.
-
effectiveDate:
effectiveDate
The effective date for this exchange rate.
-
expirationDate:
expirationDate
The expiration date for this exchange rate.
-
links: array
links
Read Only:
true
Nested Schema : currencyExchangeRates
Type:
Show Source
object
-
items: array
items
-
links: array
links
Read Only:
true
Nested Schema : exchangeRates.exchangeRateByDates.currencyExchangeRates
Type:
Show Source
object
-
currencyExchangeRateId: number
(int64)
The XID of the exchange rate.
-
domainName: string
No description.
-
exchangeRate: number
(double)
Contains the actual exchange rate.
-
fractionalDigits: number
(int32)
Specifies different precision limits than the main Exchange Rate data. Enter the maximum precision and number of fractional digits in the Max Precision and Fractional Digits fields.
-
fromCurrencyGid: string
The GID for the currency to be calculated into a different currency.
-
links: array
links
Read Only:
true
-
maximumPrecision: number
(int32)
'Specifies different precision limits than the main exchange rate data. Enter the maximum precision and number of fractional digits in the Max Precision and Fractional Digits fields.
-
toCurrencyGid: string
The GID for the currency into which the original currency was calculated.
-
triangulationCurrencyGid: string
Use the Triangulation Currency field if you want to convert to an intermediate currency before the currency in the To Currency field. For example, you may want to convert from Pesetas to Euros before finally converting the rate to Yen.
Response
Supported Media Types
- application/vnd.oracle.resource+json;type=singular
Default Response
Default Response.
Root Schema : schema
Type:
Show Source
object
-
description: string
A description of the exchange rate.
-
domainName: string
No description.
-
exchangeRateByDates:
exchangeRateByDates
-
exchangeRateGid: string
The GID for the exchange rate.
-
exchangeRateXid: string
The XID for the exchange rate.
-
fractionalDigits: number
(int32)
Limits the amount of digits for the fractional part when using the exchange rate. The European Union, for example, standardizes all currency calculations to six significant figures.
-
insertDate:
insertDate
Read Only:
true
insert date -
isOverride: boolean
A Y/N flag to indicate searching the default exchange rate record for all rates not specifically outlined in this exchange rate data.
-
links: array
links
Read Only:
true
-
maximumPrecision: number
(int32)
Limits the amount of digits for the whole and fractional part when using the exchange rate. The total number of digits is split variably between the whole and the fractional part of the exchange rate. If you leave the field empty, the precision is assumed to be 38 digits.
-
updateDate:
updateDate
Read Only:
true
update date
Nested Schema : exchangeRateByDates
Type:
Show Source
object
-
items: array
items
-
links: array
links
Read Only:
true
Nested Schema : exchangeRates.exchangeRateByDates
Type:
Show Source
object
-
currencyExchangeRates:
currencyExchangeRates
-
domainName: string
No description.
-
effectiveDate:
effectiveDate
The effective date for this exchange rate.
-
expirationDate:
expirationDate
The expiration date for this exchange rate.
-
links: array
links
Read Only:
true
Nested Schema : currencyExchangeRates
Type:
Show Source
object
-
items: array
items
-
links: array
links
Read Only:
true
Nested Schema : exchangeRates.exchangeRateByDates.currencyExchangeRates
Type:
Show Source
object
-
currencyExchangeRateId: number
(int64)
The XID of the exchange rate.
-
domainName: string
No description.
-
exchangeRate: number
(double)
Contains the actual exchange rate.
-
fractionalDigits: number
(int32)
Specifies different precision limits than the main Exchange Rate data. Enter the maximum precision and number of fractional digits in the Max Precision and Fractional Digits fields.
-
fromCurrencyGid: string
The GID for the currency to be calculated into a different currency.
-
links: array
links
Read Only:
true
-
maximumPrecision: number
(int32)
'Specifies different precision limits than the main exchange rate data. Enter the maximum precision and number of fractional digits in the Max Precision and Fractional Digits fields.
-
toCurrencyGid: string
The GID for the currency into which the original currency was calculated.
-
triangulationCurrencyGid: string
Use the Triangulation Currency field if you want to convert to an intermediate currency before the currency in the To Currency field. For example, you may want to convert from Pesetas to Euros before finally converting the rate to Yen.