GET Api/Company/GetCountryList
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Country| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| country_code_id | integer |
None. |
|
| country_name | string |
None. |
|
| lng | integer |
None. |
|
| lat | integer |
None. |
|
| region | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"country_code_id": 2,
"country_name": "sample string 3",
"lng": 4,
"lat": 5,
"region": "sample string 6"
},
{
"id": 1,
"country_code_id": 2,
"country_name": "sample string 3",
"lng": 4,
"lat": 5,
"region": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGACoreApp.Models">
<Country>
<country_code_id>2</country_code_id>
<country_name>sample string 3</country_name>
<id>1</id>
<lat>5</lat>
<lng>4</lng>
<region>sample string 6</region>
</Country>
<Country>
<country_code_id>2</country_code_id>
<country_name>sample string 3</country_name>
<id>1</id>
<lat>5</lat>
<lng>4</lng>
<region>sample string 6</region>
</Country>
</ArrayOfCountry>
multipart/form-data
Sample:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGACoreApp.Models"><Country><country_code_id>2</country_code_id><country_name>sample string 3</country_name><id>1</id><lat>5</lat><lng>4</lng><region>sample string 6</region></Country><Country><country_code_id>2</country_code_id><country_name>sample string 3</country_name><id>1</id><lat>5</lat><lng>4</lng><region>sample string 6</region></Country></ArrayOfCountry>