GET api/country
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of country| Name | Description | Type | Additional information |
|---|---|---|---|
| COUNTRY_ID | integer |
None. |
|
| COUNTRY_NM | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"COUNTRY_ID": 1,
"COUNTRY_NM": "sample string 1"
},
{
"COUNTRY_ID": 1,
"COUNTRY_NM": "sample string 1"
}
]
application/xml, text/xml
Sample:
<ArrayOfcountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControllerLibrary">
<country>
<COUNTRY_ID>1</COUNTRY_ID>
<COUNTRY_NM>sample string 1</COUNTRY_NM>
</country>
<country>
<COUNTRY_ID>1</COUNTRY_ID>
<COUNTRY_NM>sample string 1</COUNTRY_NM>
</country>
</ArrayOfcountry>