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": "cff5d73d-5b4b-485d-8aec-81f6106d1de5",
"ButterId": "48d52c65-8156-4bee-9836-4a8126fe7061",
"ProductId": "5d56f72a-c7f4-42bf-b832-a65b4f7813dd",
"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": "25f8e5b3-b5e6-46ac-b7a1-184dd0254f58",
"ProductId": "9808283f-fe9d-48c4-ad79-227d6573fbbf",
"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": "5120ff7b-00cb-43b9-b7b6-31333be81f29",
"CreatedDate": "2026-07-16T06:05:15.0674199-05:00",
"EditedBy": "1e1a7d28-ccfa-4483-a8b0-a069e05e919c",
"EditedDate": "2026-07-16T06:05:15.0674199-05:00",
"IsActive": true,
"IsDelete": true
},
"ActiveStep": 9,
"CreatedBy": "89b10b7d-96f4-440f-bb92-e937ff3565ce",
"CreatedDate": "2026-07-16T06:05:15.0674199-05:00",
"EditedBy": "5e5c2cc8-ec5f-4db6-8844-6c80407f26d4",
"EditedDate": "2026-07-16T06:05:15.0674199-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">89b10b7d-96f4-440f-bb92-e937ff3565ce</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:05:15.0674199-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">5e5c2cc8-ec5f-4db6-8844-6c80407f26d4</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:05:15.0674199-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">5120ff7b-00cb-43b9-b7b6-31333be81f29</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:05:15.0674199-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">1e1a7d28-ccfa-4483-a8b0-a069e05e919c</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:05:15.0674199-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>25f8e5b3-b5e6-46ac-b7a1-184dd0254f58</ButterId>
<ButterProduced>6</ButterProduced>
<Cream>sample string 3</Cream>
<CreamFat>5</CreamFat>
<PackedQty>7</PackedQty>
<ProductId>9808283f-fe9d-48c4-ad79-227d6573fbbf</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>48d52c65-8156-4bee-9836-4a8126fe7061</ButterId>
<ButterOilId>cff5d73d-5b4b-485d-8aec-81f6106d1de5</ButterOilId>
<ButterOilProcessed>5</ButterOilProcessed>
<ButterOilRecovered>7</ButterOilRecovered>
<ButterQty>4</ButterQty>
<ProductId>5d56f72a-c7f4-42bf-b832-a65b4f7813dd</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.