GET api/private/SharedServices/GetAllCountries
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Domain.Postal.PostalCountryName | Description | Type | Additional information |
---|---|---|---|
CountryId | integer |
None. |
|
CountryCode | string |
None. |
|
CountryName | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CountryId": 1, "CountryCode": "sample string 2", "CountryName": "sample string 3" }, { "CountryId": 1, "CountryCode": "sample string 2", "CountryName": "sample string 3" } ]
text/xml
Sample:
<ArrayOfPostalCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Postal"> <PostalCountry> <CountryCode>sample string 2</CountryCode> <CountryId>1</CountryId> <CountryName>sample string 3</CountryName> </PostalCountry> <PostalCountry> <CountryCode>sample string 2</CountryCode> <CountryId>1</CountryId> <CountryName>sample string 3</CountryName> </PostalCountry> </ArrayOfPostalCountry>