GET api/PackagingType/{auth}
Retrieve a list of packaging type items for drop down
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| auth |
Authorization token |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
PackagingTypeResp| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful |
Used to determine if method call was successful (true) or failure (false) |
boolean |
None. |
| ErrorMessage |
The error message if method call was not successful |
string |
None. |
| Items |
List of packaging type items |
Collection of PackagingTypeItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorMessage": "sample string 2",
"IsSuccessful": true,
"Items": [
{
"CompanyID": 2,
"Description": "sample string 4",
"Height": 1,
"Length": 1,
"Name": "sample string 3",
"PackagingTypeGUID": "sample string 1",
"SizeUOM": "sample string 5",
"Weight": 1,
"WeightUOM": "sample string 6",
"Width": 1
},
{
"CompanyID": 2,
"Description": "sample string 4",
"Height": 1,
"Length": 1,
"Name": "sample string 3",
"PackagingTypeGUID": "sample string 1",
"SizeUOM": "sample string 5",
"Weight": 1,
"WeightUOM": "sample string 6",
"Width": 1
}
]
}
application/xml, text/xml
Sample:
<PackagingTypeResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Shipper.Models">
<ErrorMessage>sample string 2</ErrorMessage>
<IsSuccessful>true</IsSuccessful>
<Items>
<PackagingTypeItem>
<CompanyID>2</CompanyID>
<Description>sample string 4</Description>
<Height>1</Height>
<Length>1</Length>
<Name>sample string 3</Name>
<PackagingTypeGUID>sample string 1</PackagingTypeGUID>
<SizeUOM>sample string 5</SizeUOM>
<Weight>1</Weight>
<WeightUOM>sample string 6</WeightUOM>
<Width>1</Width>
</PackagingTypeItem>
<PackagingTypeItem>
<CompanyID>2</CompanyID>
<Description>sample string 4</Description>
<Height>1</Height>
<Length>1</Length>
<Name>sample string 3</Name>
<PackagingTypeGUID>sample string 1</PackagingTypeGUID>
<SizeUOM>sample string 5</SizeUOM>
<Weight>1</Weight>
<WeightUOM>sample string 6</WeightUOM>
<Width>1</Width>
</PackagingTypeItem>
</Items>
</PackagingTypeResp>