GET api/PackagingType/GetAll?token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MDLPackagingType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| ShelfLife | integer |
None. |
|
| Version | integer |
None. |
|
| State | ENMEntityState |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"ShelfLife": 4,
"Version": 5,
"State": 0
},
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"ShelfLife": 4,
"Version": 5,
"State": 0
}
]
application/xml, text/xml
Sample:
<ArrayOfMDLPackagingType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared.Models">
<MDLPackagingType>
<Description>sample string 3</Description>
<Id>1</Id>
<Name>sample string 2</Name>
<ShelfLife>4</ShelfLife>
<State>Free</State>
<Version>5</Version>
</MDLPackagingType>
<MDLPackagingType>
<Description>sample string 3</Description>
<Id>1</Id>
<Name>sample string 2</Name>
<ShelfLife>4</ShelfLife>
<State>Free</State>
<Version>5</Version>
</MDLPackagingType>
</ArrayOfMDLPackagingType>