CountryModel

Country model for ISO-3166

Methods

The following API methods use this data model.

Required Fields

countryCode

int32

Unique 3 digit number for the given country

regionCode

int32

Numeric code for a region

subRegionCode

int32

Numeric code for a subregion

intermediateRegionCode

int32

Numeric code for an intermediate region

Optional Fields

name

string, nullable, 0-100 characters

Name of the country

alpha2

string, nullable, 0-2 characters

2 letter alphabetic code for the given country

alpha3

string, nullable, 0-3 characters

3 letter alphabetic code for the given country

region

string, nullable, 0-100 characters

Region of the country

subRegion

string, nullable, 0-100 characters

Subregion of the country

intermediateRegion

string, nullable, 0-100 characters

Intermediate region of the country

frenchName

string, nullable, 0-100 characters

French name of the country

aliases

string, nullable

A different name for a country