Currency Ratio Service

saveCurrencyRatio

Changed on

Create 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
  • Auth
    none 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

locationCodestring required

The Code that identifies the Location in Crunchtime.

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