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 49",
  "Version": 2,
  "Language": 3,
  "Codes": [
    {
      "Code": "sample string 94",
      "Value1": "sample string 26",
      "Value2": "sample string 40",
      "Value3": "sample string 42"
    },
    {
      "Code": "sample string 94",
      "Value1": "sample string 26",
      "Value2": "sample string 40",
      "Value3": "sample string 42"
    },
    {
      "Code": "sample string 94",
      "Value1": "sample string 26",
      "Value2": "sample string 40",
      "Value3": "sample string 42"
    }
  ],
  "_links": {
    "self": {
      "href": "sample string 16"
    }
  }
}