Creates an exchange rate.
post
/primeapi/restapi/v16.2/exchangeRate
Request
Supported Media Types
- application/json
Body Parameter
ExchangeRate to be created.
Root Schema : ApiEntityExchangeRate
Type:
object
- baseExchangeRate
-
Type:
number
The rate used to convert the value of a record to the base currency. - currencyId
-
Type:
integer
(int64
) - effectiveEndDate
-
Type:
string
(date-time
)The date the exchange rate ends. - effectiveStartDate
-
Type:
string
(date-time
)The date the exchange rate goes into effect. - exchangeRateId
-
Type:
integer
(int64
)Required:true
Response
Supported Media Types
- application/json
200 Response
successful operation
Body
Root Schema : ApiEntityExchangeRate
Type:
object
- baseExchangeRate
-
Type:
number
The rate used to convert the value of a record to the base currency. - currencyId
-
Type:
integer
(int64
) - effectiveEndDate
-
Type:
string
(date-time
)The date the exchange rate ends. - effectiveStartDate
-
Type:
string
(date-time
)The date the exchange rate goes into effect. - exchangeRateId
-
Type:
integer
(int64
)Required:true