GetVisitsAsVisitorAsync

Gets all visits where the specified person is the visitor. Returns (Task<IEnumerable>)

Find all Visits associated with a Visitor, can choose a time frame in particular.

Name Description
person The person who is the visitor
page The zero-based page number for pagination (default is 0)
pageSize The Page Size (default is 1000). Maximum allowed value is 20000.
dateRangeStarting Optional start date filter for visits
dateRangeEnding Optional end date filter for visits

Get Visits As Visitor Async

Example in C#

// Returns: IEnumerable<VisitInfo>
var visitInfo = await client.GetVisitsAsVisitorAsync(PersonInfo person, Int32 page, Int32 pageSize, DateTime dateRangeStarting, DateTime dateRangeEnding);

Example in CURL



           curl -X GET \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/visiting?page=0&pageSize=1000 \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'