POST api/YogurtAdditive/Add
Request Information
URI Parameters
None.
Body Parameters
YogurtAdditive| Name | Description | Type | Additional 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": "a73fed4c-4f5a-48ec-8cb3-a7ac56b69403",
"YogurtId": "f82f47fa-32a4-4f7f-9332-74550b65d6f0",
"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": "51fe1c8b-a992-4285-939a-579f645f12d0",
"CreatedDate": "2026-02-01T08:55:46.2597305-06:00",
"EditedBy": "786a22f8-84f1-459e-b8c6-417925f58a0c",
"EditedDate": "2026-02-01T08:55:46.2597305-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">51fe1c8b-a992-4285-939a-579f645f12d0</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T08:55:46.2597305-06:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">786a22f8-84f1-459e-b8c6-417925f58a0c</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T08:55:46.2597305-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>a73fed4c-4f5a-48ec-8cb3-a7ac56b69403</YogurtAdditivesID>
<YogurtId>f82f47fa-32a4-4f7f-9332-74550b65d6f0</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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.