Skip to main content
POST
/
resource
/
pushnotification
/
history
Get Push Notification History
curl --request POST \
  --url https://apigw.bienport.com/api/resource/pushnotification/history \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'OrganizationId: <organizationid>' \
  --data '
{
  "resourceId": 1059,
  "page": 7,
  "pageSize": 10,
  "startTime": 1634714715919,
  "endTime": 1634800575919
}
'
[
  {
    "totalRecords": 123,
    "page": 123,
    "pageSize": 123,
    "activities": [
      {
        "eventId": "event617102d616b8be31ebfadfdd",
        "activityTime": 1634713761000,
        "description": "Periodical Test Signal",
        "eventType": "Event / Violation / Error",
        "violationName": "Communication Error",
        "violationType": "Alarm (Red) / Error (Gray) / Warning (Yellow)",
        "msgType": 123,
        "vioType": 123,
        "group": 123
      }
    ]
  }
]

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Body

application/json

pushNotificationHistoryRequest

resourceId
integer<int64>

Enter the alarm panel ID whose activity you want to bring.

Example:

1059

page
integer<int32>

The page number you want to view.

Example:

7

pageSize
integer<int32>

The number of records to display on a page.

Example:

10

startTime
integer<int64>

Initial value of date constraint.

Example:

1634714715919

endTime
integer<int64>

End value of date constraint.

Example:

1634800575919

Response

Push Notification History(List)

totalRecords
integer<int64>

Total number of activities.

page
integer<int32>

The page number you want to view.

pageSize
integer<int32>

The number of records to display on a page.

activities
ActivityResponse · object[]

List of activities.