PUT api/PackagingType?token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
Body Parameters
MDLPackagingType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| ShelfLife | integer |
None. |
|
| Version | integer |
None. |
|
| State | ENMEntityState |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"ShelfLife": 4,
"Version": 5,
"State": 0
}
application/xml, text/xml
Sample:
<MDLPackagingType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared.Models"> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> <ShelfLife>4</ShelfLife> <State>Free</State> <Version>5</Version> </MDLPackagingType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MDLDefaultResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Successfull | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Successfull": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<MDLDefaultResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared"> <Message>sample string 2</Message> <Successfull>true</Successfull> </MDLDefaultResponse>