PUT api/Packaging/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
PackagingModelsName | Description | Type | Additional information |
---|---|---|---|
PA_Id | integer |
None. |
|
PA_P_Id_FK | integer |
Required |
|
PA_Packsize_Code | string |
Required 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 | integer |
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_UserId_FK | integer |
None. |
|
PA_TS | date |
None. |
|
PA_Inactive | character |
None. |
|
PA_TS_LastEdited | date |
None. |
|
PA_TS_Edited_Uid_FK | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "PA_Id": 1, "PA_P_Id_FK": 2, "PA_Packsize_Code": "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, "PA_PackingDescription": "sample string 13", "PA_CasePack": 14, "PA_CMOQ": 15.0, "PA_SMOQ": 16.0, "PA_Product_Life": 17, "PA_UserId_FK": 18, "PA_TS": "2025-01-09T00:34:11.3317986+05:30", "PA_Inactive": "A", "PA_TS_LastEdited": "2025-01-09T00:34:11.3317986+05:30", "PA_TS_Edited_Uid_FK": 22 }
application/xml, text/xml
Sample:
<PackagingModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <PA_CMOQ>15</PA_CMOQ> <PA_CasePack>14</PA_CasePack> <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_OpenStock>12</PA_OpenStock> <PA_P_Id_FK>2</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 3</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-01-09T00:34:11.3317986+05:30</PA_TS> <PA_TS_Edited_Uid_FK>22</PA_TS_Edited_Uid_FK> <PA_TS_LastEdited>2025-01-09T00:34:11.3317986+05:30</PA_TS_LastEdited> <PA_UserId_FK>18</PA_UserId_FK> </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.