GET Service/PackageType?PackageType={PackageType}
Retrieve package type definitions
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
PackageType |
Filter by package type code (optional) |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of PackageTypeName | Description | Type | Additional information |
---|---|---|---|
Code |
Package type code |
string |
None. |
Description |
Package type description |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Code": "sample string 1", "Description": "sample string 2" }, { "Code": "sample string 1", "Description": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfPackageType xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <PackageType> <Code>sample string 1</Code> <Description>sample string 2</Description> </PackageType> <PackageType> <Code>sample string 1</Code> <Description>sample string 2</Description> </PackageType> </ArrayOfPackageType>