GET api/Country

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Country
NameDescriptionTypeAdditional information
CountryId

integer

None.

CountryName

string

None.

ISO2

string

None.

ISO3

string

None.

ISONumber

string

None.

CountryCode

string

None.

Currency

string

None.

CreatedDate

date

Data type: DateTime

CreatedBy

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CountryId": 1,
    "CountryName": "sample string 2",
    "ISO2": "sample string 3",
    "ISO3": "sample string 4",
    "ISONumber": "sample string 5",
    "CountryCode": "sample string 6",
    "Currency": "sample string 7",
    "CreatedDate": "2025-12-08T01:54:13.2207296+05:30",
    "CreatedBy": "sample string 9"
  },
  {
    "CountryId": 1,
    "CountryName": "sample string 2",
    "ISO2": "sample string 3",
    "ISO3": "sample string 4",
    "ISONumber": "sample string 5",
    "CountryCode": "sample string 6",
    "Currency": "sample string 7",
    "CreatedDate": "2025-12-08T01:54:13.2207296+05:30",
    "CreatedBy": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Domain.Entities">
  <Country>
    <CreatedBy>sample string 9</CreatedBy>
    <CreatedDate>2025-12-08T01:54:13.2207296+05:30</CreatedDate>
    <CountryCode>sample string 6</CountryCode>
    <CountryId>1</CountryId>
    <CountryName>sample string 2</CountryName>
    <Currency>sample string 7</Currency>
    <ISO2>sample string 3</ISO2>
    <ISO3>sample string 4</ISO3>
    <ISONumber>sample string 5</ISONumber>
  </Country>
  <Country>
    <CreatedBy>sample string 9</CreatedBy>
    <CreatedDate>2025-12-08T01:54:13.2207296+05:30</CreatedDate>
    <CountryCode>sample string 6</CountryCode>
    <CountryId>1</CountryId>
    <CountryName>sample string 2</CountryName>
    <Currency>sample string 7</Currency>
    <ISO2>sample string 3</ISO2>
    <ISO3>sample string 4</ISO3>
    <ISONumber>sample string 5</ISONumber>
  </Country>
</ArrayOfCountry>