I found five Ids in the ACEvent class:EventTypeId,Id,RelatedCredentialHolderIds,RelatedElementId and SourceOperationableInstanceId. I think the RelatedCredentialHolderIds should be the same with Id in ACCredentialHolder class,but how to use the others? Are they related with any class I have not found?
Hi Yuri,
The properties of the ACEvent class are indeed not documented. I’ll make sure to file a bug report on this.
Here’s a brief description, that I hope will help you:
Id:
Unique id of the event
EventTypeId:
Relates to ACEventType.Id - type of which this ACEvent can be considered an instance
SourceOperationableInstanceId:
Related to ACOperationableInstance.Id - id of the event source - e.g. a door or an access point (note: ACUnit inherits ACOperationableInstance).
RelatedCredentialHolderIds:
Related to ACCredentialHolder.ID - id of the related credential holder(s), if any - e.g. person accessing an access point
RelatedElementIds:
Related to ACElement.Id - any other related configuration elements, if any - e.g. doors and an access points