POST api/Wastage/Create
Request Information
URI Parameters
None.
Body Parameters
Wastage| Name | Description | Type | Additional information |
|---|---|---|---|
| WastageId | globally unique identifier |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| ProductName | string |
None. |
|
| MaterialName | string |
None. |
|
| MaterialId | integer |
None. |
|
| Quantity | decimal number |
None. |
|
| UOM | string |
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:
{
"WastageId": "8cd0b4da-8d5c-4e5a-99dd-fa6654b05e7d",
"ProductId": "dd341880-5d76-4682-83da-20b1afeedda7",
"ProductName": "sample string 3",
"MaterialName": "sample string 4",
"MaterialId": 5,
"Quantity": 6.0,
"UOM": "sample string 7",
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"CreatedBy": "d3e09e7d-7a8a-49b5-8539-0a0ed01c59ed",
"CreatedDate": "2025-12-10T21:39:54.4658768-06:00",
"EditedBy": "41afd71f-1a9c-4fc2-8389-25221ca5e5ab",
"EditedDate": "2025-12-10T21:39:54.4658768-06:00",
"IsActive": true,
"IsDelete": true
}
application/xml, text/xml
Sample:
<Wastage 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">d3e09e7d-7a8a-49b5-8539-0a0ed01c59ed</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:39:54.4658768-06:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">41afd71f-1a9c-4fc2-8389-25221ca5e5ab</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:39:54.4658768-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>
<MaterialId>5</MaterialId>
<MaterialName>sample string 4</MaterialName>
<ProductId>dd341880-5d76-4682-83da-20b1afeedda7</ProductId>
<ProductName>sample string 3</ProductName>
<Quantity>6</Quantity>
<UOM>sample string 7</UOM>
<WastageId>8cd0b4da-8d5c-4e5a-99dd-fa6654b05e7d</WastageId>
<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>
</Wastage>
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.