POST api/HRDocumentReport/GenerateDocument

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
param
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "HRDocumentId": 1,
  "paramData": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "ParamName": "sample string 3",
      "Values": "sample string 4",
      "DateValues": "2022-05-19T00:36:02.7502972+06:00"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "ParamName": "sample string 3",
      "Values": "sample string 4",
      "DateValues": "2022-05-19T00:36:02.7502972+06:00"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "ParamName": "sample string 3",
      "Values": "sample string 4",
      "DateValues": "2022-05-19T00:36:02.7502972+06:00"
    }
  ],
  "isPreview": true,
  "ExportType": "sample string 3"
}

application/xml, text/xml

Sample:
<HRDocumentParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Empress.Midleware.Entities.Report.Parameters">
  <ExportType>sample string 3</ExportType>
  <HRDocumentId>1</HRDocumentId>
  <isPreview>true</isPreview>
  <paramData xmlns:d2p1="http://schemas.datacontract.org/2004/07/Empress.Entities.ReportBuilder">
    <d2p1:DynamicReportParam>
      <d2p1:DateValues>2022-05-19T00:36:02.7502972+06:00</d2p1:DateValues>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:ParamName>sample string 3</d2p1:ParamName>
      <d2p1:Values>sample string 4</d2p1:Values>
    </d2p1:DynamicReportParam>
    <d2p1:DynamicReportParam>
      <d2p1:DateValues>2022-05-19T00:36:02.7502972+06:00</d2p1:DateValues>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:ParamName>sample string 3</d2p1:ParamName>
      <d2p1:Values>sample string 4</d2p1:Values>
    </d2p1:DynamicReportParam>
    <d2p1:DynamicReportParam>
      <d2p1:DateValues>2022-05-19T00:36:02.7502972+06:00</d2p1:DateValues>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:ParamName>sample string 3</d2p1:ParamName>
      <d2p1:Values>sample string 4</d2p1:Values>
    </d2p1:DynamicReportParam>
  </paramData>
</HRDocumentParam>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'HRDocumentParam'.