POST api/Address/GetCountryList
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
GetCountryListResponseName | Description | Type | Additional information |
---|---|---|---|
ItemList | Collection of CountryItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "ItemList": [ { "Id": 1, "CountryCode": "sample string 2", "Name": "sample string 3", "IsSelected": true }, { "Id": 1, "CountryCode": "sample string 2", "Name": "sample string 3", "IsSelected": true } ] }
application/xml, text/xml
Sample:
<GetCountryListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response"> <ItemList> <GetCountryListResponse.CountryItem> <CountryCode>sample string 2</CountryCode> <Id>1</Id> <IsSelected>true</IsSelected> <Name>sample string 3</Name> </GetCountryListResponse.CountryItem> <GetCountryListResponse.CountryItem> <CountryCode>sample string 2</CountryCode> <Id>1</Id> <IsSelected>true</IsSelected> <Name>sample string 3</Name> </GetCountryListResponse.CountryItem> </ItemList> </GetCountryListResponse>