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 34",
"Version": 2,
"Language": 3,
"Codes": [
{
"Code": "sample string 16",
"Value1": "sample string 33",
"Value2": "sample string 88",
"Value3": "sample string 38"
},
{
"Code": "sample string 16",
"Value1": "sample string 33",
"Value2": "sample string 88",
"Value3": "sample string 38"
},
{
"Code": "sample string 16",
"Value1": "sample string 33",
"Value2": "sample string 88",
"Value3": "sample string 38"
}
],
"_links": {
"self": {
"href": "sample string 35"
}
}
}
