GET api/stats/visited/{entityType}

Get all recent history of 'pages' visited on Rezi for a given entity type.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
entityType

Either 'Groups', 'Properties' or will default to 'all' if nothing passed.

string

Default value is all

Body Parameters

None.

Response Information

Resource Description

RecentlyVisitedPagesResultDataContract
NameDescriptionTypeAdditional information
Groups

Collection of RecentlyVisitedPageDataContract

None.

Properties

Collection of RecentlyVisitedPageDataContract

None.

Response Formats

application/json, text/json

Sample:
{
  "Groups": [
    {
      "EntityId": 1,
      "RoleId": 1,
      "LastVisitedDateTime": "2020-07-02T16:06:42.3960186Z",
      "Description": "sample string 3",
      "GroupIcon": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "GroupType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Gender": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Page": "sample string 4"
    },
    {
      "EntityId": 1,
      "RoleId": 1,
      "LastVisitedDateTime": "2020-07-02T16:06:42.3960186Z",
      "Description": "sample string 3",
      "GroupIcon": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "GroupType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Gender": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Page": "sample string 4"
    }
  ],
  "Properties": [
    {
      "EntityId": 1,
      "RoleId": 1,
      "LastVisitedDateTime": "2020-07-02T16:06:42.3960186Z",
      "Description": "sample string 3",
      "GroupIcon": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "GroupType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Gender": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Page": "sample string 4"
    },
    {
      "EntityId": 1,
      "RoleId": 1,
      "LastVisitedDateTime": "2020-07-02T16:06:42.3960186Z",
      "Description": "sample string 3",
      "GroupIcon": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "GroupType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Gender": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Page": "sample string 4"
    }
  ]
}