Currency Ratio Service
saveCurrencyRatio
Changed onCreate a new currency exchange rate. Update a currency exchange rate details.
post/currencyratio/v1/saveCurrencyRatio
Request
- Base URL//webservices-test.net-chef.com (relative, and the document’s source URL is not known)
- URL//webservices-test.net-chef.com/currencyratio/v1/saveCurrencyRatio
- Authnone declared. Required headers: authenticationtoken, password, sitename, userid
Headers
authenticationtokenstring required
Secure token for API authentication.
passwordstring required
Password for the Crunchtime Application User.
sitenamestring required
Crunchtime site identifier. (test or production)
useridstring required
User ID for the Crunchtime Application User.
X-B3-TraceIdstring
Optional trace identifier for troubleshooting.
Request body
Example request
{
"currencyRatioDetails": [
{
"currencyRatioDetailDetails": [
{
"exchangeRate": 32.9,
"fromCurrencyCode": "USD",
"toCurrencyCode": "EUR"
}
]
}
],
"locationCode": "000000"
}Response
Success
object required
Changes
- breaking
the request property
////became required - info
the request property
////became optional
- breaking