POST api/production/report

Request Information

URI Parameters

None.

Body Parameters

ProductionReportRequestModel
NameDescriptionTypeAdditional information
BranchID

integer

None.

FinancialYearID

integer

None.

ProductID

integer

None.

dateFrom

date

None.

dateTo

date

None.

SourceType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchID": 1,
  "FinancialYearID": 2,
  "ProductID": 3,
  "dateFrom": "2026-10-15T11:13:32.9930067-07:00",
  "dateTo": "2026-10-15T11:13:33.0086542-07:00",
  "SourceType": "sample string 6"
}

application/xml, text/xml

Sample:
<ProductionReportRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <BranchID>1</BranchID>
  <FinancialYearID>2</FinancialYearID>
  <ProductID>3</ProductID>
  <SourceType>sample string 6</SourceType>
  <dateFrom>2026-10-15T11:13:32.9930067-07:00</dateFrom>
  <dateTo>2026-10-15T11:13:33.0086542-07:00</dateTo>
</ProductionReportRequestModel>

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 'ProductionReportRequestModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.