GET api/PatientLanguages/search?addEmptyItem={addEmptyItem}&emptyItemText={emptyItemText}

Returns a list of languages.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
addEmptyItem

Indicates if an empty item be added in the list.

boolean

Default value is False

emptyItemText

Text of the empty item

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Collection of PatientLanguageModel
NameDescriptionTypeAdditional information
Id

Unique ID of the language.

string

None.

Name

Name of the language.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "Name": "sample string 2"
  },
  {
    "Id": "sample string 1",
    "Name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPatientLanguageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.PatientDemographics">
  <PatientLanguageModel>
    <Id>sample string 1</Id>
    <Name>sample string 2</Name>
  </PatientLanguageModel>
  <PatientLanguageModel>
    <Id>sample string 1</Id>
    <Name>sample string 2</Name>
  </PatientLanguageModel>
</ArrayOfPatientLanguageModel>