POST api/productyield/save
Request Information
URI Parameters
None.
Body Parameters
SaveProductYieldRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID | integer |
None. |
|
| BranchID | integer |
None. |
|
| FinancialYearID | integer |
None. |
|
| YieldPercentage | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductID": 1,
"BranchID": 2,
"FinancialYearID": 3,
"YieldPercentage": 4.0
}
application/xml, text/xml
Sample:
<SaveProductYieldRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers"> <BranchID>2</BranchID> <FinancialYearID>3</FinancialYearID> <ProductID>1</ProductID> <YieldPercentage>4</YieldPercentage> </SaveProductYieldRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.