GET api/Countries

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of InsCompCntModels
NameDescriptionTypeAdditional information
code

string

None.

country

string

None.

nationality

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "code": "sample string 1",
    "country": "sample string 2",
    "nationality": "sample string 3"
  },
  {
    "code": "sample string 1",
    "country": "sample string 2",
    "nationality": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInsCompCntModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiPromenna.Models">
  <InsCompCntModels>
    <code>sample string 1</code>
    <country>sample string 2</country>
    <nationality>sample string 3</nationality>
  </InsCompCntModels>
  <InsCompCntModels>
    <code>sample string 1</code>
    <country>sample string 2</country>
    <nationality>sample string 3</nationality>
  </InsCompCntModels>
</ArrayOfInsCompCntModels>