Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

Interface

IAddressManager

Syntax

_addressManagerAddressManager.GetAllSubdivisions()

Returns

Task<ICollection<CountrySubdivision>>

API

[GET] /api/v1/provincescountry-subdivisions

Returns

200 OK - List of all available country subdivisions

Example

Code Block
languagec#
var subdivisionList = await addressesManager.GetAllSubdivisions();