Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Get a country subdivision by subdivision code.

Description

Retrieves a country subdivision by its subdivision code

Package Details

Interface

IAddressManager

Syntax

_addressManager.GetCountrySubdivisionByCode(string subdivisionCode, string countryIsoCode)

Returns

Task<CountrySubdivision>

API

/api/v1/countrySubdivisions/{code}"

Parameters

subdivisionCode[string] : Country Subdivision code

countryIsoCode[string]: Three letter ISO code of the country you want to retrieve the subdivision for

Returns

200 OK - Country subdivision details.

Example

string subdivisionCode = "ON";

string countryIsoCode = "124";
var countrySubdivision = await addressManager.GetCountrySubdivisionByCode(string subdivisionCode, string countryIsoCode);

  • No labels