Get languages

Description

Retrieves the default list of languages defined in the system

HTTP Method

GET

Path

/common/language/@all

Authentication

Does not require user authentication.

Parameters

No Parameters.

Error Codes

150000 ( Common )

An unhandled exception has occured.

Response Schema

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema elementFormDefault="qualified" version="1.0" targetNamespace="http://xsd.poken.com" xmlns:tns="http://xsd.poken.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="languages">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="language" type="tns:Language" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>

  <xs:complexType name="Language">
    <xs:sequence>
      <xs:element name="languageId" type="xs:long"/>
      <xs:element name="iso" type="xs:string"/>
      <xs:element name="name" type="xs:string"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

Sample Response

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<languages xmlns="http://xsd.poken.com">
		<language>
				<id>0</id>
				<iso>en</iso>
				<name>English</name>
		</language>
</languages>