GET api/Contact/GetCountry

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CountryDto
NameDescriptionTypeAdditional information
CountryId

integer

None.

CountryName

string

None.

CountryCode

string

None.

IsActive

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CountryId": 1,
    "CountryName": "sample string 2",
    "CountryCode": "sample string 3",
    "IsActive": true
  },
  {
    "CountryId": 1,
    "CountryName": "sample string 2",
    "CountryCode": "sample string 3",
    "IsActive": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipponDAL">
  <CountryDto>
    <CountryCode>sample string 3</CountryCode>
    <CountryId>1</CountryId>
    <CountryName>sample string 2</CountryName>
    <IsActive>true</IsActive>
  </CountryDto>
  <CountryDto>
    <CountryCode>sample string 3</CountryCode>
    <CountryId>1</CountryId>
    <CountryName>sample string 2</CountryName>
    <IsActive>true</IsActive>
  </CountryDto>
</ArrayOfCountryDto>