ISystem ApiGenerate Perf Report Method
Generates a performance report (Excel) for the given profile and date range.
Definition
Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
A dynamic object exposing FileName (string) and Content (byte[]). Returned as dynamic so workflow scripts can read the file name/content via dynamic dispatch without referencing the concrete result type's assembly (Casewhere.Shared.PerformanceReporting), which the workflow compiler does not reference.
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
C#
Object GeneratePerfReport(
string profileName,
DateTime from,
DateTime to,
string bucket,
string language
)Parameters
- profileName String
- Name of the performance report profile.
- from DateTime
- Range start, in server local time.
- to DateTime
- Range end (exclusive), in server local time.
- bucket String
- Time bucket size: "Minute" or "Hour" (defaults to Minute).
- language String
- Report language: "En" or "Da" (defaults to En).
Return Value
ObjectA dynamic object exposing FileName (string) and Content (byte[]). Returned as dynamic so workflow scripts can read the file name/content via dynamic dispatch without referencing the concrete result type's assembly (Casewhere.Shared.PerformanceReporting), which the workflow compiler does not reference.