GET api/Currency/GetConversionRate?CurrencyID={CurrencyID}&APIKey={APIKey}

Get Conversion factor by CurrencyID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CurrencyID

integer

None.

APIKey

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ConversionRateDataModel
NameDescriptionTypeAdditional information
CurrencyWithEffectiveDateID

integer

None.

CurrencyISOCode

string

None.

CurrencyID

integer

None.

FromDate

date

None.

ToDate

date

None.

ForBuy

decimal number

None.

ForSale

decimal number

None.

AddedBy

integer

None.

Response Formats

application/json, text/json, text/plain, text/html

Sample:
[
  {
    "currencyWithEffectiveDateID": 1,
    "currencyISOCode": "sample string 2",
    "currencyID": 1,
    "fromDate": "2025-07-17T04:05:34.6894845+00:00",
    "toDate": "2025-07-17T04:05:34.6894845+00:00",
    "forBuy": 3.0,
    "forSale": 4.0,
    "addedBy": 1
  },
  {
    "currencyWithEffectiveDateID": 1,
    "currencyISOCode": "sample string 2",
    "currencyID": 1,
    "fromDate": "2025-07-17T04:05:34.6894845+00:00",
    "toDate": "2025-07-17T04:05:34.6894845+00:00",
    "forBuy": 3.0,
    "forSale": 4.0,
    "addedBy": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfConversionRateDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">
  <ConversionRateDataModel>
    <AddedBy>1</AddedBy>
    <CurrencyID>1</CurrencyID>
    <CurrencyISOCode>sample string 2</CurrencyISOCode>
    <CurrencyWithEffectiveDateID>1</CurrencyWithEffectiveDateID>
    <ForBuy>3</ForBuy>
    <ForSale>4</ForSale>
    <FromDate>2025-07-17T04:05:34.6894845+00:00</FromDate>
    <ToDate>2025-07-17T04:05:34.6894845+00:00</ToDate>
  </ConversionRateDataModel>
  <ConversionRateDataModel>
    <AddedBy>1</AddedBy>
    <CurrencyID>1</CurrencyID>
    <CurrencyISOCode>sample string 2</CurrencyISOCode>
    <CurrencyWithEffectiveDateID>1</CurrencyWithEffectiveDateID>
    <ForBuy>3</ForBuy>
    <ForSale>4</ForSale>
    <FromDate>2025-07-17T04:05:34.6894845+00:00</FromDate>
    <ToDate>2025-07-17T04:05:34.6894845+00:00</ToDate>
  </ConversionRateDataModel>
</ArrayOfConversionRateDataModel>

multipart/form-data

Sample:
<ArrayOfConversionRateDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"><ConversionRateDataModel><AddedBy>1</AddedBy><CurrencyID>1</CurrencyID><CurrencyISOCode>sample string 2</CurrencyISOCode><CurrencyWithEffectiveDateID>1</CurrencyWithEffectiveDateID><ForBuy>3</ForBuy><ForSale>4</ForSale><FromDate>2025-07-17T04:05:34.6894845+00:00</FromDate><ToDate>2025-07-17T04:05:34.6894845+00:00</ToDate></ConversionRateDataModel><ConversionRateDataModel><AddedBy>1</AddedBy><CurrencyID>1</CurrencyID><CurrencyISOCode>sample string 2</CurrencyISOCode><CurrencyWithEffectiveDateID>1</CurrencyWithEffectiveDateID><ForBuy>3</ForBuy><ForSale>4</ForSale><FromDate>2025-07-17T04:05:34.6894845+00:00</FromDate><ToDate>2025-07-17T04:05:34.6894845+00:00</ToDate></ConversionRateDataModel></ArrayOfConversionRateDataModel>