POST api/Yogurt/Create

Request Information

URI Parameters

None.

Body Parameters

Yogurt
NameDescriptionTypeAdditional information
YogurtId

globally unique identifier

None.

ProductId

globally unique identifier

None.

BatchNo

integer

None.

CreamFat

decimal number

None.

RawMilk

decimal number

None.

RawMilkFat

decimal number

None.

RecoveredFat

decimal number

None.

FatToBeExtracted

decimal number

None.

Date

date

None.

CreamExtraction

decimal number

None.

MilkFatRequired

decimal number

None.

WeightAllAdditives

decimal number

None.

AdditiveFields

Collection of CheeseDetail

None.

response

Response

None.

MeasurementUnit

Collection of Category

None.

ActiveStep

integer

None.

PackedQty

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:
{
  "YogurtId": "f53caea3-0303-4b9b-b81f-a8c6a45afa2f",
  "ProductId": "496b19f7-4807-4602-869a-b12f6531abed",
  "BatchNo": 3,
  "CreamFat": 4.0,
  "RawMilk": 5.0,
  "RawMilkFat": 6.0,
  "RecoveredFat": 7.0,
  "FatToBeExtracted": 8.0,
  "Date": "2025-12-10T21:41:47.0917984-06:00",
  "CreamExtraction": 10.0,
  "MilkFatRequired": 11.0,
  "WeightAllAdditives": 12.0,
  "AdditiveFields": [
    {
      "response": {
        "Error": "sample string 1",
        "Success": "sample string 2"
      },
      "CheeseDetailId": "5adf08c5-809a-47c3-b811-671538e6bf4b",
      "DetailType": "sample string 2",
      "ReferenceId": "d1c1e939-fc2a-427f-bee0-2e7caf14155c",
      "ProductId": "6afb8ded-7474-4228-a589-6d58aaf9136c",
      "ProductType": "sample string 5",
      "FieldId": 6,
      "FieldValue": 7.0,
      "UMOId": 8,
      "FieldIdName": "sample string 9",
      "CreatedBy": "ec84dcc4-f042-4473-a19e-86c042d02269",
      "CreatedDate": "2025-12-10T21:41:47.0917984-06:00",
      "EditedBy": "b066630a-1e9d-49a2-848c-5875dfe4388a",
      "EditedDate": "2025-12-10T21:41:47.0917984-06:00",
      "IsActive": true,
      "IsDelete": true
    },
    {
      "response": {
        "Error": "sample string 1",
        "Success": "sample string 2"
      },
      "CheeseDetailId": "5adf08c5-809a-47c3-b811-671538e6bf4b",
      "DetailType": "sample string 2",
      "ReferenceId": "d1c1e939-fc2a-427f-bee0-2e7caf14155c",
      "ProductId": "6afb8ded-7474-4228-a589-6d58aaf9136c",
      "ProductType": "sample string 5",
      "FieldId": 6,
      "FieldValue": 7.0,
      "UMOId": 8,
      "FieldIdName": "sample string 9",
      "CreatedBy": "ec84dcc4-f042-4473-a19e-86c042d02269",
      "CreatedDate": "2025-12-10T21:41:47.0917984-06:00",
      "EditedBy": "b066630a-1e9d-49a2-848c-5875dfe4388a",
      "EditedDate": "2025-12-10T21:41:47.0917984-06:00",
      "IsActive": true,
      "IsDelete": true
    }
  ],
  "response": {
    "Error": "sample string 1",
    "Success": "sample string 2"
  },
  "MeasurementUnit": [
    {
      "CategoryId": 1,
      "CategoryName": "sample string 2",
      "CategoryDesc": "sample string 3",
      "ParentCategoryId": 4,
      "IsSystemDependent": true,
      "response": {
        "Error": "sample string 1",
        "Success": "sample string 2"
      },
      "CreatedBy": "dca9be5a-26d3-4d4a-8151-e19b2c2e721b",
      "CreatedDate": "2025-12-10T21:41:47.0928003-06:00",
      "EditedBy": "a77b31c0-c8fe-49ec-bad2-6c4ba1168fbf",
      "EditedDate": "2025-12-10T21:41:47.0928003-06:00",
      "IsActive": true,
      "IsDelete": true
    },
    {
      "CategoryId": 1,
      "CategoryName": "sample string 2",
      "CategoryDesc": "sample string 3",
      "ParentCategoryId": 4,
      "IsSystemDependent": true,
      "response": {
        "Error": "sample string 1",
        "Success": "sample string 2"
      },
      "CreatedBy": "dca9be5a-26d3-4d4a-8151-e19b2c2e721b",
      "CreatedDate": "2025-12-10T21:41:47.0928003-06:00",
      "EditedBy": "a77b31c0-c8fe-49ec-bad2-6c4ba1168fbf",
      "EditedDate": "2025-12-10T21:41:47.0928003-06:00",
      "IsActive": true,
      "IsDelete": true
    }
  ],
  "ActiveStep": 13,
  "PackedQty": 14.0,
  "CreatedBy": "34a6b356-8ebe-45bf-a708-e221c52cb801",
  "CreatedDate": "2025-12-10T21:41:47.0928003-06:00",
  "EditedBy": "44f4feda-5b9e-41b5-9598-e5efd31b3682",
  "EditedDate": "2025-12-10T21:41:47.0928003-06:00",
  "IsActive": true,
  "IsDelete": true
}

application/xml, text/xml

Sample:
<Yogurt 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">34a6b356-8ebe-45bf-a708-e221c52cb801</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:41:47.0928003-06:00</CreatedDate>
  <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">44f4feda-5b9e-41b5-9598-e5efd31b3682</EditedBy>
  <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:41:47.0928003-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>13</ActiveStep>
  <AdditiveFields>
    <CheeseDetail>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">ec84dcc4-f042-4473-a19e-86c042d02269</CreatedBy>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:41:47.0917984-06:00</CreatedDate>
      <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">b066630a-1e9d-49a2-848c-5875dfe4388a</EditedBy>
      <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:41:47.0917984-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>5adf08c5-809a-47c3-b811-671538e6bf4b</CheeseDetailId>
      <DetailType>sample string 2</DetailType>
      <FieldId>6</FieldId>
      <FieldIdName>sample string 9</FieldIdName>
      <FieldValue>7</FieldValue>
      <ProductId>6afb8ded-7474-4228-a589-6d58aaf9136c</ProductId>
      <ProductType>sample string 5</ProductType>
      <ReferenceId>d1c1e939-fc2a-427f-bee0-2e7caf14155c</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">ec84dcc4-f042-4473-a19e-86c042d02269</CreatedBy>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:41:47.0917984-06:00</CreatedDate>
      <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">b066630a-1e9d-49a2-848c-5875dfe4388a</EditedBy>
      <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:41:47.0917984-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>5adf08c5-809a-47c3-b811-671538e6bf4b</CheeseDetailId>
      <DetailType>sample string 2</DetailType>
      <FieldId>6</FieldId>
      <FieldIdName>sample string 9</FieldIdName>
      <FieldValue>7</FieldValue>
      <ProductId>6afb8ded-7474-4228-a589-6d58aaf9136c</ProductId>
      <ProductType>sample string 5</ProductType>
      <ReferenceId>d1c1e939-fc2a-427f-bee0-2e7caf14155c</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>
  </AdditiveFields>
  <BatchNo>3</BatchNo>
  <CreamExtraction>10</CreamExtraction>
  <CreamFat>4</CreamFat>
  <Date>2025-12-10T21:41:47.0917984-06:00</Date>
  <FatToBeExtracted>8</FatToBeExtracted>
  <MeasurementUnit xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
    <d2p1:Category>
      <d2p1:CreatedBy>dca9be5a-26d3-4d4a-8151-e19b2c2e721b</d2p1:CreatedBy>
      <d2p1:CreatedDate>2025-12-10T21:41:47.0928003-06:00</d2p1:CreatedDate>
      <d2p1:EditedBy>a77b31c0-c8fe-49ec-bad2-6c4ba1168fbf</d2p1:EditedBy>
      <d2p1:EditedDate>2025-12-10T21:41:47.0928003-06:00</d2p1:EditedDate>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsDelete>true</d2p1:IsDelete>
      <d2p1:CategoryDesc>sample string 3</d2p1:CategoryDesc>
      <d2p1:CategoryId>1</d2p1:CategoryId>
      <d2p1:CategoryName>sample string 2</d2p1:CategoryName>
      <d2p1:IsSystemDependent>true</d2p1:IsSystemDependent>
      <d2p1:ParentCategoryId>4</d2p1:ParentCategoryId>
      <d2p1:response>
        <d2p1:Error>sample string 1</d2p1:Error>
        <d2p1:Success>sample string 2</d2p1:Success>
      </d2p1:response>
    </d2p1:Category>
    <d2p1:Category>
      <d2p1:CreatedBy>dca9be5a-26d3-4d4a-8151-e19b2c2e721b</d2p1:CreatedBy>
      <d2p1:CreatedDate>2025-12-10T21:41:47.0928003-06:00</d2p1:CreatedDate>
      <d2p1:EditedBy>a77b31c0-c8fe-49ec-bad2-6c4ba1168fbf</d2p1:EditedBy>
      <d2p1:EditedDate>2025-12-10T21:41:47.0928003-06:00</d2p1:EditedDate>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsDelete>true</d2p1:IsDelete>
      <d2p1:CategoryDesc>sample string 3</d2p1:CategoryDesc>
      <d2p1:CategoryId>1</d2p1:CategoryId>
      <d2p1:CategoryName>sample string 2</d2p1:CategoryName>
      <d2p1:IsSystemDependent>true</d2p1:IsSystemDependent>
      <d2p1:ParentCategoryId>4</d2p1:ParentCategoryId>
      <d2p1:response>
        <d2p1:Error>sample string 1</d2p1:Error>
        <d2p1:Success>sample string 2</d2p1:Success>
      </d2p1:response>
    </d2p1:Category>
  </MeasurementUnit>
  <MilkFatRequired>11</MilkFatRequired>
  <PackedQty>14</PackedQty>
  <ProductId>496b19f7-4807-4602-869a-b12f6531abed</ProductId>
  <RawMilk>5</RawMilk>
  <RawMilkFat>6</RawMilkFat>
  <RecoveredFat>7</RecoveredFat>
  <WeightAllAdditives>12</WeightAllAdditives>
  <YogurtId>f53caea3-0303-4b9b-b81f-a8c6a45afa2f</YogurtId>
  <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>
</Yogurt>

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.