GET api/Common/GetCountries
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResponseOfListOfCountryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
|
| Status | integer |
None. |
|
| Result | Collection of CountryModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Message": "sample string 2",
"Status": 3,
"Result": [
{
"CountryId": 1,
"CountryName": "sample string 2",
"CountryCode": 3
},
{
"CountryId": 1,
"CountryName": "sample string 2",
"CountryCode": 3
}
]
}
application/xml, text/xml
Sample:
<ResponseOfArrayOfCountryModel9bJQunWu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common">
<IsSuccess>true</IsSuccess>
<Message>sample string 2</Message>
<Result>
<CountryModel>
<CountryCode>3</CountryCode>
<CountryId>1</CountryId>
<CountryName>sample string 2</CountryName>
</CountryModel>
<CountryModel>
<CountryCode>3</CountryCode>
<CountryId>1</CountryId>
<CountryName>sample string 2</CountryName>
</CountryModel>
</Result>
<Status>3</Status>
</ResponseOfArrayOfCountryModel9bJQunWu>