Get all country subdivisions
Description
Retrieves a list of all country subdivisions. A subdivision is a state or a province for a specific country.
For example, Ontario is a subdivision for the country of Canada.
Package Details
Interface
IAddressManager
Syntax
_addressManager.GetAllSubdivisions()
Returns
Task<ICollection<CountrySubdivision>>
API
[GET] /api/v1/provinces
Returns
200 OK - List of country subdivisions
Example
var subdivisionList = await addressesManager.GetAllSubdivisions();