PUT api/ExchangeRates/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
UpdateExchangeRateBindingModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
EffectiveDate | date |
None. |
|
CurrencyFromId | string |
String length: inclusive between 0 and 3 |
|
CurrencyToId | string |
String length: inclusive between 0 and 3 |
|
Value | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "EffectiveDate": "2025-06-26T13:48:46.1652686+00:00", "CurrencyFromId": "sample string 2", "CurrencyToId": "sample string 3", "Value": 1.0 }
application/xml, text/xml
Sample:
<UpdateExchangeRateBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <CurrencyFromId>sample string 2</CurrencyFromId> <CurrencyToId>sample string 3</CurrencyToId> <EffectiveDate>2025-06-26T13:48:46.1652686+00:00</EffectiveDate> <Id>1</Id> <Value>1</Value> </UpdateExchangeRateBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.