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": "9219033b-7e64-4aa0-970e-5ebcfdcb00e2",
"ButterId": "3bb0cb42-4768-4d9a-9fc0-98ade9c083eb",
"ProductId": "5df5345e-d9af-47e2-a756-8f9b21ce9b3a",
"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": "a5ab850f-5fcc-4421-a826-149173d06290",
"ProductId": "24212653-3835-4111-b48a-f0ae0b260a5b",
"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": "08347c77-0cdd-48b0-ae02-bf02eab7129b",
"CreatedDate": "2026-03-23T11:28:41.9803461-05:00",
"EditedBy": "7d9f20bb-b76e-4bf1-b1af-dd71af97277b",
"EditedDate": "2026-03-23T11:28:41.9803461-05:00",
"IsActive": true,
"IsDelete": true
},
"ActiveStep": 9,
"CreatedBy": "bf081e43-14cc-4e55-80a2-ead03f885a5e",
"CreatedDate": "2026-03-23T11:28:41.9803461-05:00",
"EditedBy": "063bc259-1b81-4423-b04a-3e9901075bc6",
"EditedDate": "2026-03-23T11:28:41.9803461-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">bf081e43-14cc-4e55-80a2-ead03f885a5e</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:28:41.9803461-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">063bc259-1b81-4423-b04a-3e9901075bc6</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:28:41.9803461-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">08347c77-0cdd-48b0-ae02-bf02eab7129b</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:28:41.9803461-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">7d9f20bb-b76e-4bf1-b1af-dd71af97277b</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:28:41.9803461-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>a5ab850f-5fcc-4421-a826-149173d06290</ButterId>
<ButterProduced>6</ButterProduced>
<Cream>sample string 3</Cream>
<CreamFat>5</CreamFat>
<PackedQty>7</PackedQty>
<ProductId>24212653-3835-4111-b48a-f0ae0b260a5b</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>3bb0cb42-4768-4d9a-9fc0-98ade9c083eb</ButterId>
<ButterOilId>9219033b-7e64-4aa0-970e-5ebcfdcb00e2</ButterOilId>
<ButterOilProcessed>5</ButterOilProcessed>
<ButterOilRecovered>7</ButterOilRecovered>
<ButterQty>4</ButterQty>
<ProductId>5df5345e-d9af-47e2-a756-8f9b21ce9b3a</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.