POST api/ExceptionMessage/ExceptionTypeList

Get exception message type

Request Information

Body Parameters

ExceptionTypeModel
NameDescriptionTypeAdditional information
UserId

integer

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,
  "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 illustrate
0. Indicates success
100. There are tons of things

ExceptionTypeResult
NameDescriptionTypeAdditional information
Items

ExceptionTypeInfo information collection

Collection of AppExceptionInfo

None.

State

status code

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>