POST api/ExceptionMessage/ExceptionTypeList
Get exception message type
Request Information
Body Parameters
ExceptionTypeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| Token |
登录后获取到的 Token |
string |
None. |
| Language |
语言选项 |
string |
None. |
| AppId |
APP应用标识 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"Token": "sample string 2",
"Language": "sample string 3",
"AppId": "sample string 4"
}
application/xml, text/xml
Sample:
<ExceptionTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel"> <AppId>sample string 4</AppId> <Language>sample string 3</Language> <Token>sample string 2</Token> <UserId>1</UserId> </ExceptionTypeModel>
Response Information
Resource Description
State 说明
0. 表示成功
100. 表示无数据
| Name | Description | Type | Additional information |
|---|---|---|---|
| Items |
ExceptionTypeInfo信息集合 |
Collection of AppExceptionInfo |
None. |
| State |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Items": [
{
"Exception": "sample string 1",
"DataCode": "sample string 2",
"SortOrder": 3,
"IsON": true
},
{
"Exception": "sample string 1",
"DataCode": "sample string 2",
"SortOrder": 3,
"IsON": true
}
],
"State": 1
}
application/xml, text/xml
Sample:
<ExceptionTypeResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
<State>1</State>
<Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
<d2p1:AppExceptionInfo>
<d2p1:DataCode>sample string 2</d2p1:DataCode>
<d2p1:Exception>sample string 1</d2p1:Exception>
<d2p1:IsON>true</d2p1:IsON>
<d2p1:SortOrder>3</d2p1:SortOrder>
</d2p1:AppExceptionInfo>
<d2p1:AppExceptionInfo>
<d2p1:DataCode>sample string 2</d2p1:DataCode>
<d2p1:Exception>sample string 1</d2p1:Exception>
<d2p1:IsON>true</d2p1:IsON>
<d2p1:SortOrder>3</d2p1:SortOrder>
</d2p1:AppExceptionInfo>
</Items>
</ExceptionTypeResult>