POST api/Butter/Edit

Request Information

URI Parameters

None.

Body Parameters

Butter
NameDescriptionTypeAdditional 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": "53e4f068-31f0-4d68-b178-49005c3e35d4",
  "ProductId": "56470d36-72e2-4494-9de9-972653289d9a",
  "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": "ebbcd4a2-cb0d-42f3-8af5-cbc1619fe1e7",
  "CreatedDate": "2025-12-10T21:41:42.2889976-06:00",
  "EditedBy": "78dbd58f-92ae-4b68-a305-5ecc6b6d4361",
  "EditedDate": "2025-12-10T21:41:42.2889976-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">ebbcd4a2-cb0d-42f3-8af5-cbc1619fe1e7</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:41:42.2889976-06:00</CreatedDate>
  <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">78dbd58f-92ae-4b68-a305-5ecc6b6d4361</EditedBy>
  <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:41:42.2889976-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>53e4f068-31f0-4d68-b178-49005c3e35d4</ButterId>
  <ButterProduced>6</ButterProduced>
  <Cream>sample string 3</Cream>
  <CreamFat>5</CreamFat>
  <PackedQty>7</PackedQty>
  <ProductId>56470d36-72e2-4494-9de9-972653289d9a</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

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.