set Exchange Rates
PUT {{HostName}}/fof/config/v1/exchangeRates/set
provide valid currency code
beginDate : yyyy-mm-dd HH:MM:SS format
Request Body
{"rates"=>[{"hotelId"=>"{{hotelId}}", "exchangeType"=>["Cash"], "currency"=>{"code"=>"{{currencyCode}}"}, "beginDate"=>"2022-02-14 18:54:00.0", "buyRate"=>"0.6", "buyCommission"=>"1", "comment"=>"Canadian dollar exchange"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-hotelid | string | ||
Content-Type | string | ||
x-app-key | string |