<a id=“SuperOffice_WebApi_Agents_IReportAgent”></a> Interface IReportAgent
Namespace: SuperOffice.WebApi.AgentsAssembly: SuperOffice.WebApi.dll Run reports, set favourites, labels
Implements
IAgentBase, IDisposableMethods
<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 instanceParameters
requestOptions RequestOptions
Override language/culture codes on this request.
Returns
Task<ReportLabelLayoutEntity> A blank ReportLabelLayoutEntity<a id=“SuperOffice_WebApi_Agents_IReportAgent_DeleteReportLabelLayoutEntityAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> DeleteReportLabelLayoutEntityAsync(int, RequestOptions)
Deletes the ReportLabelLayoutEntityParameters
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> 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.