GET api/Values/GetCurrencyTrackAsync?baseCurrencyCode={baseCurrencyCode}&counterCurrencyCode={counterCurrencyCode}&viewPoint={viewPoint}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
baseCurrencyCode

string

Required

counterCurrencyCode

string

Required

viewPoint

string

Required

Body Parameters

None.

Response Information

Resource Description

CurrencyTrack
NameDescriptionTypeAdditional information
Name

string

None.

ViewPoint

string

None.

BaseCurrencyCode

string

None.

CounterCurrencyCode

string

None.

Quotes

Collection of CurrencyQuote

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "ViewPoint": "sample string 2",
  "BaseCurrencyCode": "sample string 3",
  "CounterCurrencyCode": "sample string 4",
  "Quotes": [
    {
      "ID": 1,
      "BaseCurrencyCode": "sample string 2",
      "CounterCurrencyCode": "sample string 3",
      "DateCreated": "2021-09-26T18:51:19.4971659-07:00",
      "DateUpdated": "2021-09-26T18:51:19.4971659-07:00",
      "DateTime": "2021-09-26T18:51:19.4971659-07:00",
      "High": 1.0,
      "Low": 1.0,
      "Average": 1.0,
      "Open": 1.0,
      "Close": 1.0,
      "Volume": 1,
      "Value": 1.0
    },
    {
      "ID": 1,
      "BaseCurrencyCode": "sample string 2",
      "CounterCurrencyCode": "sample string 3",
      "DateCreated": "2021-09-26T18:51:19.4971659-07:00",
      "DateUpdated": "2021-09-26T18:51:19.4971659-07:00",
      "DateTime": "2021-09-26T18:51:19.4971659-07:00",
      "High": 1.0,
      "Low": 1.0,
      "Average": 1.0,
      "Open": 1.0,
      "Close": 1.0,
      "Volume": 1,
      "Value": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<CurrencyTrack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BUCKSTER.API.Models">
  <BaseCurrencyCode>sample string 3</BaseCurrencyCode>
  <CounterCurrencyCode>sample string 4</CounterCurrencyCode>
  <Name>sample string 1</Name>
  <Quotes xmlns:d2p1="http://schemas.datacontract.org/2004/07/BUCKSTER.BLL">
    <d2p1:CurrencyQuote>
      <d2p1:Average>1</d2p1:Average>
      <d2p1:BaseCurrencyCode>sample string 2</d2p1:BaseCurrencyCode>
      <d2p1:Close>1</d2p1:Close>
      <d2p1:CounterCurrencyCode>sample string 3</d2p1:CounterCurrencyCode>
      <d2p1:DateCreated>2021-09-26T18:51:19.4971659-07:00</d2p1:DateCreated>
      <d2p1:DateTime>2021-09-26T18:51:19.4971659-07:00</d2p1:DateTime>
      <d2p1:DateUpdated>2021-09-26T18:51:19.4971659-07:00</d2p1:DateUpdated>
      <d2p1:High>1</d2p1:High>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:Low>1</d2p1:Low>
      <d2p1:Open>1</d2p1:Open>
      <d2p1:Value>1</d2p1:Value>
      <d2p1:Volume>1</d2p1:Volume>
    </d2p1:CurrencyQuote>
    <d2p1:CurrencyQuote>
      <d2p1:Average>1</d2p1:Average>
      <d2p1:BaseCurrencyCode>sample string 2</d2p1:BaseCurrencyCode>
      <d2p1:Close>1</d2p1:Close>
      <d2p1:CounterCurrencyCode>sample string 3</d2p1:CounterCurrencyCode>
      <d2p1:DateCreated>2021-09-26T18:51:19.4971659-07:00</d2p1:DateCreated>
      <d2p1:DateTime>2021-09-26T18:51:19.4971659-07:00</d2p1:DateTime>
      <d2p1:DateUpdated>2021-09-26T18:51:19.4971659-07:00</d2p1:DateUpdated>
      <d2p1:High>1</d2p1:High>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:Low>1</d2p1:Low>
      <d2p1:Open>1</d2p1:Open>
      <d2p1:Value>1</d2p1:Value>
      <d2p1:Volume>1</d2p1:Volume>
    </d2p1:CurrencyQuote>
  </Quotes>
  <ViewPoint>sample string 2</ViewPoint>
</CurrencyTrack>