GET metadata/codelists/{name}/{version}?language={language}
Retrieve a specific code list in the given language if available.
Request Information
Parameters
Name | Description | Additional 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 15", "Version": 2, "Language": 3, "Codes": [ { "Code": "sample string 21", "Value1": "sample string 40", "Value2": "sample string 78", "Value3": "sample string 50" }, { "Code": "sample string 21", "Value1": "sample string 40", "Value2": "sample string 78", "Value3": "sample string 50" }, { "Code": "sample string 21", "Value1": "sample string 40", "Value2": "sample string 78", "Value3": "sample string 50" } ], "_links": { "self": { "href": "sample string 3" } } }