GET api/Country

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

System.Collections.Generic.IEnumerable`1[Altai.Web.Services.Models.Country]
NameDescriptionTypeAdditional information
Id

System.String

None.

Code

System.String

None.

Name

System.String

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "Code": "sample string 2",
    "Name": "sample string 3"
  },
  {
    "Id": "sample string 1",
    "Code": "sample string 2",
    "Name": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models">
  <Country>
    <Code>sample string 2</Code>
    <Id>sample string 1</Id>
    <Name>sample string 3</Name>
  </Country>
  <Country>
    <Code>sample string 2</Code>
    <Id>sample string 1</Id>
    <Name>sample string 3</Name>
  </Country>
</ArrayOfCountry>