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": "e3c8d482-5323-40fc-8672-93f1c38df4ab",
"ProductId": "a2eebcae-d9ab-4cf8-9d79-b8419018b396",
"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": "e9580500-f1ec-4c58-a87a-628f3826c1c1",
"CreatedDate": "2026-02-01T08:59:02.1894121-06:00",
"EditedBy": "16bc9929-e9d3-4d47-a73f-e56d4f715459",
"EditedDate": "2026-02-01T08:59:02.1894121-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">e9580500-f1ec-4c58-a87a-628f3826c1c1</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T08:59:02.1894121-06:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">16bc9929-e9d3-4d47-a73f-e56d4f715459</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T08:59:02.1894121-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>a2eebcae-d9ab-4cf8-9d79-b8419018b396</ProductId>
<ProductName>sample string 3</ProductName>
<Quantity>6</Quantity>
<UOM>sample string 7</UOM>
<WastageId>e3c8d482-5323-40fc-8672-93f1c38df4ab</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.