GET api/Country/List
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CountryName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "d95613a4-bf60-4a64-a794-ecacf80a8ae6", "Name": "sample string 2" }, { "Id": "d95613a4-bf60-4a64-a794-ecacf80a8ae6", "Name": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <Country> <Id>d95613a4-bf60-4a64-a794-ecacf80a8ae6</Id> <Name>sample string 2</Name> </Country> <Country> <Id>d95613a4-bf60-4a64-a794-ecacf80a8ae6</Id> <Name>sample string 2</Name> </Country> </ArrayOfCountry>