GET api/v1/utility/country-select-list
Get the country list
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CountrySelectListDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryId | integer |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"countryId": 1,
"name": "sample string 2"
},
{
"countryId": 1,
"name": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfCountrySelectListDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Workpilot.ServiceLayer.Models">
<CountrySelectListDto>
<CountryId>1</CountryId>
<Name>sample string 2</Name>
</CountrySelectListDto>
<CountrySelectListDto>
<CountryId>1</CountryId>
<Name>sample string 2</Name>
</CountrySelectListDto>
</ArrayOfCountrySelectListDto>