Click or drag to resize

ReportRepositoryAddReportToCase(ODataService, String, Object, Boolean, String, String, String, String, String, DateTime, String, String, ICollectionKeyValuePairString, String, String, String) Method

Note: This API is now obsolete.

A Method to generate report document using reports API

Namespace: Scanjour.Workflow4.Web.Services.Repositories
Assembly: Scanjour.Workflow4.Web.Services (in Scanjour.Workflow4.Web.Services.dll) Version: 24.5.0.0 (24.5.0.0)
Syntax
[ObsoleteAttribute("Since release 2020.1. Only used by older processes.")]
public HttpResponseMessage AddReportToCase(
	ODataService context,
	string reportId,
	Object reportParameters,
	bool includeDocumentContents,
	string title,
	string stateValue,
	string recordTypeValue,
	string officerValue,
	string officerCulture,
	DateTime letterDate,
	string fileKeyValue,
	string reportUpdateId,
	ICollection<KeyValuePair<string, string>> customHeaders = null,
	string classification = "",
	string recordSource = ""
)

Parameters

context  ODataService
OData context
reportId  String
The report guid.
reportParameters  Object
The report parameters.
includeDocumentContents  Boolean
Report parameter, if set to true referenced documents content will be included
title  String
Title of the report document to be saved on a case
stateValue  String
State of report document
recordTypeValue  String
Type of report document
officerValue  String
Username of a case Officer
officerCulture  String
Culture code of a case Officer
letterDate  DateTime
Creation date of the report
fileKeyValue  String
Case file the history is saved in
reportUpdateId  String
ID of report to update
customHeaders  ICollectionKeyValuePairString, String  (Optional)
Headers for report request, like watermark and other props from PDF API
classification  String  (Optional)
Confidentiality classification, default from case or PUBLIC if not set
recordSource  String  (Optional)
The source to be set on the pdf

Return Value

HttpResponseMessage

[Missing <returns> documentation for "M:Scanjour.Workflow4.Web.Services.Repositories.ReportRepository.AddReportToCase(Scanjour.Process.OData.Client.Proxy.ODataService,System.String,System.Object,System.Boolean,System.String,System.String,System.String,System.String,System.String,System.DateTime,System.String,System.String,System.Collections.Generic.ICollection{System.Collections.Generic.KeyValuePair{System.String,System.String}},System.String,System.String)"]

Remarks
Compatible version for version 2019.3 and lower
See Also