GET api/v1/locations/{locationId}/devices/{deviceId}/events/unacknowledged

This API is used to checking for unacknowledged awareness events

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationId

TC2 Location

integer

Required

deviceId

TC2 Security DeviceId

integer

Required

Body Parameters

None.

Response Information

Resource Description

UnacknowledgedEventsResults

UnacknowledgedEventsResults
NameDescriptionTypeAdditional information
AwarenessEvent

UnacknowledgedAwarenessEvent

None.

ResultCode

integer

None.

ResultData

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AwarenessEvent": {
    "IsUnacknowledged": true,
    "UnacknowledgedEventsCount": 2
  },
  "ResultCode": 1,
  "ResultData": "sample string 2"
}

application/xml, text/xml

Sample:
<UnacknowledgedEventsResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2Domain.Awareness">
  <AwarenessEvent>
    <IsUnacknowledged>true</IsUnacknowledged>
    <UnacknowledgedEventsCount>2</UnacknowledgedEventsCount>
  </AwarenessEvent>
  <ResultCode>1</ResultCode>
  <ResultData>sample string 2</ResultData>
</UnacknowledgedEventsResults>