POST api/Packing/Create
Request Information
URI Parameters
None.
Body Parameters
Packing| Name | Description | Type | Additional information |
|---|---|---|---|
| PackingId | globally unique identifier |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| TableName | string |
None. |
|
| BatchNo | integer |
None. |
|
| PackingSizeId | globally unique identifier |
None. |
|
| NumberOfPacks | integer |
None. |
|
| ProductName | string |
None. |
|
| TotalQtyProduced | decimal number |
None. |
|
| TotalQtyRemaining | 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:
{
"PackingId": "ff4dd119-cff4-4910-8566-a65120b76410",
"ProductId": "c770180d-5003-473e-8b08-a7c9cf446130",
"TableName": "sample string 3",
"BatchNo": 4,
"PackingSizeId": "dbb07db2-98f8-44d8-bdd5-19ff0ca1704b",
"NumberOfPacks": 6,
"ProductName": "sample string 7",
"TotalQtyProduced": 8.0,
"TotalQtyRemaining": 9.0,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"CreatedBy": "7e70f9c3-f9dd-4be5-b679-f6b54752b42b",
"CreatedDate": "2026-02-01T08:55:06.2716458-06:00",
"EditedBy": "55c81373-bd8c-4fa1-869a-cb8dd2b4cf97",
"EditedDate": "2026-02-01T08:55:06.2716458-06:00",
"IsActive": true,
"IsDelete": true
}
application/xml, text/xml
Sample:
<Packing 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">7e70f9c3-f9dd-4be5-b679-f6b54752b42b</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T08:55:06.2716458-06:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">55c81373-bd8c-4fa1-869a-cb8dd2b4cf97</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T08:55:06.2716458-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>
<BatchNo>4</BatchNo>
<NumberOfPacks>6</NumberOfPacks>
<PackingId>ff4dd119-cff4-4910-8566-a65120b76410</PackingId>
<PackingSizeId>dbb07db2-98f8-44d8-bdd5-19ff0ca1704b</PackingSizeId>
<ProductId>c770180d-5003-473e-8b08-a7c9cf446130</ProductId>
<ProductName>sample string 7</ProductName>
<TableName>sample string 3</TableName>
<TotalQtyProduced>8</TotalQtyProduced>
<TotalQtyRemaining>9</TotalQtyRemaining>
<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>
</Packing>
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.