POST api/stats/RecordVisit/{pageType}/{entityId}?roleId={roleId}

Record and timestamp a visit to a 'page' on Rezi. Processes this stats API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageType

'GroupHub', 'PropertyHub', 'MarketingHub', 'PersonHub', 'SalesProgressionHub' or 'PreTenancyHub'

string

Required

entityId

The relative entitiyId e.g. GroupId or PropertyId

integer

Required

roleId

The RoleId if applicable (can be null if omitted)

integer

None.

Body Parameters

None.

Response Information

Resource Description

The response returned after the operation completes.

VisitedPageResponseDataContract
NameDescriptionTypeAdditional information
EntityId

The unique identifier of the related entity resource.

integer

None.

PageType

The page type value.

string

None.

IsSuccess

Indicates whether this item is success.

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "EntityId": 1,
  "PageType": "sample string 2",
  "IsSuccess": true
}