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.RepositoriesAssembly: 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 = ""
)
<ObsoleteAttribute("Since release 2020.1. Only used by older processes.")>
Public Function AddReportToCase (
context As ODataService,
reportId As String,
reportParameters As Object,
includeDocumentContents As Boolean,
title As String,
stateValue As String,
recordTypeValue As String,
officerValue As String,
officerCulture As String,
letterDate As DateTime,
fileKeyValue As String,
reportUpdateId As String,
Optional customHeaders As ICollection(Of KeyValuePair(Of String, String)) = Nothing,
Optional classification As String = "",
Optional recordSource As String = ""
) As HttpResponseMessage
public:
[ObsoleteAttribute(L"Since release 2020.1. Only used by older processes.")]
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 = nullptr,
String^ classification = L"",
String^ recordSource = L""
)
[<ObsoleteAttribute("Since release 2020.1. Only used by older processes.")>]
member AddReportToCase :
context : ODataService *
reportId : string *
reportParameters : Object *
includeDocumentContents : bool *
title : string *
stateValue : string *
recordTypeValue : string *
officerValue : string *
officerCulture : string *
letterDate : DateTime *
fileKeyValue : string *
reportUpdateId : string *
?customHeaders : ICollection<KeyValuePair<string, string>> *
?classification : string *
?recordSource : string
(* Defaults:
let _customHeaders = defaultArg customHeaders null
let _classification = defaultArg classification ""
let _recordSource = defaultArg recordSource ""
*)
-> HttpResponseMessage
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)"]
RemarksCompatible version for version 2019.3 and lower
See Also