Product Documentation

GetLogonDurationTrend

Jul 03, 2014

Gets the logon duration trend (average) over the specified time period.

Parameter Name Type Comments
start DateTime Start of the time window to be queried for the average logon duration trend. Must be UTC.
end DateTime End of the time window to be queried for the average logon duration trend. Must be UTC.
intervalLength int Interval between data points in minutes for the trend.

Returns

An IQueryable of TrendItem objects. TrendItem contains a UTC Date (DateTime) and a Value (in milliseconds) to indicate average logon duration trend over the specified time period.

Examples

Gets one hour of data, single data point per minute representing the average logon duration for that minute. If no logons occurred during that minute, the value in the TrendItem is NaN (not a number).

http://{dc-host}/Citrix/Monitor/OData/v1/Methods/GetLogonDurationTrend?start=datetime'2012-06-05T12:24:00'&end=datetime'2012-06-05T13:24:00'&intervalLength=1

Gets single data point representing the average logon duration for that hour.

http://{dc-host}/Citrix/Monitor/OData/v1/Methods/GetLogonDurationTrend?start=datetime'2012-06-05T12:24:00'&end=datetime'2012-06-05T13:23:00'&intervalLength=60