POST api/ButterOil/Edit
Request Information
URI Parameters
None.
Body Parameters
ButterOil| Name | Description | Type | Additional information |
|---|---|---|---|
| ButterOilId | globally unique identifier |
None. |
|
| ButterId | globally unique identifier |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| ButterQty | decimal number |
None. |
|
| ButterOilProcessed | decimal number |
None. |
|
| BatchNo | integer |
None. |
|
| ButterOilRecovered | decimal number |
None. |
|
| response | Response |
None. |
|
| PackedQty | decimal number |
None. |
|
| Butter | Butter |
None. |
|
| ActiveStep | integer |
None. |
|
| CreatedBy | globally unique identifier |
None. |
|
| CreatedDate | date |
None. |
|
| EditedBy | globally unique identifier |
None. |
|
| EditedDate | date |
None. |
|
| IsActive | boolean |
None. |
|
| IsDelete | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ButterOilId": "67ce444a-0460-43bd-93f1-ff177527a50b",
"ButterId": "95190497-8b5b-4953-ad00-f5d93466edec",
"ProductId": "8b8779b2-6ee1-4b0a-8ea9-c28f792ff7f8",
"ButterQty": 4.0,
"ButterOilProcessed": 5.0,
"BatchNo": 6,
"ButterOilRecovered": 7.0,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"PackedQty": 8.0,
"Butter": {
"ButterId": "954d4413-4880-475e-ad5f-b68177487392",
"ProductId": "b12315a0-1330-4d2b-b512-6516e955c768",
"Cream": "sample string 3",
"BatchNo": 4,
"CreamFat": 5.0,
"ButterProduced": 6.0,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"PackedQty": 7.0,
"UnPackedButter": 8.0,
"CreatedBy": "fc3d7838-bd58-48f1-a6c5-2dec2eae4c1a",
"CreatedDate": "2026-09-14T05:56:46.1138031-05:00",
"EditedBy": "bc5b0758-9cf8-4463-a1bd-0222bd0f8b5e",
"EditedDate": "2026-09-14T05:56:46.1138031-05:00",
"IsActive": true,
"IsDelete": true
},
"ActiveStep": 9,
"CreatedBy": "8f70f0e8-a462-42a6-9eb8-f43a7040c191",
"CreatedDate": "2026-09-14T05:56:46.1138031-05:00",
"EditedBy": "fb52795d-7037-4ea0-9848-83a71eb058ab",
"EditedDate": "2026-09-14T05:56:46.1138031-05:00",
"IsActive": true,
"IsDelete": true
}
application/xml, text/xml
Sample:
<ButterOil xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core2.Model">
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">8f70f0e8-a462-42a6-9eb8-f43a7040c191</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-09-14T05:56:46.1138031-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">fb52795d-7037-4ea0-9848-83a71eb058ab</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-09-14T05:56:46.1138031-05:00</EditedDate>
<IsActive xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">true</IsActive>
<IsDelete xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">true</IsDelete>
<ActiveStep>9</ActiveStep>
<BatchNo>6</BatchNo>
<Butter>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">fc3d7838-bd58-48f1-a6c5-2dec2eae4c1a</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-09-14T05:56:46.1138031-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">bc5b0758-9cf8-4463-a1bd-0222bd0f8b5e</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-09-14T05:56:46.1138031-05:00</EditedDate>
<IsActive xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">true</IsActive>
<IsDelete xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">true</IsDelete>
<BatchNo>4</BatchNo>
<ButterId>954d4413-4880-475e-ad5f-b68177487392</ButterId>
<ButterProduced>6</ButterProduced>
<Cream>sample string 3</Cream>
<CreamFat>5</CreamFat>
<PackedQty>7</PackedQty>
<ProductId>b12315a0-1330-4d2b-b512-6516e955c768</ProductId>
<UnPackedButter>8</UnPackedButter>
<response xmlns:d3p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
<d3p1:Error>sample string 1</d3p1:Error>
<d3p1:Success>sample string 2</d3p1:Success>
</response>
</Butter>
<ButterId>95190497-8b5b-4953-ad00-f5d93466edec</ButterId>
<ButterOilId>67ce444a-0460-43bd-93f1-ff177527a50b</ButterOilId>
<ButterOilProcessed>5</ButterOilProcessed>
<ButterOilRecovered>7</ButterOilRecovered>
<ButterQty>4</ButterQty>
<ProductId>8b8779b2-6ee1-4b0a-8ea9-c28f792ff7f8</ProductId>
<response xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
<d2p1:Error>sample string 1</d2p1:Error>
<d2p1:Success>sample string 2</d2p1:Success>
</response>
</ButterOil>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.