POST api/ExceptionMessage/SingleException

For specified number alarm number defined data types

Request Information

Body Parameters

SingleExceptionModel
NameDescriptionTypeAdditional information
ExceptionId

Alarm Id

integer

None.

UserId

user id

integer

None.

MapType

string

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:
{
  "ExceptionId": 1,
  "UserId": 2,
  "MapType": "sample string 3",
  "Token": "sample string 4",
  "Language": "sample string 5",
  "AppId": "sample string 6"
}

application/xml, text/xml

Sample:
<SingleExceptionModel 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>
  <ExceptionId>1</ExceptionId>
  <MapType>sample string 3</MapType>
  <UserId>2</UserId>
</SingleExceptionModel>

Response Information

Resource Description

Stateillustrate:
0. success
100. failure

SingleExceptionResult
NameDescriptionTypeAdditional information
HasVoice

Is there a sound

boolean

None.

FileUrl

audio file url

string

None.

Long

Voice file length unit s

integer

None.

Avatar

head potraitURL

string

None.

Message

Message content

string

None.

Nickname

nickname

string

None.

DeviceName

Device name

string

None.

ModelName

Mode name

string

None.

ExceptionID

Record Id

integer

None.

SerialNumber

device imei

string

None.

DeviceID

device id

integer

None.

GeoFenceID

fence when the fence was called Id

integer

None.

NotificationType

ALARM TYPE

integer

None.

CreateDate

Producing time

string

None.

Deleted

ALARM TYPE

integer

None.

GeoName

Name of the fence

string

None.

Lat

Alarm location,latitude

decimal number

None.

Lng

Alarm location,longitude

decimal number

None.

DeviceDate

Device positioning time

string

None.

OLat

Alarm location, original latitude

decimal number

None.

OLng

alarm position,original longitude

decimal number

None.

FenceNo

A fence number

integer

None.

ExceptionName

Alarm name, set by language

string

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "HasVoice": true,
  "FileUrl": "sample string 2",
  "Long": 3,
  "Avatar": "sample string 4",
  "Message": "sample string 5",
  "Nickname": "sample string 6",
  "DeviceName": "sample string 7",
  "ModelName": "sample string 8",
  "ExceptionID": 9,
  "SerialNumber": "sample string 10",
  "DeviceID": 11,
  "GeoFenceID": 12,
  "NotificationType": 13,
  "CreateDate": "sample string 14",
  "Deleted": 15,
  "GeoName": "sample string 16",
  "Lat": 17.0,
  "Lng": 18.0,
  "DeviceDate": "sample string 19",
  "OLat": 20.0,
  "OLng": 21.0,
  "FenceNo": 22,
  "ExceptionName": "sample string 23",
  "State": 24
}

application/xml, text/xml

Sample:
<SingleExceptionResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>24</State>
  <Avatar>sample string 4</Avatar>
  <CreateDate>sample string 14</CreateDate>
  <Deleted>15</Deleted>
  <DeviceDate>sample string 19</DeviceDate>
  <DeviceID>11</DeviceID>
  <DeviceName>sample string 7</DeviceName>
  <ExceptionID>9</ExceptionID>
  <ExceptionName>sample string 23</ExceptionName>
  <FenceNo>22</FenceNo>
  <FileUrl>sample string 2</FileUrl>
  <GeoFenceID>12</GeoFenceID>
  <GeoName>sample string 16</GeoName>
  <HasVoice>true</HasVoice>
  <Lat>17</Lat>
  <Lng>18</Lng>
  <Long>3</Long>
  <Message>sample string 5</Message>
  <ModelName>sample string 8</ModelName>
  <Nickname>sample string 6</Nickname>
  <NotificationType>13</NotificationType>
  <OLat>20</OLat>
  <OLng>21</OLng>
  <SerialNumber>sample string 10</SerialNumber>
</SingleExceptionResult>