POST api/CheddarCheese/Create

Request Information

URI Parameters

None.

Body Parameters

CheddarCheese
NameDescriptionTypeAdditional information
CheddarCheeseId

globally unique identifier

None.

ProductId

globally unique identifier

None.

RawMilk

decimal number

None.

LeftOverMilk

decimal number

None.

BatchNo

integer

None.

RawMilkFat

decimal number

None.

MilkFatRequired

decimal number

None.

CreamFat

decimal number

None.

FatToBeExtracted

decimal number

None.

RecoveredFat

decimal number

None.

MilkAfterCreamExtraction

decimal number

None.

BundleWeightBeforeColdRoom

decimal number

None.

CheddarCheeseProduced

decimal number

None.

WeightAfterColdRoom

decimal number

None.

TotalWeightCheeseinTrays

decimal number

None.

SpoiledCheddarCheese

decimal number

None.

ReusableCheddarCheese

decimal number

None.

TotalCheddarCheeseProduced

decimal number

None.

response

Response

None.

PackedQty

decimal number

None.

ActiveStep

integer

None.

VATFields

Collection of CheeseDetail

None.

KatellingFields

Collection of CheeseDetail

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:
{
  "CheddarCheeseId": "1df9a03c-c274-46f9-bc9a-ee128297f880",
  "ProductId": "0d806ad2-242c-45d9-b547-04fdaa93f969",
  "RawMilk": 3.0,
  "LeftOverMilk": 4.0,
  "BatchNo": 5,
  "RawMilkFat": 6.0,
  "MilkFatRequired": 7.0,
  "CreamFat": 8.0,
  "FatToBeExtracted": 9.0,
  "RecoveredFat": 10.0,
  "MilkAfterCreamExtraction": 11.0,
  "BundleWeightBeforeColdRoom": 12.0,
  "CheddarCheeseProduced": 13.0,
  "WeightAfterColdRoom": 14.0,
  "TotalWeightCheeseinTrays": 15.0,
  "SpoiledCheddarCheese": 16.0,
  "ReusableCheddarCheese": 17.0,
  "TotalCheddarCheeseProduced": 18.0,
  "response": {
    "Error": "sample string 1",
    "Success": "sample string 2"
  },
  "PackedQty": 19.0,
  "ActiveStep": 20,
  "VATFields": [
    {
      "response": {
        "Error": "sample string 1",
        "Success": "sample string 2"
      },
      "CheeseDetailId": "bdd24284-10a8-4a9f-9ea7-a783934476c5",
      "DetailType": "sample string 2",
      "ReferenceId": "359b42c4-a933-4a31-bf7d-c004969b5166",
      "ProductId": "cc9f99e8-a587-4d95-9816-27463b25ef95",
      "ProductType": "sample string 5",
      "FieldId": 6,
      "FieldValue": 7.0,
      "UMOId": 8,
      "FieldIdName": "sample string 9",
      "CreatedBy": "fed31c2d-7f87-42ff-a23c-873f41ccaea5",
      "CreatedDate": "2025-12-10T21:37:46.1661828-06:00",
      "EditedBy": "ce4fce05-bc22-45be-9c6a-413734d8a731",
      "EditedDate": "2025-12-10T21:37:46.1661828-06:00",
      "IsActive": true,
      "IsDelete": true
    },
    {
      "response": {
        "Error": "sample string 1",
        "Success": "sample string 2"
      },
      "CheeseDetailId": "bdd24284-10a8-4a9f-9ea7-a783934476c5",
      "DetailType": "sample string 2",
      "ReferenceId": "359b42c4-a933-4a31-bf7d-c004969b5166",
      "ProductId": "cc9f99e8-a587-4d95-9816-27463b25ef95",
      "ProductType": "sample string 5",
      "FieldId": 6,
      "FieldValue": 7.0,
      "UMOId": 8,
      "FieldIdName": "sample string 9",
      "CreatedBy": "fed31c2d-7f87-42ff-a23c-873f41ccaea5",
      "CreatedDate": "2025-12-10T21:37:46.1661828-06:00",
      "EditedBy": "ce4fce05-bc22-45be-9c6a-413734d8a731",
      "EditedDate": "2025-12-10T21:37:46.1661828-06:00",
      "IsActive": true,
      "IsDelete": true
    }
  ],
  "KatellingFields": [
    {
      "response": {
        "Error": "sample string 1",
        "Success": "sample string 2"
      },
      "CheeseDetailId": "bdd24284-10a8-4a9f-9ea7-a783934476c5",
      "DetailType": "sample string 2",
      "ReferenceId": "359b42c4-a933-4a31-bf7d-c004969b5166",
      "ProductId": "cc9f99e8-a587-4d95-9816-27463b25ef95",
      "ProductType": "sample string 5",
      "FieldId": 6,
      "FieldValue": 7.0,
      "UMOId": 8,
      "FieldIdName": "sample string 9",
      "CreatedBy": "fed31c2d-7f87-42ff-a23c-873f41ccaea5",
      "CreatedDate": "2025-12-10T21:37:46.1661828-06:00",
      "EditedBy": "ce4fce05-bc22-45be-9c6a-413734d8a731",
      "EditedDate": "2025-12-10T21:37:46.1661828-06:00",
      "IsActive": true,
      "IsDelete": true
    },
    {
      "response": {
        "Error": "sample string 1",
        "Success": "sample string 2"
      },
      "CheeseDetailId": "bdd24284-10a8-4a9f-9ea7-a783934476c5",
      "DetailType": "sample string 2",
      "ReferenceId": "359b42c4-a933-4a31-bf7d-c004969b5166",
      "ProductId": "cc9f99e8-a587-4d95-9816-27463b25ef95",
      "ProductType": "sample string 5",
      "FieldId": 6,
      "FieldValue": 7.0,
      "UMOId": 8,
      "FieldIdName": "sample string 9",
      "CreatedBy": "fed31c2d-7f87-42ff-a23c-873f41ccaea5",
      "CreatedDate": "2025-12-10T21:37:46.1661828-06:00",
      "EditedBy": "ce4fce05-bc22-45be-9c6a-413734d8a731",
      "EditedDate": "2025-12-10T21:37:46.1661828-06:00",
      "IsActive": true,
      "IsDelete": true
    }
  ],
  "CreatedBy": "d6717c40-80eb-4e31-b27c-65725b150eae",
  "CreatedDate": "2025-12-10T21:37:46.1661828-06:00",
  "EditedBy": "b2833074-9632-4fb7-92ac-a4ed7dcd192f",
  "EditedDate": "2025-12-10T21:37:46.1661828-06:00",
  "IsActive": true,
  "IsDelete": true
}

application/xml, text/xml

Sample:
<CheddarCheese 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">d6717c40-80eb-4e31-b27c-65725b150eae</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:46.1661828-06:00</CreatedDate>
  <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">b2833074-9632-4fb7-92ac-a4ed7dcd192f</EditedBy>
  <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:46.1661828-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>20</ActiveStep>
  <BatchNo>5</BatchNo>
  <BundleWeightBeforeColdRoom>12</BundleWeightBeforeColdRoom>
  <CheddarCheeseId>1df9a03c-c274-46f9-bc9a-ee128297f880</CheddarCheeseId>
  <CheddarCheeseProduced>13</CheddarCheeseProduced>
  <CreamFat>8</CreamFat>
  <FatToBeExtracted>9</FatToBeExtracted>
  <KatellingFields>
    <CheeseDetail>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">fed31c2d-7f87-42ff-a23c-873f41ccaea5</CreatedBy>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:46.1661828-06:00</CreatedDate>
      <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">ce4fce05-bc22-45be-9c6a-413734d8a731</EditedBy>
      <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:46.1661828-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>
      <CheeseDetailId>bdd24284-10a8-4a9f-9ea7-a783934476c5</CheeseDetailId>
      <DetailType>sample string 2</DetailType>
      <FieldId>6</FieldId>
      <FieldIdName>sample string 9</FieldIdName>
      <FieldValue>7</FieldValue>
      <ProductId>cc9f99e8-a587-4d95-9816-27463b25ef95</ProductId>
      <ProductType>sample string 5</ProductType>
      <ReferenceId>359b42c4-a933-4a31-bf7d-c004969b5166</ReferenceId>
      <UMOId>8</UMOId>
      <response xmlns:d4p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
        <d4p1:Error>sample string 1</d4p1:Error>
        <d4p1:Success>sample string 2</d4p1:Success>
      </response>
    </CheeseDetail>
    <CheeseDetail>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">fed31c2d-7f87-42ff-a23c-873f41ccaea5</CreatedBy>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:46.1661828-06:00</CreatedDate>
      <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">ce4fce05-bc22-45be-9c6a-413734d8a731</EditedBy>
      <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:46.1661828-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>
      <CheeseDetailId>bdd24284-10a8-4a9f-9ea7-a783934476c5</CheeseDetailId>
      <DetailType>sample string 2</DetailType>
      <FieldId>6</FieldId>
      <FieldIdName>sample string 9</FieldIdName>
      <FieldValue>7</FieldValue>
      <ProductId>cc9f99e8-a587-4d95-9816-27463b25ef95</ProductId>
      <ProductType>sample string 5</ProductType>
      <ReferenceId>359b42c4-a933-4a31-bf7d-c004969b5166</ReferenceId>
      <UMOId>8</UMOId>
      <response xmlns:d4p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
        <d4p1:Error>sample string 1</d4p1:Error>
        <d4p1:Success>sample string 2</d4p1:Success>
      </response>
    </CheeseDetail>
  </KatellingFields>
  <LeftOverMilk>4</LeftOverMilk>
  <MilkAfterCreamExtraction>11</MilkAfterCreamExtraction>
  <MilkFatRequired>7</MilkFatRequired>
  <PackedQty>19</PackedQty>
  <ProductId>0d806ad2-242c-45d9-b547-04fdaa93f969</ProductId>
  <RawMilk>3</RawMilk>
  <RawMilkFat>6</RawMilkFat>
  <RecoveredFat>10</RecoveredFat>
  <ReusableCheddarCheese>17</ReusableCheddarCheese>
  <SpoiledCheddarCheese>16</SpoiledCheddarCheese>
  <TotalCheddarCheeseProduced>18</TotalCheddarCheeseProduced>
  <TotalWeightCheeseinTrays>15</TotalWeightCheeseinTrays>
  <VATFields>
    <CheeseDetail>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">fed31c2d-7f87-42ff-a23c-873f41ccaea5</CreatedBy>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:46.1661828-06:00</CreatedDate>
      <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">ce4fce05-bc22-45be-9c6a-413734d8a731</EditedBy>
      <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:46.1661828-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>
      <CheeseDetailId>bdd24284-10a8-4a9f-9ea7-a783934476c5</CheeseDetailId>
      <DetailType>sample string 2</DetailType>
      <FieldId>6</FieldId>
      <FieldIdName>sample string 9</FieldIdName>
      <FieldValue>7</FieldValue>
      <ProductId>cc9f99e8-a587-4d95-9816-27463b25ef95</ProductId>
      <ProductType>sample string 5</ProductType>
      <ReferenceId>359b42c4-a933-4a31-bf7d-c004969b5166</ReferenceId>
      <UMOId>8</UMOId>
      <response xmlns:d4p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
        <d4p1:Error>sample string 1</d4p1:Error>
        <d4p1:Success>sample string 2</d4p1:Success>
      </response>
    </CheeseDetail>
    <CheeseDetail>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">fed31c2d-7f87-42ff-a23c-873f41ccaea5</CreatedBy>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:46.1661828-06:00</CreatedDate>
      <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">ce4fce05-bc22-45be-9c6a-413734d8a731</EditedBy>
      <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:46.1661828-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>
      <CheeseDetailId>bdd24284-10a8-4a9f-9ea7-a783934476c5</CheeseDetailId>
      <DetailType>sample string 2</DetailType>
      <FieldId>6</FieldId>
      <FieldIdName>sample string 9</FieldIdName>
      <FieldValue>7</FieldValue>
      <ProductId>cc9f99e8-a587-4d95-9816-27463b25ef95</ProductId>
      <ProductType>sample string 5</ProductType>
      <ReferenceId>359b42c4-a933-4a31-bf7d-c004969b5166</ReferenceId>
      <UMOId>8</UMOId>
      <response xmlns:d4p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
        <d4p1:Error>sample string 1</d4p1:Error>
        <d4p1:Success>sample string 2</d4p1:Success>
      </response>
    </CheeseDetail>
  </VATFields>
  <WeightAfterColdRoom>14</WeightAfterColdRoom>
  <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>
</CheddarCheese>

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.