GET api/CountryCurrency/GetCountryCurrencyInfo?t={t}

Get the global country/currency Info.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
t

string

Required

Body Parameters

None.

Response Information

Resource Description

The country/currency info (CountryCurrencyInfo).

CountryCurrencyInfo
NameDescriptionTypeAdditional information
CountryList

Collection of CountryInfo

None.

CurrencyList

Collection of CurrencyInfo

None.

Mapping

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "CountryList": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Code2": "sample string 3",
      "Code3": "sample string 4"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Code2": "sample string 3",
      "Code3": "sample string 4"
    }
  ],
  "CurrencyList": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Code": "sample string 3"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Code": "sample string 3"
    }
  ],
  "Mapping": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<CountryCurrencyInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BondEdge.Equity">
  <CountryList>
    <CountryInfo>
      <Code2>sample string 3</Code2>
      <Code3>sample string 4</Code3>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </CountryInfo>
    <CountryInfo>
      <Code2>sample string 3</Code2>
      <Code3>sample string 4</Code3>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </CountryInfo>
  </CountryList>
  <CurrencyList>
    <CurrencyInfo>
      <Code>sample string 3</Code>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </CurrencyInfo>
    <CurrencyInfo>
      <Code>sample string 3</Code>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </CurrencyInfo>
  </CurrencyList>
  <Mapping xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Mapping>
</CountryCurrencyInfo>