GET api/v2/rate/{branch}/{package}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
branch

string

Required

package

string

Required

Body Parameters

None.

Response Information

Resource Description

ExcRateV2Response
NameDescriptionTypeAdditional information
RequestedDate

date

None.

BranchCode

string

None.

BranchName

string

None.

PackageCode

string

None.

PackageName

string

None.

IsNew

boolean

None.

MasteredDate

date

None.

MasteredDateNum

integer

None.

ExchangeRateGroups

Collection of ExchangeRateGroup

None.

StatusMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RequestedDate": "2026-01-02T06:20:52.0066855+07:00",
  "BranchCode": "sample string 2",
  "BranchName": "sample string 3",
  "PackageCode": "sample string 4",
  "PackageName": "sample string 5",
  "IsNew": true,
  "MasteredDate": "2026-01-02T06:20:52.0066855+07:00",
  "MasteredDateNum": 8,
  "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"
        }
      ],
      "Denominator": 5.0,
      "DenominatorText": "sample string 6"
    },
    {
      "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"
        }
      ],
      "Denominator": 5.0,
      "DenominatorText": "sample string 6"
    }
  ],
  "StatusMessage": "sample string 9"
}

application/xml, text/xml

Sample:
<ExcRateV2Response 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>
      <Denominator>5</Denominator>
      <DenominatorText>sample string 6</DenominatorText>
      <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>
      <Denominator>5</Denominator>
      <DenominatorText>sample string 6</DenominatorText>
      <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>2026-01-02T06:20:52.0066855+07:00</MasteredDate>
  <MasteredDateNum>8</MasteredDateNum>
  <StatusMessage>sample string 9</StatusMessage>
  <BranchCode>sample string 2</BranchCode>
  <BranchName>sample string 3</BranchName>
  <PackageCode>sample string 4</PackageCode>
  <PackageName>sample string 5</PackageName>
  <RequestedDate>2026-01-02T06:20:52.0066855+07:00</RequestedDate>
</ExcRateV2Response>