GET metadata/codelists?language={language}

Retrieve a complete overview of all code lists available in the given language.

Request Information

Parameters

NameDescriptionAdditional information
queryOptions OData Query details. This object is created by the Framework based on parameters in the url.

None.

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

A complete list of all code lists and version variants available in the given language.

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "_links": {
    "self": {
      "href": "sample string 87"
    }
  },
  "_embedded": {
    "sample string 17": [
      {
        "Name": "sample string 6",
        "Version": 2,
        "Language": 3,
        "Codes": [
          {
            "Code": "sample string 34",
            "Value1": "sample string 11",
            "Value2": "sample string 76",
            "Value3": "sample string 88"
          },
          {
            "Code": "sample string 34",
            "Value1": "sample string 11",
            "Value2": "sample string 76",
            "Value3": "sample string 88"
          },
          {
            "Code": "sample string 34",
            "Value1": "sample string 11",
            "Value2": "sample string 76",
            "Value3": "sample string 88"
          }
        ],
        "_links": {
          "self": {
            "href": "sample string 25"
          }
        }
      },
      {
        "Name": "sample string 6",
        "Version": 2,
        "Language": 3,
        "Codes": [
          {
            "Code": "sample string 34",
            "Value1": "sample string 11",
            "Value2": "sample string 76",
            "Value3": "sample string 88"
          },
          {
            "Code": "sample string 34",
            "Value1": "sample string 11",
            "Value2": "sample string 76",
            "Value3": "sample string 88"
          },
          {
            "Code": "sample string 34",
            "Value1": "sample string 11",
            "Value2": "sample string 76",
            "Value3": "sample string 88"
          }
        ],
        "_links": {
          "self": {
            "href": "sample string 25"
          }
        }
      },
      {
        "Name": "sample string 6",
        "Version": 2,
        "Language": 3,
        "Codes": [
          {
            "Code": "sample string 34",
            "Value1": "sample string 11",
            "Value2": "sample string 76",
            "Value3": "sample string 88"
          },
          {
            "Code": "sample string 34",
            "Value1": "sample string 11",
            "Value2": "sample string 76",
            "Value3": "sample string 88"
          },
          {
            "Code": "sample string 34",
            "Value1": "sample string 11",
            "Value2": "sample string 76",
            "Value3": "sample string 88"
          }
        ],
        "_links": {
          "self": {
            "href": "sample string 25"
          }
        }
      }
    ]
  }
}