GET api/Country/all
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CmsCountryName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
DescEnglish | string |
None. |
|
DescFrench | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "DescEnglish": "sample string 2", "DescFrench": "sample string 3" }, { "ID": 1, "DescEnglish": "sample string 2", "DescFrench": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfCmsCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Opimian.Wimps.DTO.CmsDTOs"> <CmsCountry> <DescEnglish>sample string 2</DescEnglish> <DescFrench>sample string 3</DescFrench> <ID>1</ID> </CmsCountry> <CmsCountry> <DescEnglish>sample string 2</DescEnglish> <DescFrench>sample string 3</DescFrench> <ID>1</ID> </CmsCountry> </ArrayOfCmsCountry>