POST api/PasteurizeMilk/Create
Request Information
URI Parameters
None.
Body Parameters
PasteurizeMilk| Name | Description | Type | Additional information |
|---|---|---|---|
| PasteurizeMilkId | globally unique identifier |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| RawMilk | decimal number |
None. |
|
| BatchNo | integer |
None. |
|
| MilkFat | decimal number |
None. |
|
| MilkFatRequired | decimal number |
None. |
|
| CreamFat | decimal number |
None. |
|
| FatToBeExtracted | decimal number |
None. |
|
| RecoveredFat | decimal number |
None. |
|
| PackedMilk | decimal number |
None. |
|
| response | Response |
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:
{
"PasteurizeMilkId": "058a944b-59f8-4e2b-9f9d-b652c259f017",
"ProductId": "d6580849-5ebe-4c27-9938-a71f9b0870aa",
"RawMilk": 3.0,
"BatchNo": 4,
"MilkFat": 5.0,
"MilkFatRequired": 6.0,
"CreamFat": 7.0,
"FatToBeExtracted": 8.0,
"RecoveredFat": 9.0,
"PackedMilk": 10.0,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"ActiveStep": 11,
"CreatedBy": "cde461d3-7df8-4391-bfd8-6e4ce73dec5a",
"CreatedDate": "2025-12-10T21:39:54.9678283-06:00",
"EditedBy": "bc3279bd-77a3-477a-95d7-95c7390386be",
"EditedDate": "2025-12-10T21:39:54.9678283-06:00",
"IsActive": true,
"IsDelete": true
}
application/xml, text/xml
Sample:
<PasteurizeMilk 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">cde461d3-7df8-4391-bfd8-6e4ce73dec5a</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:39:54.9678283-06:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">bc3279bd-77a3-477a-95d7-95c7390386be</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:39:54.9678283-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>11</ActiveStep>
<BatchNo>4</BatchNo>
<CreamFat>7</CreamFat>
<FatToBeExtracted>8</FatToBeExtracted>
<MilkFat>5</MilkFat>
<MilkFatRequired>6</MilkFatRequired>
<PackedMilk>10</PackedMilk>
<PasteurizeMilkId>058a944b-59f8-4e2b-9f9d-b652c259f017</PasteurizeMilkId>
<ProductId>d6580849-5ebe-4c27-9938-a71f9b0870aa</ProductId>
<RawMilk>3</RawMilk>
<RecoveredFat>9</RecoveredFat>
<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>
</PasteurizeMilk>
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.