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": "74f62747-be59-4e23-b790-c8bdc7b5ed87",
"ProductId": "40277cc5-eeaa-4c21-affc-3d4e3b3e8191",
"TableName": "sample string 3",
"BatchNo": 4,
"PackingSizeId": "348d66f0-72b4-4c4c-ac22-4069951365c3",
"NumberOfPacks": 6,
"ProductName": "sample string 7",
"TotalQtyProduced": 8.0,
"TotalQtyRemaining": 9.0,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"CreatedBy": "16f92241-1c3a-40d8-a880-2bd3aa5d322d",
"CreatedDate": "2026-03-23T11:22:37.237329-05:00",
"EditedBy": "3b7b2741-e2a4-4dc8-82d7-21f621f8b677",
"EditedDate": "2026-03-23T11:22:37.237329-05: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">16f92241-1c3a-40d8-a880-2bd3aa5d322d</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:22:37.237329-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">3b7b2741-e2a4-4dc8-82d7-21f621f8b677</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:22:37.237329-05: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>74f62747-be59-4e23-b790-c8bdc7b5ed87</PackingId>
<PackingSizeId>348d66f0-72b4-4c4c-ac22-4069951365c3</PackingSizeId>
<ProductId>40277cc5-eeaa-4c21-affc-3d4e3b3e8191</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.