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