Skip to main content

Interface IReportAgent

Namespace: SuperOffice.WebApi.Agents
Assembly: SuperOffice.WebApi.dll
Run reports, set favourites, labels

Implements

IAgentBase, IDisposable

Methods

CreateDefaultReportLabelLayoutEntityAsync(RequestOptions)

Set default values into a new ReportLabelLayoutEntity. NetServer calculates default values on the entity, which is required when creating/storing a new instance

Parameters

requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ReportLabelLayoutEntity&gt; A blank ReportLabelLayoutEntity

DeleteReportLabelLayoutEntityAsync(int, RequestOptions)

Deletes the ReportLabelLayoutEntity

Parameters

reportLabelLayoutEntityId int The identity of the ReportLabelLayoutEntity requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task

GetReportLabelLayoutEntityAsync(int, RequestOptions)

Gets a specific ReportLabelLayoutEntity object.

Parameters

reportLabelLayoutEntityId int The identifier of the ReportLabelLayoutEntity object requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ReportLabelLayoutEntity&gt; ReportLabelLayoutEntity

SaveReportLabelLayoutEntityAsync(ReportLabelLayoutEntity, RequestOptions)

Updates the existing ReportLabelLayoutEntity or creates a new ReportLabelLayoutEntity if the id parameter is 0.

Parameters

reportLabelLayoutEntity ReportLabelLayoutEntity The ReportLabelLayoutEntity that is saved. requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ReportLabelLayoutEntity&gt; New or updated ReportLabelLayoutEntity