POST api/ExceptionMessage/SetExceptionType

Set alarm class switch [deactivate]

Request Information

Body Parameters

SetExceptionTypeModel
NameDescriptionTypeAdditional information
UserId

user id

integer

None.

DataCode

warning coded

string

None.

IsON

Whether unfold

boolean

None.

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:
{
  "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

status code

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>