GET api/rate

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

CurrentExchangeRatesContainer
NameDescriptionTypeAdditional information
IsNew

boolean

None.

MasteredDate

date

None.

MasteredDateNum

integer

None.

ExchangeRateGroups

Collection of ExchangeRateGroup

None.

StatusMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsNew": true,
  "MasteredDate": "2025-12-06T10:56:46.9239797+07:00",
  "MasteredDateNum": 3,
  "ExchangeRateGroups": [
    {
      "Sequence": 1,
      "CategoryCode": "sample string 2",
      "CategoryName": "sample string 3",
      "CountryName": "sample string 4",
      "ExchangeRates": [
        {
          "Sequence": 1,
          "CategoryCode": "sample string 2",
          "ProductCode": "sample string 3",
          "Description": "sample string 4",
          "BuyRate": 5.0,
          "BuyRateText": "sample string 6",
          "SellRate": 7.0,
          "SellRateText": "sample string 8"
        },
        {
          "Sequence": 1,
          "CategoryCode": "sample string 2",
          "ProductCode": "sample string 3",
          "Description": "sample string 4",
          "BuyRate": 5.0,
          "BuyRateText": "sample string 6",
          "SellRate": 7.0,
          "SellRateText": "sample string 8"
        }
      ]
    },
    {
      "Sequence": 1,
      "CategoryCode": "sample string 2",
      "CategoryName": "sample string 3",
      "CountryName": "sample string 4",
      "ExchangeRates": [
        {
          "Sequence": 1,
          "CategoryCode": "sample string 2",
          "ProductCode": "sample string 3",
          "Description": "sample string 4",
          "BuyRate": 5.0,
          "BuyRateText": "sample string 6",
          "SellRate": 7.0,
          "SellRateText": "sample string 8"
        },
        {
          "Sequence": 1,
          "CategoryCode": "sample string 2",
          "ProductCode": "sample string 3",
          "Description": "sample string 4",
          "BuyRate": 5.0,
          "BuyRateText": "sample string 6",
          "SellRate": 7.0,
          "SellRateText": "sample string 8"
        }
      ]
    }
  ],
  "StatusMessage": "sample string 4"
}

application/xml, text/xml

Sample:
<CurrentExchangeRatesContainer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XOneApi.DataModels.ResultModels">
  <ExchangeRateGroups>
    <ExchangeRateGroup>
      <CategoryCode>sample string 2</CategoryCode>
      <CategoryName>sample string 3</CategoryName>
      <CountryName>sample string 4</CountryName>
      <ExchangeRates>
        <ExchangeRateItem>
          <BuyRate>5</BuyRate>
          <BuyRateText>sample string 6</BuyRateText>
          <CategoryCode>sample string 2</CategoryCode>
          <Description>sample string 4</Description>
          <ProductCode>sample string 3</ProductCode>
          <SellRate>7</SellRate>
          <SellRateText>sample string 8</SellRateText>
          <Sequence>1</Sequence>
        </ExchangeRateItem>
        <ExchangeRateItem>
          <BuyRate>5</BuyRate>
          <BuyRateText>sample string 6</BuyRateText>
          <CategoryCode>sample string 2</CategoryCode>
          <Description>sample string 4</Description>
          <ProductCode>sample string 3</ProductCode>
          <SellRate>7</SellRate>
          <SellRateText>sample string 8</SellRateText>
          <Sequence>1</Sequence>
        </ExchangeRateItem>
      </ExchangeRates>
      <Sequence>1</Sequence>
    </ExchangeRateGroup>
    <ExchangeRateGroup>
      <CategoryCode>sample string 2</CategoryCode>
      <CategoryName>sample string 3</CategoryName>
      <CountryName>sample string 4</CountryName>
      <ExchangeRates>
        <ExchangeRateItem>
          <BuyRate>5</BuyRate>
          <BuyRateText>sample string 6</BuyRateText>
          <CategoryCode>sample string 2</CategoryCode>
          <Description>sample string 4</Description>
          <ProductCode>sample string 3</ProductCode>
          <SellRate>7</SellRate>
          <SellRateText>sample string 8</SellRateText>
          <Sequence>1</Sequence>
        </ExchangeRateItem>
        <ExchangeRateItem>
          <BuyRate>5</BuyRate>
          <BuyRateText>sample string 6</BuyRateText>
          <CategoryCode>sample string 2</CategoryCode>
          <Description>sample string 4</Description>
          <ProductCode>sample string 3</ProductCode>
          <SellRate>7</SellRate>
          <SellRateText>sample string 8</SellRateText>
          <Sequence>1</Sequence>
        </ExchangeRateItem>
      </ExchangeRates>
      <Sequence>1</Sequence>
    </ExchangeRateGroup>
  </ExchangeRateGroups>
  <IsNew>true</IsNew>
  <MasteredDate>2025-12-06T10:56:46.9239797+07:00</MasteredDate>
  <MasteredDateNum>3</MasteredDateNum>
  <StatusMessage>sample string 4</StatusMessage>
</CurrentExchangeRatesContainer>