GET api/Country?IncludeNew={IncludeNew}&TopPicks={TopPicks}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
IncludeNew

boolean

Default value is False

TopPicks

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of CountryEntry
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

HasImage

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Name": "sample string 2",
    "HasImage": true
  },
  {
    "ID": 1,
    "Name": "sample string 2",
    "HasImage": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountryEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tutorial2Webservice.Controllers">
  <CountryEntry>
    <HasImage>true</HasImage>
    <ID>1</ID>
    <Name>sample string 2</Name>
  </CountryEntry>
  <CountryEntry>
    <HasImage>true</HasImage>
    <ID>1</ID>
    <Name>sample string 2</Name>
  </CountryEntry>
</ArrayOfCountryEntry>