IISonasSession QueryHistory Method Isonas .NET Client API Documentation
Query history

Namespace: Bsw.Isonas.Dotnet.Client.Core
Assembly: Bsw.Isonas.Dotnet.Client (in Bsw.Isonas.Dotnet.Client.dll) Version: 1.2.1.0 (1.2.1)
Syntax

Task<IEnumerable<HistoryEntry>> QueryHistory(
	DateTime startDate,
	DateTime endDate,
	string onlyForPersonId = null,
	string onlyForDoor = null
)

Parameters

startDate
Type: OnlineSystem DateTime
Start date
endDate
Type: OnlineSystem DateTime
End date
onlyForPersonId (Optional)
Type: OnlineSystem String
If this parameter is supplied, only records for this person will be returned
onlyForDoor (Optional)
Type: OnlineSystem String
If this parameter is supllied, only records for this door will be returned

Return Value

Type: OnlineTask OnlineIEnumerable HistoryEntry  
History entries or empty if no history exists
Exceptions

See Also