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

Version 1 Next »

Get a specific Canadian Province by code

Description
Retrieves a specific Canadian Province by code.

Package Details
Interface
IAddressManager

Syntax
IAddressManager.GetProvinceByCode(string provinceCode)

Returns
CountrySubdivision

API
[GET] /api/v1/provinces/{code}

Parameter

code- alphabetical code

Returns
200 OK - Canadian Province

Example

var code = "QC";

var subdivisionList = await addressesManager.GetProvinceByCode(code);

  • No labels