POST api/DataList/LanguageList
语言列表
Request Information
Body Parameters
LanguageListModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Token |
登录后获取到的 Token |
string |
None. |
| Language |
语言选项 |
string |
None. |
| AppId |
APP应用标识 |
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
返回语言列表
LanguageListResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Items | Collection of LanguageValue |
None. |
|
| State |
状态码 |
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>