Click or drag to resize

IUsageReportingCreateRecurringReport Method

Create a recurring report definition with the specified cadence at which to queue new reports. This method is available in Panopto 7.0 and above.

Namespace:  Panopto.Server.Services.PublicAPI.V40
Assembly:  DataLib (in DataLib.dll) Version: 13.0.0.0 (13.0.0.00000)
Syntax
C#
Guid CreateRecurringReport(
	AuthenticationInfo auth,
	RecurringReportCadence cadenceType,
	int cadenceOffset,
	StatsReportType reportType
)

Parameters

auth
Type: Panopto.Server.Services.PublicAPI.V40AuthenticationInfo
Used to authenticate the current user. Can be null if an auth cookie is passed.
cadenceType
Type: Panopto.Server.Services.PublicAPI.V40RecurringReportCadence
The cadence at which to generate reports.
cadenceOffset
Type: SystemInt32
How many days to offset report generation. For weekly reports, this is offset from Sunday and can be up to 6. For monthly reports, this is offset from the first of the month and can be up to 28.
reportType
Type: Panopto.Server.Services.PublicAPI.V40StatsReportType
The reportType of interest.

Return Value

Type: Guid
The id of the recurring report definition. Note that this is separate from the ids of any reports generated from the recurring report definition.
See Also