GET api/alarm/get_alarm_messageByAppId

Get alarm list by device ID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AccessToken

Token

string

None.

AppId

AppId

integer

None.

MapType

Google

string

None.

BeginTime

Begin Time(UTC)

string

None.

EndTime

End Time(UTC)

string

None.

Response Information

Resource Description

Return the alarm list

AlarmMessageResult
NameDescriptionTypeAdditional information
Result

Result

Collection of AlarmMessageOutputDto

None.

State

integer

None.

Msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": [
    {
      "Imei": "sample string 1",
      "ExceptionID": "sample string 2",
      "AlarmType": "sample string 3",
      "AlarmName": "sample string 4",
      "AlarmTime": "sample string 5",
      "Lat": 6.1,
      "Lng": 7.1
    },
    {
      "Imei": "sample string 1",
      "ExceptionID": "sample string 2",
      "AlarmType": "sample string 3",
      "AlarmName": "sample string 4",
      "AlarmTime": "sample string 5",
      "Lat": 6.1,
      "Lng": 7.1
    }
  ],
  "State": 1,
  "Msg": "sample string 2"
}

application/xml, text/xml

Sample:
<AlarmMessageResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.OpenApi.Models.ResponseModels">
  <Msg>sample string 2</Msg>
  <State>1</State>
  <Result>
    <AlarmMessageOutputDto>
      <AlarmName>sample string 4</AlarmName>
      <AlarmTime>sample string 5</AlarmTime>
      <AlarmType>sample string 3</AlarmType>
      <ExceptionID>sample string 2</ExceptionID>
      <Imei>sample string 1</Imei>
      <Lat>6.1</Lat>
      <Lng>7.1</Lng>
    </AlarmMessageOutputDto>
    <AlarmMessageOutputDto>
      <AlarmName>sample string 4</AlarmName>
      <AlarmTime>sample string 5</AlarmTime>
      <AlarmType>sample string 3</AlarmType>
      <ExceptionID>sample string 2</ExceptionID>
      <Imei>sample string 1</Imei>
      <Lat>6.1</Lat>
      <Lng>7.1</Lng>
    </AlarmMessageOutputDto>
  </Result>
</AlarmMessageResult>