POST api/ButterOil/Create
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": "245ee0dc-6e64-4a50-825a-038ab29f7c8d",
"ButterId": "c94573cc-83f7-449c-810a-cec389a11e67",
"ProductId": "020f1ff9-82d3-49d4-82d4-920ddf780e02",
"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": "a08bac5d-06cc-49cf-94b7-55db38e24668",
"ProductId": "ca35fde1-b48a-43ff-988a-95938d007434",
"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": "b84889a5-f048-480a-b8b8-1d3cfc4d83ea",
"CreatedDate": "2026-07-16T06:00:19.95014-05:00",
"EditedBy": "a2d18419-46f9-40a1-b27f-ad66605bdee1",
"EditedDate": "2026-07-16T06:00:19.95014-05:00",
"IsActive": true,
"IsDelete": true
},
"ActiveStep": 9,
"CreatedBy": "31f62265-7b4b-4fbf-8388-54e7859ecf16",
"CreatedDate": "2026-07-16T06:00:19.95014-05:00",
"EditedBy": "ca5575f6-36ce-4836-9ef9-19ac7f55a2ef",
"EditedDate": "2026-07-16T06:00:19.95014-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">31f62265-7b4b-4fbf-8388-54e7859ecf16</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:00:19.95014-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">ca5575f6-36ce-4836-9ef9-19ac7f55a2ef</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:00:19.95014-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">b84889a5-f048-480a-b8b8-1d3cfc4d83ea</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:00:19.95014-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">a2d18419-46f9-40a1-b27f-ad66605bdee1</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:00:19.95014-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>a08bac5d-06cc-49cf-94b7-55db38e24668</ButterId>
<ButterProduced>6</ButterProduced>
<Cream>sample string 3</Cream>
<CreamFat>5</CreamFat>
<PackedQty>7</PackedQty>
<ProductId>ca35fde1-b48a-43ff-988a-95938d007434</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>c94573cc-83f7-449c-810a-cec389a11e67</ButterId>
<ButterOilId>245ee0dc-6e64-4a50-825a-038ab29f7c8d</ButterOilId>
<ButterOilProcessed>5</ButterOilProcessed>
<ButterOilRecovered>7</ButterOilRecovered>
<ButterQty>4</ButterQty>
<ProductId>020f1ff9-82d3-49d4-82d4-920ddf780e02</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.