Returns a list of countries
Description
Used to return a collection of countries. The Country
class contains the following data:
short Code; string CountryEnm; string CountryFnm; string CountryAbbr3Lbl; string CountryAbbr2Lbl; string CountryCommentEtxt; string CountryCommentFtxt; string CountryShortEnm; string CountryShortFnm;
Package Details
Interface
IAddressManager
Syntax
_addressManager.GetAllCountries();
Returns
Task<ICollection<Country>>
API
[GET] /api/v1/countries
Returns
200 - Ok
Example
var countries = await _addressManager.GetAllCountries();