POST api/DataList/LanguageList

Lists of languages

Request Information

Body Parameters

LanguageListModel
NameDescriptionTypeAdditional information
Token

Get it after logging in Token

string

None.

Language

Language Option

string

None.

AppId

APP Application Identifier

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "Language": "sample string 2",
  "AppId": "sample string 3"
}

application/xml, text/xml

Sample:
<LanguageListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 3</AppId>
  <Language>sample string 2</Language>
  <Token>sample string 1</Token>
</LanguageListModel>

Response Information

Resource Description

Return list

LanguageListResult
NameDescriptionTypeAdditional information
Items

Collection of LanguageValue

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Value": 1,
      "LanguageName": "sample string 2"
    },
    {
      "Value": 1,
      "LanguageName": "sample string 2"
    }
  ],
  "State": 1
}

application/xml, text/xml

Sample:
<LanguageListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
  <Items>
    <LanguageValue>
      <LanguageName>sample string 2</LanguageName>
      <Value>1</Value>
    </LanguageValue>
    <LanguageValue>
      <LanguageName>sample string 2</LanguageName>
      <Value>1</Value>
    </LanguageValue>
  </Items>
</LanguageListResult>