Languages

List Languages

GET /api/.../patrons/{id}/languages?includeEmptyObject=true

Returns list of all languages. If 'includeEmptyObject' is set to true, include the '(None)' entry.

Request Information

Parameters
Name Type Required Description
includeEmptyObject Boolean No Set to 'true' to return an empty object with LanguageID set to '0' and Name set to '(None)'. This may be used when populating a listbox for a user selection.

Response Information

Example
application/json, text/json
[
  {
    "LanguageID": 1,
    "LanguageDesc": "sample string 2",
    "NcipValue": "sample string 3",
    "AdminLanguageID": 1
  },
  {
    "LanguageID": 1,
    "LanguageDesc": "sample string 2",
    "NcipValue": "sample string 3",
    "AdminLanguageID": 1
  },
  {
    "LanguageID": 1,
    "LanguageDesc": "sample string 2",
    "NcipValue": "sample string 3",
    "AdminLanguageID": 1
  }
]

HTTP Response Codes

Code Description
200 OK. Success