POST api/ExceptionMessage/ExcdeptionListForVehicle

车载App报警数据接口

Request Information

Body Parameters

ExceptionMessageListModel
NameDescriptionTypeAdditional information
Id

Id , UserId 或 DeviceId

integer

None.

PageNo

查询的页数

integer

None.

PageCount

每页条数

integer

None.

TypeID

TypeId 为 0 表示 Id 为用户Id, 为 1 表示Id 为设备Id

integer

None.

DataCode

报警大类型编码[目前未使用]

string

None.

UserID

用户ID取昵称

integer

None.

Exclude

排除的报警类型 Id,以逗号分隔

string

None.

MapType

地图类型

string

None.

Token

登录后获取到的 Token

string

None.

Language

语言选项

string

None.

AppId

APP应用标识

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PageNo": 2,
  "PageCount": 3,
  "TypeID": 4,
  "DataCode": "sample string 5",
  "UserID": 6,
  "Exclude": "sample string 7",
  "MapType": "sample string 8",
  "Token": "sample string 9",
  "Language": "sample string 10",
  "AppId": "sample string 11"
}

application/xml, text/xml

Sample:
<ExceptionMessageListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 11</AppId>
  <Language>sample string 10</Language>
  <Token>sample string 9</Token>
  <DataCode>sample string 5</DataCode>
  <Exclude>sample string 7</Exclude>
  <Id>1</Id>
  <MapType>sample string 8</MapType>
  <PageCount>3</PageCount>
  <PageNo>2</PageNo>
  <TypeID>4</TypeID>
  <UserID>6</UserID>
</ExceptionMessageListModel>

Response Information

Resource Description

State 说明:
0. 表示成功
100. 无数据

ExceptionMessageListResult
NameDescriptionTypeAdditional information
Page

当前页数

integer

None.

Total

总数量

integer

None.

Items

设备信息集合

Collection of ExceptionMessageListInfo

None.

State

状态码

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Page": 1,
  "Total": 2,
  "Items": [
    {
      "Avatar": "sample string 1",
      "Message": "sample string 2",
      "Nickname": "sample string 3",
      "DeviceName": "sample string 4",
      "ModelName": "sample string 5",
      "ExceptionID": 6,
      "SerialNumber": "sample string 7",
      "DeviceID": 8,
      "GeoFenceID": 9,
      "NotificationType": 10,
      "CreateDate": "sample string 11",
      "Deleted": 12,
      "GeoName": "sample string 13",
      "Lat": 14.0,
      "Lng": 15.0,
      "Address": "sample string 16",
      "DeviceDate": "sample string 17",
      "OLat": 18.0,
      "OLng": 19.0,
      "FenceNo": 20,
      "ExceptionName": "sample string 21"
    },
    {
      "Avatar": "sample string 1",
      "Message": "sample string 2",
      "Nickname": "sample string 3",
      "DeviceName": "sample string 4",
      "ModelName": "sample string 5",
      "ExceptionID": 6,
      "SerialNumber": "sample string 7",
      "DeviceID": 8,
      "GeoFenceID": 9,
      "NotificationType": 10,
      "CreateDate": "sample string 11",
      "Deleted": 12,
      "GeoName": "sample string 13",
      "Lat": 14.0,
      "Lng": 15.0,
      "Address": "sample string 16",
      "DeviceDate": "sample string 17",
      "OLat": 18.0,
      "OLng": 19.0,
      "FenceNo": 20,
      "ExceptionName": "sample string 21"
    }
  ],
  "State": 3
}

application/xml, text/xml

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