Znode

GET countries/{countryCode}

Gets a country.

Request Information

» Parameters

Name Description Additional information
countryCode The 2-character country code.

Define this parameter in the request URI.

» Expands

Name Description Usage
states This will retrieve the related list of states. GET countries/{countryCode}?expand=states

Response Information

» Response Body Formats

If this endpoint supports expands, they will be included in the sample response body below. However, please note that expands are NOT included in the response body by default. Expands are only included in the response body if they came through as part of the request.

Sample:
	{
  "Country": {
    "Code": "US",
    "DisplayOrder": 0,
    "IsActive": true,
    "Name": "UNITED STATES",
    "States": []
  },
  "ErrorCode": null,
  "ErrorMessage": null,
  "HasError": false
}