Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Operation

This operation allow you to get a list of all the languages supported by the system.

GET
http://{urlName}/tesiproPMS/api/{version}/language


Request

This request has no parameters.

Example request

GET http://81.184.0.161:9696/tesiproPMS/api/v1/language


Response

Array of Language elements.

Entity


FieldTypeRequiredDescription
idinttrueUnique identifier for the Language.
codeISO6391StringtrueThe code of this Language according to ISO6391
nameStringtrueName of the Language.
nativeNameStringtrueThe name in its natural location

Example response

[
  {
    "id": 1,
    "codeISO6391": "ES",
    "name": "Spanish",
    "nativeName": "Español"
  },
  {
    "id": 2,
    "codeISO6391": "EN",
    "name": "English",
    "nativeName": "English"
  },
  {
    "id": 3,
    "codeISO6391": "CAT",
    "name": "Catalan",
    "nativeName": "Catalan"
  },
  {
    "id": 4,
    "codeISO6391": "DE",
    "name": "German",
    "nativeName": "Deutsch"
  },
  {
    "id": 5,
    "codeISO6391": "FR",
    "name": "French",
    "nativeName": "Français"
  },
  {
    "id": 6,
    "codeISO6391": "PT",
    "name": "Portuguese",
    "nativeName": "Português"
  },
  {
    "id": 7,
    "codeISO6391": "IT",
    "name": "Italian",
    "nativeName": "Italiano"
  }
]
  • No labels