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": "73474992-3728-4029-a954-0f3e5e87a6a4",
"ButterId": "6d1c0ff9-65fc-4cfd-8289-46051cfb3e78",
"ProductId": "bdc8c76d-2a99-4709-8ebf-8eb6680ad029",
"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": "31a15399-6bb5-4348-ad1d-0394a7db2269",
"ProductId": "d81660d9-a8bc-494b-925a-d09534efefb0",
"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": "f2fadfca-4025-4258-8fe5-839452e840bb",
"CreatedDate": "2026-02-01T09:01:14.944702-06:00",
"EditedBy": "bad9c3dc-a555-4dc3-b48b-fed8ba814838",
"EditedDate": "2026-02-01T09:01:14.944702-06:00",
"IsActive": true,
"IsDelete": true
},
"ActiveStep": 9,
"CreatedBy": "fb8ff43d-ec17-472c-8b73-19d566091984",
"CreatedDate": "2026-02-01T09:01:14.944702-06:00",
"EditedBy": "0e7a8e74-9daa-4e49-8c57-f2856880c081",
"EditedDate": "2026-02-01T09:01:14.944702-06: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">fb8ff43d-ec17-472c-8b73-19d566091984</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T09:01:14.944702-06:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">0e7a8e74-9daa-4e49-8c57-f2856880c081</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T09:01:14.944702-06: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">f2fadfca-4025-4258-8fe5-839452e840bb</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T09:01:14.944702-06:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">bad9c3dc-a555-4dc3-b48b-fed8ba814838</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T09:01:14.944702-06: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>31a15399-6bb5-4348-ad1d-0394a7db2269</ButterId>
<ButterProduced>6</ButterProduced>
<Cream>sample string 3</Cream>
<CreamFat>5</CreamFat>
<PackedQty>7</PackedQty>
<ProductId>d81660d9-a8bc-494b-925a-d09534efefb0</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>6d1c0ff9-65fc-4cfd-8289-46051cfb3e78</ButterId>
<ButterOilId>73474992-3728-4029-a954-0f3e5e87a6a4</ButterOilId>
<ButterOilProcessed>5</ButterOilProcessed>
<ButterOilRecovered>7</ButterOilRecovered>
<ButterQty>4</ButterQty>
<ProductId>bdc8c76d-2a99-4709-8ebf-8eb6680ad029</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.