GET metadata/codelists/{name}/{version}?language={language}

Retrieve a specific code list in the given language if available.

Request Information

Parameters

NameDescriptionAdditional information
name The name of the code list to get.

Define this parameter in the request URI.

version A specific version of the code list. Default version will be latest.

Define this parameter in the request URI.

language Language, valid values are: 1033 (English), 1044 (Bokmal) and 2068 (Nynorsk). This is an optional parameter. The default language is Norwegian (1044).

Define this parameter in the request URI.

Response Information

The identified code list if found. Otherwise 404 message.

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "Name": "sample string 11",
  "Version": 2,
  "Language": 3,
  "Codes": [
    {
      "Code": "sample string 70",
      "Value1": "sample string 82",
      "Value2": "sample string 3",
      "Value3": "sample string 3"
    },
    {
      "Code": "sample string 70",
      "Value1": "sample string 82",
      "Value2": "sample string 3",
      "Value3": "sample string 3"
    },
    {
      "Code": "sample string 70",
      "Value1": "sample string 82",
      "Value2": "sample string 3",
      "Value3": "sample string 3"
    }
  ],
  "_links": {
    "self": {
      "href": "sample string 8"
    }
  }
}