POST api/ExceptionMessage/ExceptionType
获取指定编号报警编号定义类型数据
Request Information
Body Parameters
BaseModel| 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:
<BaseModel 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> </BaseModel>
Response Information
Resource Description
State 说明:
0 表示成功
| Name | Description | Type | Additional information |
|---|---|---|---|
| Items | Collection of NotificationType |
None. |
|
| State |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Items": [
{
"Name": "sample string 1",
"Type": 2
},
{
"Name": "sample string 1",
"Type": 2
}
],
"State": 1
}
application/xml, text/xml
Sample:
<ExceptionTypeListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
<State>1</State>
<Items>
<NotificationType>
<Name>sample string 1</Name>
<Type>2</Type>
</NotificationType>
<NotificationType>
<Name>sample string 1</Name>
<Type>2</Type>
</NotificationType>
</Items>
</ExceptionTypeListResult>