POST api/generateReport

Request Information

URI Parameters

None.

Body Parameters

CommonCrystalDTO
NameDescriptionTypeAdditional information
GUID

string

None.

ReportPath

string

None.

StoreProcedureName

string

None.

CompanyId

integer

None.

BranchId

integer

None.

UserId

integer

None.

FromDate

date

None.

IsFromDate

boolean

None.

ToDate

date

None.

IsToDate

boolean

None.

CustomerId

integer

None.

IsDPCustomerId

boolean

None.

VendorId

integer

None.

IsDPVendorId

boolean

None.

SiteLocationId

integer

None.

IsDPSiteLocationId

boolean

None.

MaterialId

integer

None.

IsDPMaterialId

boolean

None.

CommonId

integer

None.

IsCommonId

boolean

None.

IsPDF

boolean

None.

IsExcel

boolean

None.

IsStoreToDataBase

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "GUID": "sample string 1",
  "ReportPath": "sample string 2",
  "StoreProcedureName": "sample string 3",
  "CompanyId": 4,
  "BranchId": 5,
  "UserId": 6,
  "FromDate": "2026-02-19T13:51:17.7478258+05:30",
  "IsFromDate": true,
  "ToDate": "2026-02-19T13:51:17.7478258+05:30",
  "IsToDate": true,
  "CustomerId": 1,
  "IsDPCustomerId": true,
  "VendorId": 1,
  "IsDPVendorId": true,
  "SiteLocationId": 1,
  "IsDPSiteLocationId": true,
  "MaterialId": 1,
  "IsDPMaterialId": true,
  "CommonId": 1,
  "IsCommonId": true,
  "IsPDF": true,
  "IsExcel": true,
  "IsStoreToDataBase": true
}

application/xml, text/xml

Sample:
<CommonCrystalDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VBILLREPORT.ENTITY">
  <BranchId>5</BranchId>
  <CommonId>1</CommonId>
  <CompanyId>4</CompanyId>
  <CustomerId>1</CustomerId>
  <FromDate>2026-02-19T13:51:17.7478258+05:30</FromDate>
  <GUID>sample string 1</GUID>
  <IsCommonId>true</IsCommonId>
  <IsDPCustomerId>true</IsDPCustomerId>
  <IsDPMaterialId>true</IsDPMaterialId>
  <IsDPSiteLocationId>true</IsDPSiteLocationId>
  <IsDPVendorId>true</IsDPVendorId>
  <IsExcel>true</IsExcel>
  <IsFromDate>true</IsFromDate>
  <IsPDF>true</IsPDF>
  <IsStoreToDataBase>true</IsStoreToDataBase>
  <IsToDate>true</IsToDate>
  <MaterialId>1</MaterialId>
  <ReportPath>sample string 2</ReportPath>
  <SiteLocationId>1</SiteLocationId>
  <StoreProcedureName>sample string 3</StoreProcedureName>
  <ToDate>2026-02-19T13:51:17.7478258+05:30</ToDate>
  <UserId>6</UserId>
  <VendorId>1</VendorId>
</CommonCrystalDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.