POST api/YogurtAdditive/Add

Request Information

URI Parameters

None.

Body Parameters

YogurtAdditive
NameDescriptionTypeAdditional information
YogurtAdditivesID

globally unique identifier

None.

YogurtId

globally unique identifier

None.

SkimmedMilk

decimal number

None.

Pectine

decimal number

None.

Stablizer

decimal number

None.

Sugar

decimal number

None.

Culture

decimal number

None.

response

Response

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:
{
  "YogurtAdditivesID": "062c8bd4-a527-46f1-88f1-c17abe306a2c",
  "YogurtId": "2118a9be-5f2c-4f7c-822a-0f8cffb47c21",
  "SkimmedMilk": 3.0,
  "Pectine": 4.0,
  "Stablizer": 5.0,
  "Sugar": 6.0,
  "Culture": 7.0,
  "response": {
    "Error": "sample string 1",
    "Success": "sample string 2"
  },
  "CreatedBy": "49170753-f214-46aa-b4d2-6abde8bbaa57",
  "CreatedDate": "2025-12-10T21:35:53.2419417-06:00",
  "EditedBy": "9b24433c-6121-44e5-b7d8-9b577fd11423",
  "EditedDate": "2025-12-10T21:35:53.2419417-06:00",
  "IsActive": true,
  "IsDelete": true
}

application/xml, text/xml

Sample:
<YogurtAdditive 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">49170753-f214-46aa-b4d2-6abde8bbaa57</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:35:53.2419417-06:00</CreatedDate>
  <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">9b24433c-6121-44e5-b7d8-9b577fd11423</EditedBy>
  <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:35:53.2419417-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>
  <Culture>7</Culture>
  <Pectine>4</Pectine>
  <SkimmedMilk>3</SkimmedMilk>
  <Stablizer>5</Stablizer>
  <Sugar>6</Sugar>
  <YogurtAdditivesID>062c8bd4-a527-46f1-88f1-c17abe306a2c</YogurtAdditivesID>
  <YogurtId>2118a9be-5f2c-4f7c-822a-0f8cffb47c21</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>
</YogurtAdditive>

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.