GET api/PackagingType/GetById?id={id}&token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| token | string |
Required |
Body Parameters
None.
Response Information
Resource Description
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
}
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>