POST api/Butter/Create
Request Information
URI Parameters
None.
Body Parameters
Butter| Name | Description | Type | Additional information |
|---|---|---|---|
| ButterId | globally unique identifier |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| Cream | string |
None. |
|
| BatchNo | integer |
None. |
|
| CreamFat | decimal number |
None. |
|
| ButterProduced | decimal number |
None. |
|
| response | Response |
None. |
|
| PackedQty | decimal number |
None. |
|
| UnPackedButter | decimal number |
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:
{
"ButterId": "3b40b642-7aea-4e9c-bc56-32db001ba0c5",
"ProductId": "ff5c7168-931d-4dcb-895d-17d16b594db0",
"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": "ad08c65d-ad1e-40ca-a809-dda3f6841006",
"CreatedDate": "2026-02-01T08:55:40.4971055-06:00",
"EditedBy": "8470a8a4-e2e6-4816-b4af-aecc7d13b39a",
"EditedDate": "2026-02-01T08:55:40.4971055-06:00",
"IsActive": true,
"IsDelete": true
}
application/xml, text/xml
Sample:
<Butter 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">ad08c65d-ad1e-40ca-a809-dda3f6841006</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T08:55:40.4971055-06:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">8470a8a4-e2e6-4816-b4af-aecc7d13b39a</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T08:55:40.4971055-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>3b40b642-7aea-4e9c-bc56-32db001ba0c5</ButterId>
<ButterProduced>6</ButterProduced>
<Cream>sample string 3</Cream>
<CreamFat>5</CreamFat>
<PackedQty>7</PackedQty>
<ProductId>ff5c7168-931d-4dcb-895d-17d16b594db0</ProductId>
<UnPackedButter>8</UnPackedButter>
<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>
</Butter>
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.