POST api/Countries/Search
Retrieves a list of Countries
Request Information
URI Parameters
None.
Body Parameters
EskimoClassLibraries.CountriesArgumentsNone.
Request Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<CountriesArguments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries" />
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of EskimoClassLibraries.clsCountryName | Description | Type | Additional information |
---|---|---|---|
EskimoCountryID |
The numeric ID of the Country as generated from Eskimo |
integer |
Required |
CountryName | string |
Required String length: inclusive between 0 and 50 |
|
ISOCode | string |
Required String length: inclusive between 2 and 2 |
Response Formats
application/json, text/json
Sample:
[ { "EskimoCountryID": 1, "CountryName": "sample string 2", "ISOCode": "sample string 3" }, { "EskimoCountryID": 1, "CountryName": "sample string 2", "ISOCode": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfclsCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries"> <clsCountry> <CountryName>sample string 2</CountryName> <EskimoCountryID>1</EskimoCountryID> <ISOCode>sample string 3</ISOCode> </clsCountry> <clsCountry> <CountryName>sample string 2</CountryName> <EskimoCountryID>1</EskimoCountryID> <ISOCode>sample string 3</ISOCode> </clsCountry> </ArrayOfclsCountry>