GET api/ExchangeRates

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ExchangeRateViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

EffectiveDate

date

None.

Value

decimal number

None.

CurrencyFromId

string

None.

CurrencyToId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EffectiveDate": "2025-06-26T13:32:22.1675542+00:00",
  "Value": 3.0,
  "CurrencyFromId": "sample string 4",
  "CurrencyToId": "sample string 5"
}

application/xml, text/xml

Sample:
<ExchangeRateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <CurrencyFromId>sample string 4</CurrencyFromId>
  <CurrencyToId>sample string 5</CurrencyToId>
  <EffectiveDate>2025-06-26T13:32:22.1675542+00:00</EffectiveDate>
  <Id>1</Id>
  <Value>3</Value>
</ExchangeRateViewModel>