GET api/Languages

Returns all languages available for the system.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Language
NameDescriptionTypeAdditional information
Id

integer

None.

Code

Two letter language code

string

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Code": "da",
    "Name": "Dansk"
  },
  {
    "Id": 2,
    "Code": "de",
    "Name": "Tysk"
  },
  {
    "Id": 3,
    "Code": "en",
    "Name": "Engelsk"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLanguage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GuideDenmark.External.Data.Model">
  <Language>
    <Code>da</Code>
    <Id>1</Id>
    <Name>Dansk</Name>
  </Language>
  <Language>
    <Code>de</Code>
    <Id>2</Id>
    <Name>Tysk</Name>
  </Language>
  <Language>
    <Code>en</Code>
    <Id>3</Id>
    <Name>Engelsk</Name>
  </Language>
</ArrayOfLanguage>