POST api/ExceptionMessage/ExceptionType

For specified number alarm number defined data types

Request Information

Body Parameters

BaseModel
NameDescriptionTypeAdditional information
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:
{
  "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 illustrate:
0 Indicates success

ExceptionTypeListResult
NameDescriptionTypeAdditional information
Items

Collection of NotificationType

None.

State

status code

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>