Skip to main content

<a id=“SuperOffice_WebApi_Agents_IReportAgent”></a> Interface IReportAgent

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

Implements

IAgentBase, IDisposable

Methods

<a id=“SuperOffice_WebApi_Agents_IReportAgent_CreateDefaultReportLabelLayoutEntityAsync_SuperOffice_WebApi_RequestOptions_”></a> 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

<a id=“SuperOffice_WebApi_Agents_IReportAgent_DeleteReportLabelLayoutEntityAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> 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

<a id=“SuperOffice_WebApi_Agents_IReportAgent_GetReportLabelLayoutEntityAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> 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

<a id=“SuperOffice_WebApi_Agents_IReportAgent_SaveReportLabelLayoutEntityAsync_SuperOffice_WebApi_Data_ReportLabelLayoutEntity_SuperOffice_WebApi_RequestOptions_”></a> 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