POST api/ExceptionMessage/SingleException

单条报警详细信息

Request Information

Body Parameters

SingleExceptionModel
NameDescriptionTypeAdditional information
ExceptionId

报警Id

integer

None.

UserId

用户id

integer

None.

MapType

地图类型

string

None.

Token

登录后获取到的 Token

string

None.

Language

语言选项

string

None.

AppId

APP应用标识

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

State说明:
0. 成功
100. 失败

SingleExceptionResult
NameDescriptionTypeAdditional information
HasVoice

是否有声音

boolean

None.

FileUrl

语音文件url

string

None.

Long

语音文件时长 单位s

integer

None.

Avatar

头像URL

string

None.

Message

消息内容

string

None.

Nickname

昵称

string

None.

DeviceName

设备名

string

None.

ModelName

型号名称

string

None.

ExceptionID

记录Id

integer

None.

SerialNumber

设备IMEI

string

None.

DeviceID

设备Id

integer

None.

GeoFenceID

围栏报警时的围栏Id

integer

None.

NotificationType

报警类型

integer

None.

CreateDate

产生时间

string

None.

Deleted

是否清除

integer

None.

GeoName

围栏报警围栏名

string

None.

Lat

报警位置,纬度

decimal number

None.

Lng

报警位置,经度

decimal number

None.

DeviceDate

设备定位时间

string

None.

OLat

报警位置,原始纬度

decimal number

None.

OLng

报警位置,原始经度

decimal number

None.

FenceNo

围栏编号

integer

None.

ExceptionName

报警名称,按语言来设置

string

None.

State

状态码

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>