POST api/PasteurizeMilk/Edit

Request Information

URI Parameters

None.

Body Parameters

PasteurizeMilk
NameDescriptionTypeAdditional 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": "c2544a2e-d873-4ded-9e69-ad273c8787be",
  "ProductId": "c0975d69-6112-4b3c-8795-fd28f609af41",
  "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": "663f1f56-e693-4737-be8e-c920f24a2910",
  "CreatedDate": "2025-12-10T21:43:31.0430917-06:00",
  "EditedBy": "ad029e88-f6b2-4297-97b4-8e5e8ea070c7",
  "EditedDate": "2025-12-10T21:43:31.0430917-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">663f1f56-e693-4737-be8e-c920f24a2910</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:43:31.0430917-06:00</CreatedDate>
  <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">ad029e88-f6b2-4297-97b4-8e5e8ea070c7</EditedBy>
  <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:43:31.0430917-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>c2544a2e-d873-4ded-9e69-ad273c8787be</PasteurizeMilkId>
  <ProductId>c0975d69-6112-4b3c-8795-fd28f609af41</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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.