POST api/ExceptionMessage/SetExceptionType

设置报警类别开关 [停用]

Request Information

Body Parameters

SetExceptionTypeModel
NameDescriptionTypeAdditional information
UserId

用户 id

integer

None.

DataCode

报警编码

string

None.

IsON

是否打开

boolean

None.

Token

登录后获取到的 Token

string

None.

Language

语言选项

string

None.

AppId

APP应用标识

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "DataCode": "sample string 2",
  "IsON": true,
  "Token": "sample string 4",
  "Language": "sample string 5",
  "AppId": "sample string 6"
}

application/xml, text/xml

Sample:
<SetExceptionTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 6</AppId>
  <Language>sample string 5</Language>
  <Token>sample string 4</Token>
  <DataCode>sample string 2</DataCode>
  <IsON>true</IsON>
  <UserId>1</UserId>
</SetExceptionTypeModel>

Response Information

Resource Description

BaseResult
NameDescriptionTypeAdditional information
State

状态码

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "State": 1
}

application/xml, text/xml

Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
</BaseResult>