PUT api/Packaging/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
PackagingModels| Name | Description | Type | Additional information |
|---|---|---|---|
| PA_Id | integer |
None. |
|
| PA_P_Id_FK | integer |
Required |
|
| PA_Packsize_Code | string |
Required Max length: 30 |
|
| PA_Barcode | string |
Max length: 30 |
|
| PA_Size | string |
Required |
|
| PA_PackUOM | string |
Required Max length: 30 |
|
| PA_PackType | string |
Max length: 30 |
|
| PA_ImagePrimary | string |
Max length: 500 |
|
| PA_ImageSecondary1 | string |
Max length: 500 |
|
| PA_ImageSecondary2 | string |
Max length: 500 |
|
| PA_ImageSecondary3 | string |
Max length: 500 |
|
| PA_ImageSecondary4 | string |
Max length: 500 |
|
| PA_OpenStock | decimal number |
Required |
|
| PA_PackingDescription | string |
Required Max length: 100 |
|
| PA_CasePack | integer |
None. |
|
| PA_CMOQ | decimal number |
None. |
|
| PA_SMOQ | decimal number |
None. |
|
| PA_Product_Life | integer |
Required |
|
| PA_Manufacturer_MMOQ | integer |
Required |
|
| PA_Convertion_Factor | decimal number |
Required |
|
| PA_MMOQ_UOM | string |
Required |
|
| PA_UserId_FK | integer |
None. |
|
| PA_TS | date |
None. |
|
| PA_Inactive | character |
None. |
|
| PA_TS_LastEdited | date |
None. |
|
| PA_TS_Edited_Uid_FK | integer |
None. |
|
| P_Id | integer |
None. |
|
| PartnerCode | string |
None. |
|
| P_Partner_Name | string |
None. |
|
| MA_Name | string |
None. |
|
| ProductId | integer |
None. |
|
| ProductName | string |
None. |
|
| P_ProductCode | string |
None. |
|
| ProductSerialNoList | Collection of GRND_ProductSerialNoModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"PA_Id": 1,
"PA_P_Id_FK": 1,
"PA_Packsize_Code": "sample string 2",
"PA_Barcode": "sample string 3",
"PA_Size": "sample string 4",
"PA_PackUOM": "sample string 5",
"PA_PackType": "sample string 6",
"PA_ImagePrimary": "sample string 7",
"PA_ImageSecondary1": "sample string 8",
"PA_ImageSecondary2": "sample string 9",
"PA_ImageSecondary3": "sample string 10",
"PA_ImageSecondary4": "sample string 11",
"PA_OpenStock": 12.0,
"PA_PackingDescription": "sample string 13",
"PA_CasePack": 14,
"PA_CMOQ": 15.0,
"PA_SMOQ": 16.0,
"PA_Product_Life": 17,
"PA_Manufacturer_MMOQ": 1,
"PA_Convertion_Factor": 1.0,
"PA_MMOQ_UOM": "sample string 18",
"PA_UserId_FK": 19,
"PA_TS": "2025-10-29T20:58:20.8907289+05:30",
"PA_Inactive": "A",
"PA_TS_LastEdited": "2025-10-29T20:58:20.8907289+05:30",
"PA_TS_Edited_Uid_FK": 23,
"P_Id": 24,
"PartnerCode": "sample string 25",
"P_Partner_Name": "sample string 26",
"MA_Name": "sample string 27",
"ProductId": 28,
"ProductName": "sample string 29",
"P_ProductCode": "sample string 30",
"ProductSerialNoList": [
{
"GRND_PSN_Id": 1,
"ProductSerialNo": "sample string 2",
"GRND_PSN_PA_Id_FK": 3,
"GRND_PSN_UserId_FK": 4,
"GRND_PSN_TS": "2025-10-29T20:58:20.8907289+05:30",
"GRND_PSN_Inactive": "sample string 6",
"GRND_PSN_TS_LastEdited": "2025-10-29T20:58:20.8907289+05:30",
"GRND_PSN_TS_Edited_Uid_FK": 8
},
{
"GRND_PSN_Id": 1,
"ProductSerialNo": "sample string 2",
"GRND_PSN_PA_Id_FK": 3,
"GRND_PSN_UserId_FK": 4,
"GRND_PSN_TS": "2025-10-29T20:58:20.8907289+05:30",
"GRND_PSN_Inactive": "sample string 6",
"GRND_PSN_TS_LastEdited": "2025-10-29T20:58:20.8907289+05:30",
"GRND_PSN_TS_Edited_Uid_FK": 8
}
]
}
application/xml, text/xml
Sample:
<PackagingModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
<MA_Name>sample string 27</MA_Name>
<PA_Barcode>sample string 3</PA_Barcode>
<PA_CMOQ>15</PA_CMOQ>
<PA_CasePack>14</PA_CasePack>
<PA_Convertion_Factor>1</PA_Convertion_Factor>
<PA_Id>1</PA_Id>
<PA_ImagePrimary>sample string 7</PA_ImagePrimary>
<PA_ImageSecondary1>sample string 8</PA_ImageSecondary1>
<PA_ImageSecondary2>sample string 9</PA_ImageSecondary2>
<PA_ImageSecondary3>sample string 10</PA_ImageSecondary3>
<PA_ImageSecondary4>sample string 11</PA_ImageSecondary4>
<PA_Inactive>65</PA_Inactive>
<PA_MMOQ_UOM>sample string 18</PA_MMOQ_UOM>
<PA_Manufacturer_MMOQ>1</PA_Manufacturer_MMOQ>
<PA_OpenStock>12</PA_OpenStock>
<PA_P_Id_FK>1</PA_P_Id_FK>
<PA_PackType>sample string 6</PA_PackType>
<PA_PackUOM>sample string 5</PA_PackUOM>
<PA_PackingDescription>sample string 13</PA_PackingDescription>
<PA_Packsize_Code>sample string 2</PA_Packsize_Code>
<PA_Product_Life>17</PA_Product_Life>
<PA_SMOQ>16</PA_SMOQ>
<PA_Size>sample string 4</PA_Size>
<PA_TS>2025-10-29T20:58:20.8907289+05:30</PA_TS>
<PA_TS_Edited_Uid_FK>23</PA_TS_Edited_Uid_FK>
<PA_TS_LastEdited>2025-10-29T20:58:20.8907289+05:30</PA_TS_LastEdited>
<PA_UserId_FK>19</PA_UserId_FK>
<P_Id>24</P_Id>
<P_Partner_Name>sample string 26</P_Partner_Name>
<P_ProductCode>sample string 30</P_ProductCode>
<PartnerCode>sample string 25</PartnerCode>
<ProductId>28</ProductId>
<ProductName>sample string 29</ProductName>
<ProductSerialNoList>
<GRND_ProductSerialNoModel>
<GRND_PSN_Id>1</GRND_PSN_Id>
<GRND_PSN_Inactive>sample string 6</GRND_PSN_Inactive>
<GRND_PSN_PA_Id_FK>3</GRND_PSN_PA_Id_FK>
<GRND_PSN_TS>2025-10-29T20:58:20.8907289+05:30</GRND_PSN_TS>
<GRND_PSN_TS_Edited_Uid_FK>8</GRND_PSN_TS_Edited_Uid_FK>
<GRND_PSN_TS_LastEdited>2025-10-29T20:58:20.8907289+05:30</GRND_PSN_TS_LastEdited>
<GRND_PSN_UserId_FK>4</GRND_PSN_UserId_FK>
<ProductSerialNo>sample string 2</ProductSerialNo>
</GRND_ProductSerialNoModel>
<GRND_ProductSerialNoModel>
<GRND_PSN_Id>1</GRND_PSN_Id>
<GRND_PSN_Inactive>sample string 6</GRND_PSN_Inactive>
<GRND_PSN_PA_Id_FK>3</GRND_PSN_PA_Id_FK>
<GRND_PSN_TS>2025-10-29T20:58:20.8907289+05:30</GRND_PSN_TS>
<GRND_PSN_TS_Edited_Uid_FK>8</GRND_PSN_TS_Edited_Uid_FK>
<GRND_PSN_TS_LastEdited>2025-10-29T20:58:20.8907289+05:30</GRND_PSN_TS_LastEdited>
<GRND_PSN_UserId_FK>4</GRND_PSN_UserId_FK>
<ProductSerialNo>sample string 2</ProductSerialNo>
</GRND_ProductSerialNoModel>
</ProductSerialNoList>
</PackagingModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.