Get all packing units
/fscmRestApi/resources/11.13.18.05/packingUnits
Request
-
expand: string
When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
-
fields: string
This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.
Format: ?fields=Attribute1,Attribute2
Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2 -
finder: string
Used as a predefined finder to search the collection.
Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>
The following are the available finder names and corresponding finder variables:- PrimaryKey: Finds packing unit according to the primary key.
Finder Variables:- PackingUnitId; integer; Value that uniquely identifies the packing unit.
- findAllLevelsByPackingUnit: Finds details of all levels of packing unit.
Finder Variables:- pPackingUnit; string; Value that uniquely identifies the packing unit.
- PrimaryKey: Finds packing unit according to the primary key.
-
limit: integer
This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
-
links: string
This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>
Example:
self,canonical -
offset: integer
Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
-
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
-
orderBy: string
This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
-
q: string
This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY
Format: ?q=expression1;expression2
You can use these queryable attributes to filter this collection resource using the q query parameter:- ContainerItemId; integer; Value that uniquely identifies the container item.
- ContainerItemNumber; string; Name of the container item.
- ContainerVolume; number; Total volume of the packing unit container.
- ContainerVolumeUOM; string; Abbreviation that identifies the unit of measure of the packing unit container volume.
- ContainerVolumeUOMName; string; Name of the unit of measure of the packing unit container volume.
- ContentVolume; number; Total volume of the packing unit contents.
- ContentVolumeUOMCode; string; Abbreviation that identifies the unit of measure of the packing unit content volume.
- ContentVolumeUOMName; string; Name of the unit of measure of the packing unit content volume.
- GrossWeight; number; Weight of the packing unit and its contents.
- GrossWeightUOMCode; string; Abbreviation that identifies the unit of measure of the weight of the packing unit and its contents.
- GrossWeightUOMName; string; Name of the unit of measure of the weight of the packing unit and its contents.
- NetWeight; number; Net weight of the packing unit.
- NetWeightUOMCode; string; Abbreviation that identifies the unit of measure for the net weight of the packing unit.
- NetWeightUOMName; string; Name of the unit of measure for the net weight of the packing unit.
- OrganizationCode; string; Abbreviation that identifies the organization of the packing unit.
- OrganizationId; integer; Value that uniquely identifies the organization of the packing unit.
- OutermostPackingUnit; string; Name of the outermost packing unit in which the current packing unit is nested, if the packing unit has a nested structure.
- OutermostPackingUnitId; integer; Value that uniquely identifies the outermost packing unit in which the current packing unit is nested, if the packing unit has a nested structure.
- PackingUnit; string; Name of the packing unit.
- PackingUnitContext; string; Abbreviation that identifies the packing unit context.
- PackingUnitContextMeaning; string; Description of the packing unit context.
- PackingUnitId; integer; Value that uniquely identifies the packing unit.
- ParentPackingUnit; string; Name of the parent packing unit.
- ParentPackingUnitId; integer; Value that uniquely identifies the parent packing unit.
- SealCode; string; Abbreviation that identifies the seal of the packing unit.
- SourceName; string; Name of the source of the packing unit.
- TareWeight; number; Tare weight of the packing unit.
- TareWeightUOMCode; string; Abbreviation that identifies the unit of measure for the tare weight of the packing unit.
- TareWeightUOMName; string; Name of the unit of measure for the tare weight of the packing unit.
- TrackingNumber; string; Tracking number of the packing unit.
-
totalResults: boolean
The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
There's no request body for this operation.
Back to TopResponse
- application/json
Default Response
-
Metadata-Context(required):
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version(required):
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
object
-
count(required): integer
The number of resource instances returned in the current range.
-
hasMore(required): boolean
Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
-
items: array
Items
Title:
Items
The items in the collection. -
limit(required): integer
The actual paging size used by the server.
-
links(required): array
Links
Title:
Links
The link relations associated with the resource instance. -
offset(required): integer
The offset value used in the current page.
-
totalResults: integer
The estimated row count when "?totalResults=true", otherwise the count is not included.
array
Links
object
-
AllowAutoGeneration: string
Default Value:
No
Contains one of the following values: true or false. If true, then packing unit will be generated based on packing unit setup defined for organization. If false, then packing unit is user-defined. There is no default value for this attribute. -
attachments: array
Attachments
Title:
Attachments
The Attachments resource manages the attachments associated with the packing unit resource. -
ContainerItemId: integer
(int64)
Value that uniquely identifies the container item.
-
ContainerItemNumber: string
Maximum Length:
255
Name of the container item. -
ContainerVolume: number
Total volume of the packing unit container.
-
ContainerVolumeUOM: string
Maximum Length:
3
Abbreviation that identifies the unit of measure of the packing unit container volume. -
ContainerVolumeUOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure of the packing unit container volume. -
contents: array
Contents
Title:
Contents
The Contents resource manages the operations on packing unit contents. -
ContentVolume: number
Total volume of the packing unit contents.
-
ContentVolumeUOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure of the packing unit content volume. -
ContentVolumeUOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure of the packing unit content volume. -
GrossWeight: number
Weight of the packing unit and its contents.
-
GrossWeightUOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure of the weight of the packing unit and its contents. -
GrossWeightUOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure of the weight of the packing unit and its contents. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
nestedPackingUnits: array
Nested Packing Units
Title:
Nested Packing Units
The Nested Packing Units resources manages the operations on nested packing units. -
NetWeight: number
Net weight of the packing unit.
-
NetWeightUOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure for the net weight of the packing unit. -
NetWeightUOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure for the net weight of the packing unit. -
notes: array
Notes
Title:
Notes
The Notes resource gets comments, information, or instructions for packing units. -
OrganizationCode: string
Maximum Length:
255
Abbreviation that identifies the organization of the packing unit. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization of the packing unit.
-
OutermostPackingUnit: string
Read Only:
true
Maximum Length:255
Name of the outermost packing unit in which the current packing unit is nested, if the packing unit has a nested structure. -
OutermostPackingUnitId: integer
(int64)
Read Only:
true
Value that uniquely identifies the outermost packing unit in which the current packing unit is nested, if the packing unit has a nested structure. -
PackingUnit: string
Title:
Packing Unit
Maximum Length:30
Name of the packing unit. -
PackingUnitContext: string
Maximum Length:
30
Abbreviation that identifies the packing unit context. -
PackingUnitContextMeaning: string
Maximum Length:
255
Description of the packing unit context. -
packingUnitDFFs: array
Flexfields for Packing Units
Title:
Flexfields for Packing Units
The Flexfields for Packing Units resource manages the descriptive flexfields for packing units. -
PackingUnitId: integer
(int64)
Read Only:
true
Value that uniquely identifies the packing unit. -
ParentPackingUnit: string
Read Only:
true
Maximum Length:255
Name of the parent packing unit. -
ParentPackingUnitId: integer
(int64)
Read Only:
true
Value that uniquely identifies the parent packing unit. -
SealCode: string
Maximum Length:
30
Abbreviation that identifies the seal of the packing unit. -
SourceName: string
Maximum Length:
30
Name of the source of the packing unit. -
TareWeight: number
Tare weight of the packing unit.
-
TareWeightUOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure for the tare weight of the packing unit. -
TareWeightUOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure for the tare weight of the packing unit. -
TrackingNumber: string
Maximum Length:
30
Tracking number of the packing unit.
array
Attachments
array
Contents
array
Links
array
Nested Packing Units
array
Notes
array
Flexfields for Packing Units
object
-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker Id
Attribute provided for the exclusive use by the Attachment UI components to assist in uploading files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document Id
Value that uniquely identifies the attached document. -
CategoryName: string
Title:
Category
Maximum Length:30
Category of the attachment. - ContentRepositoryFileShared: boolean
-
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:255
User who created the attachment. -
CreatedByUserName: string
Title:
Created By User Name
Read Only:true
Login that the user used when creating the document. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
Date when the user created the attachment record. -
DatatypeCode: string
Title:
Type
Maximum Length:30
Default Value:FILE
Abbreviation that identifies the data type. -
Description: string
Title:
Description
Maximum Length:255
Description of the attachment. -
DmDocumentId: string
Maximum Length:
255
Value that uniquely identifies the attached document. -
DmFolderPath: string
Title:
Dm Folder Path
Maximum Length:1000
Folder path of the attachment. -
DmVersionNumber: string
Maximum Length:
255
Number that identifies the version of the attached document. -
DownloadInfo: string
Title:
DownloadInfo
JSON-formatted string containing information required to programmatically retrieve a large file attachment. -
ErrorStatusCode: string
Title:
Error Status Code
Abbreviation that identifies the error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status Message
Text of the error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration Date
Date when the contents in the attachment expires. -
FileContents: string
(byte)
Title:
File Contents
Contents of the attachment. -
FileName: string
Title:
File Name
Maximum Length:2048
File name of the attachment. -
FileUrl: string
Title:
File Url
URL (Uniform Resource Locator) of the attachment. This will be populated only where attachment type is file. This is the reference to the file uploaded in the Oracle WebCenter Content server. -
FileWebImage: string
(byte)
Title:
File Web Image
Read Only:true
The base64 encoded image of the file displayed in .png format if the source is a convertible image. -
LastUpdateDate: string
(date-time)
Title:
Last Update Date
Read Only:true
Date when the user most recently updated the attachment. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:255
User who most recently updated the attachment. -
LastUpdatedByUserName: string
Title:
Last Updated By User
Read Only:true
Login that the user used when updating the document. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Title: string
Title:
Title
Title of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content Type
Content type of the attachment. -
UploadedFileLength: integer
Title:
File Size
Length of the attachment file. -
UploadedFileName: string
Title:
Uploaded File Name
Name of the attachment file. -
UploadedText: string
Title:
Uploaded Text
Text of the attachment. -
Uri: string
Title:
Uri
Maximum Length:4000
URI (Uniform Resource Identifier) appended to the base URI derived from the endpoint associated with application that is identified by the MODULE_ID. The attribute is not currently used by the Packing Units resource. -
Url: string
Title:
Url
Maximum Length:4000
URL (Uniform Resource Locator) that locates the attachment. This will be populated only for attachment type as URL. -
UserName: string
Title:
User Name
Read Only:true
Maximum Length:255
Login that the user used when adding or modifying the attachment.
array
Links
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
object
-
InventoryItemId: integer
(int64)
Value that uniquely identifies the content item.
-
ItemDescription: string
Maximum Length:
240
Description of the content item. -
ItemNumber: string
Read Only:
true
Maximum Length:255
Number that identifies the content item. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80
Lot number of the container item, if container item is under lot control. -
OrganizationCode: string
Read Only:
true
Maximum Length:255
Abbreviation that identifies the organization of the packing unit. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization of the packing unit.
-
PackingUnitContentId: integer
(int64)
Value that uniquely identifies the packing unit content.
-
Quantity: number
Quantity of the content item.
-
Revision: string
Maximum Length:
18
Revision of the container item, if it is under revision control. -
serials: array
Serials
Title:
Serials
The Serials resource manages the operations on serials. -
UOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure of the content item. -
UOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure of the content item.
array
Links
array
Serials
object
-
CurrentStatus: string
Read Only:
true
Maximum Length:30
Abbreviation that identifies the current status of the serial number of the content item. -
CurrentStatusMeaning: string
Read Only:
true
Maximum Length:80
Description of the current status of the serial number of the content item. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
SerialNumber: string
Read Only:
true
Maximum Length:80
Serial number of the container item, if container item is under serial control.
array
Links
object
-
AllowAutoGeneration: string
Default Value:
No
Contains one of the following values: true or false. If true, then packing unit will be generated based on packing unit setup defined for organization. If false, then packing unit is user-defined. There is no default value for this attribute. -
attachments: array
Attachments
Title:
Attachments
The Attachments resource manages the attachments associated with the packing unit resource. -
ContainerItemId: integer
(int64)
Value that uniquely identifies the container item.
-
ContainerItemNumber: string
Maximum Length:
255
Name of the container item. -
ContainerVolume: number
Total volume of the packing unit container.
-
ContainerVolumeUOM: string
Maximum Length:
3
Abbreviation that identifies the unit of measure of the packing unit container volume. -
ContainerVolumeUOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure of the packing unit container volume. -
contents: array
Contents
Title:
Contents
The Contents resource manages the operations on packing unit contents. -
ContentVolume: number
Total volume of the packing unit contents.
-
ContentVolumeUOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure of the packing unit content volume. -
ContentVolumeUOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure of the packing unit content volume. -
GrossWeight: number
Weight of the packing unit and its contents.
-
GrossWeightUOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure of the weight of the packing unit and its contents. -
GrossWeightUOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure of the weight of the packing unit and its contents. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
nestedPackingUnits: array
Nested Packing Units
Title:
Nested Packing Units
The Nested Packing Units resources manages the operations on nested packing units. -
NetWeight: number
Net weight of the packing unit.
-
NetWeightUOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure for the net weight of the packing unit. -
NetWeightUOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure for the net weight of the packing unit. -
notes: array
Notes
Title:
Notes
The Notes resource gets comments, information, or instructions for packing units. -
OrganizationCode: string
Maximum Length:
255
Abbreviation that identifies the organization of the packing unit. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization of the packing unit.
-
OutermostPackingUnit: string
Read Only:
true
Maximum Length:255
Name of the outermost packing unit in which the current packing unit is nested, if the packing unit has a nested structure. -
OutermostPackingUnitId: integer
(int64)
Read Only:
true
Value that uniquely identifies the outermost packing unit in which the current packing unit is nested, if the packing unit has a nested structure. -
PackingUnit: string
Title:
Packing Unit
Maximum Length:30
Name of the packing unit. -
PackingUnitContext: string
Maximum Length:
30
Abbreviation that identifies the packing unit context. -
PackingUnitContextMeaning: string
Maximum Length:
255
Description of the packing unit context. -
packingUnitDFFs: array
Flexfields for Packing Units
Title:
Flexfields for Packing Units
The Flexfields for Packing Units resource manages the descriptive flexfields for packing units. -
PackingUnitId: integer
(int64)
Read Only:
true
Value that uniquely identifies the packing unit. -
ParentPackingUnit: string
Read Only:
true
Maximum Length:255
Name of the parent packing unit. -
ParentPackingUnitId: integer
(int64)
Read Only:
true
Value that uniquely identifies the parent packing unit. -
SealCode: string
Maximum Length:
30
Abbreviation that identifies the seal of the packing unit. -
SourceName: string
Maximum Length:
30
Name of the source of the packing unit. -
TareWeight: number
Tare weight of the packing unit.
-
TareWeightUOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure for the tare weight of the packing unit. -
TareWeightUOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure for the tare weight of the packing unit. -
TrackingNumber: string
Maximum Length:
30
Tracking number of the packing unit.
array
Attachments
array
Contents
array
Links
array
Nested Packing Units
array
Notes
array
Flexfields for Packing Units
object
-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker Id
Attribute provided for the exclusive use by the Attachment UI components to assist in uploading files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document Id
Value that uniquely identifies the attached document. -
CategoryName: string
Title:
Category
Maximum Length:30
Category of the attachment. - ContentRepositoryFileShared: boolean
-
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:255
User who created the attachment. -
CreatedByUserName: string
Title:
Created By User Name
Read Only:true
Login that the user used when creating the document. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
Date when the user created the attachment record. -
DatatypeCode: string
Title:
Type
Maximum Length:30
Default Value:FILE
Abbreviation that identifies the data type. -
Description: string
Title:
Description
Maximum Length:255
Description of the attachment. -
DmDocumentId: string
Maximum Length:
255
Value that uniquely identifies the attached document. -
DmFolderPath: string
Title:
Dm Folder Path
Maximum Length:1000
Folder path of the attachment. -
DmVersionNumber: string
Maximum Length:
255
Number that identifies the version of the attached document. -
DownloadInfo: string
Title:
DownloadInfo
JSON-formatted string containing information required to programmatically retrieve a large file attachment. -
ErrorStatusCode: string
Title:
Error Status Code
Abbreviation that identifies the error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status Message
Text of the error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration Date
Date when the contents in the attachment expires. -
FileContents: string
(byte)
Title:
File Contents
Contents of the attachment. -
FileName: string
Title:
File Name
Maximum Length:2048
File name of the attachment. -
FileUrl: string
Title:
File Url
URL (Uniform Resource Locator) of the attachment. This will be populated only where attachment type is file. This is the reference to the file uploaded in the Oracle WebCenter Content server. -
FileWebImage: string
(byte)
Title:
File Web Image
Read Only:true
The base64 encoded image of the file displayed in .png format if the source is a convertible image. -
LastUpdateDate: string
(date-time)
Title:
Last Update Date
Read Only:true
Date when the user most recently updated the attachment. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:255
User who most recently updated the attachment. -
LastUpdatedByUserName: string
Title:
Last Updated By User
Read Only:true
Login that the user used when updating the document. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Title: string
Title:
Title
Title of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content Type
Content type of the attachment. -
UploadedFileLength: integer
Title:
File Size
Length of the attachment file. -
UploadedFileName: string
Title:
Uploaded File Name
Name of the attachment file. -
UploadedText: string
Title:
Uploaded Text
Text of the attachment. -
Uri: string
Title:
Uri
Maximum Length:4000
URI (Uniform Resource Identifier) appended to the base URI derived from the endpoint associated with application that is identified by the MODULE_ID. The attribute is not currently used by the Packing Units resource. -
Url: string
Title:
Url
Maximum Length:4000
URL (Uniform Resource Locator) that locates the attachment. This will be populated only for attachment type as URL. -
UserName: string
Title:
User Name
Read Only:true
Maximum Length:255
Login that the user used when adding or modifying the attachment.
array
Links
object
-
InventoryItemId: integer
(int64)
Value that uniquely identifies the content item.
-
ItemDescription: string
Maximum Length:
240
Description of the content item. -
ItemNumber: string
Read Only:
true
Maximum Length:255
Number that identifies the content item. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80
Lot number of the container item, if container item is under lot control. -
OrganizationCode: string
Read Only:
true
Maximum Length:255
Abbreviation that identifies the organization of the packing unit. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization of the packing unit.
-
PackingUnitContentId: integer
(int64)
Value that uniquely identifies the packing unit content.
-
Quantity: number
Quantity of the content item.
-
Revision: string
Maximum Length:
18
Revision of the container item, if it is under revision control. -
serials: array
Serials
Title:
Serials
The Serials resource manages the operations on serials. -
UOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure of the content item. -
UOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure of the content item.
array
Links
array
Serials
object
-
CurrentStatus: string
Read Only:
true
Maximum Length:30
Abbreviation that identifies the current status of the serial number of the content item. -
CurrentStatusMeaning: string
Read Only:
true
Maximum Length:80
Description of the current status of the serial number of the content item. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
SerialNumber: string
Read Only:
true
Maximum Length:80
Serial number of the container item, if container item is under serial control.
array
Links
object
-
AllowAutoGeneration: string
Default Value:
No
Contains one of the following values: true or false. If true, then packing unit will be generated based on packing unit setup defined for organization. If false, then packing unit is user-defined. There is no default value for this attribute. -
ContainerItemId: integer
(int64)
Value that uniquely identifies the container item.
-
ContainerItemNumber: string
Maximum Length:
255
Name of the container item. -
ContainerVolume: number
Total volume of the packing unit container.
-
ContainerVolumeUOM: string
Maximum Length:
3
Abbreviation that identifies the unit of measure of the packing unit container volume. -
ContainerVolumeUOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure of the packing unit container volume. -
ContentVolume: number
Total volume of the packing unit contents.
-
ContentVolumeUOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure of the packing unit content volume. -
ContentVolumeUOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure of the packing unit content volume. -
GrossWeight: number
Weight of the packing unit and its contents.
-
GrossWeightUOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure of the weight of the packing unit and its contents. -
GrossWeightUOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure of the weight of the packing unit and its contents. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
NetWeight: number
Net weight of the packing unit.
-
NetWeightUOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure for the net weight of the packing unit. -
NetWeightUOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure for the net weight of the packing unit. -
OrganizationCode: string
Maximum Length:
255
Abbreviation that identifies the organization of the packing unit. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization of the packing unit.
-
OutermostPackingUnit: string
Read Only:
true
Maximum Length:255
Name of the outermost packing unit in which the current packing unit is nested, if the packing unit has a nested structure. -
OutermostPackingUnitId: integer
(int64)
Read Only:
true
Value that uniquely identifies the outermost packing unit in which the current packing unit is nested, if the packing unit has a nested structure. -
PackingUnit: string
Title:
Packing Unit
Maximum Length:30
Name of the packing unit. -
PackingUnitContext: string
Maximum Length:
30
Abbreviation that identifies the packing unit context. -
PackingUnitContextMeaning: string
Maximum Length:
255
Description of the packing unit context. -
PackingUnitId: integer
(int64)
Read Only:
true
Value that uniquely identifies the packing unit. -
ParentPackingUnit: string
Read Only:
true
Maximum Length:255
Name of the parent packing unit. -
ParentPackingUnitId: integer
(int64)
Read Only:
true
Value that uniquely identifies the parent packing unit. -
SealCode: string
Maximum Length:
30
Abbreviation that identifies the seal of the packing unit. -
SourceName: string
Maximum Length:
30
Name of the source of the packing unit. -
TareWeight: number
Tare weight of the packing unit.
-
TareWeightUOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure for the tare weight of the packing unit. -
TareWeightUOMName: string
Read Only:
true
Maximum Length:255
Name of the unit of measure for the tare weight of the packing unit. -
TrackingNumber: string
Maximum Length:
30
Tracking number of the packing unit.
array
Links
object
-
ContactRelationshipId: integer
(int64)
Title:
Contact Relationship ID
Value that uniquely identifies the relationship. This attribute is not currently used by the packingUnits resource. -
CorpCurrencyCode: string
Title:
Corporate Currency Code
Maximum Length:15
Abbreviation that identifies the corporate currency. This attribute is not currently used by the packingUnits resource. -
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:64
User who created the note. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
Date when the user created the note record. -
CreatorPartyId: integer
(int64)
Title:
Creator Party ID
Value that uniquely identifies the creator of the note. -
CurcyConvRateType: string
Title:
Currency Conversion Rate Type
Maximum Length:30
Type of currency conversion rate. This attribute is not currently used by the packingUnits resource. -
CurrencyCode: string
Title:
Currency
Maximum Length:15
Abbreviation that identifies the currency. This attribute is not currently used by the packingUnits resource. -
DeleteFlag: boolean
Title:
Delete Indicator
Read Only:true
Contains one of the following values: true or false. If true, then the note can be deleted. If false, then the note can be deleted. The default value is true. -
EmailAddress: string
Title:
Primary Email
Read Only:true
Maximum Length:320
The email address of the user who created the note. -
FormattedAddress: string
Title:
Primary Address
Read Only:true
The address of the user who created the note. -
FormattedPhoneNumber: string
Title:
Primary Phone
Read Only:true
The phone number of the user who created the note. -
LastUpdateDate: string
(date-time)
Title:
Last Update Date
Read Only:true
Date when the user most recently updated the note data. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:64
User who most recently updated the note record. -
LastUpdateLogin: string
Title:
Last Update Login
Read Only:true
Maximum Length:32
Login of the user who most recently updated the note record. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
NoteId: integer
(int64)
Title:
Note ID
Read Only:true
Value that uniquely identifies the note. -
NoteNumber: string
Maximum Length:
30
The alternate unique identifier of the note. A user key that's system generated or from an external system. -
NoteTitle: string
Title:
Title
Maximum Length:500
The title of the note entered by the user. -
NoteTxt: string
(byte)
Title:
Note
Text of the actual note. -
NoteTypeCode: string
Title:
Type
Maximum Length:30
Abbreviation that identifies the categorization of the note type. -
ParentNoteId: integer
(int64)
Title:
Parent Note ID
Value that uniquely identifies the parent note. -
PartyId: integer
(int64)
Title:
Party ID
Read Only:true
Value that uniquely identifies the party to which the note is associated. -
PartyName: string
Title:
Author
Read Only:true
Maximum Length:360
Name of the user who created the record. -
SourceObjectCode: string
Title:
Related Object Type
Maximum Length:30
Abbreviation that identifies the object as defined in the OBJECTS metadata which is associated with the note. The object identifier is SHIPPING_LPN for packing units. -
SourceObjectId: string
Title:
Related Object
Maximum Length:64
Value that uniquely identifies the packing unit. -
UpdateFlag: boolean
Title:
Update Indicator
Read Only:true
Contains one of the following values: true or false. If true, then the note can be updated. If false, then the note cannot be updated. The default value is true. -
VisibilityCode: string
Title:
Private
Maximum Length:30
Default Value:INTERNAL
Abbreviation that identifies the visibility level of the note.
array
Links
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for packing unit. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LPNId: integer
(int64)
Value that uniquely identifies the packing unit flexfields.
array
Links
object
-
ContactRelationshipId: integer
(int64)
Title:
Contact Relationship ID
Value that uniquely identifies the relationship. This attribute is not currently used by the packingUnits resource. -
CorpCurrencyCode: string
Title:
Corporate Currency Code
Maximum Length:15
Abbreviation that identifies the corporate currency. This attribute is not currently used by the packingUnits resource. -
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:64
User who created the note. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
Date when the user created the note record. -
CreatorPartyId: integer
(int64)
Title:
Creator Party ID
Value that uniquely identifies the creator of the note. -
CurcyConvRateType: string
Title:
Currency Conversion Rate Type
Maximum Length:30
Type of currency conversion rate. This attribute is not currently used by the packingUnits resource. -
CurrencyCode: string
Title:
Currency
Maximum Length:15
Abbreviation that identifies the currency. This attribute is not currently used by the packingUnits resource. -
DeleteFlag: boolean
Title:
Delete Indicator
Read Only:true
Contains one of the following values: true or false. If true, then the note can be deleted. If false, then the note can be deleted. The default value is true. -
EmailAddress: string
Title:
Primary Email
Read Only:true
Maximum Length:320
The email address of the user who created the note. -
FormattedAddress: string
Title:
Primary Address
Read Only:true
The address of the user who created the note. -
FormattedPhoneNumber: string
Title:
Primary Phone
Read Only:true
The phone number of the user who created the note. -
LastUpdateDate: string
(date-time)
Title:
Last Update Date
Read Only:true
Date when the user most recently updated the note data. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:64
User who most recently updated the note record. -
LastUpdateLogin: string
Title:
Last Update Login
Read Only:true
Maximum Length:32
Login of the user who most recently updated the note record. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
NoteId: integer
(int64)
Title:
Note ID
Read Only:true
Value that uniquely identifies the note. -
NoteNumber: string
Maximum Length:
30
The alternate unique identifier of the note. A user key that's system generated or from an external system. -
NoteTitle: string
Title:
Title
Maximum Length:500
The title of the note entered by the user. -
NoteTxt: string
(byte)
Title:
Note
Text of the actual note. -
NoteTypeCode: string
Title:
Type
Maximum Length:30
Abbreviation that identifies the categorization of the note type. -
ParentNoteId: integer
(int64)
Title:
Parent Note ID
Value that uniquely identifies the parent note. -
PartyId: integer
(int64)
Title:
Party ID
Read Only:true
Value that uniquely identifies the party to which the note is associated. -
PartyName: string
Title:
Author
Read Only:true
Maximum Length:360
Name of the user who created the record. -
SourceObjectCode: string
Title:
Related Object Type
Maximum Length:30
Abbreviation that identifies the object as defined in the OBJECTS metadata which is associated with the note. The object identifier is SHIPPING_LPN for packing units. -
SourceObjectId: string
Title:
Related Object
Maximum Length:64
Value that uniquely identifies the packing unit. -
UpdateFlag: boolean
Title:
Update Indicator
Read Only:true
Contains one of the following values: true or false. If true, then the note can be updated. If false, then the note cannot be updated. The default value is true. -
VisibilityCode: string
Title:
Private
Maximum Length:30
Default Value:INTERNAL
Abbreviation that identifies the visibility level of the note.
array
Links
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for packing unit. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LPNId: integer
(int64)
Value that uniquely identifies the packing unit flexfields.
array
Links
Examples
This example describes how to get all packing units.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -u username:password "https://servername/fscmRestApi/resources/version/packingUnits"
Example 1 cURL Command
Use the following cURL command to submit a request on the REST resource to find all packing unit which are packed into a packing unit:
curl -u username:password "https://servername/fscmRestApi/resources/version/packingUnits?q=ParentPackingUnitId=12352&onlyData=true"
Example 1 Response Body
The following shows an example of the response body in JSON format.
{ "items" : [ { "PackingUnitId" : 12353, "PackingUnit" : "PU_GRP_14", "ParentPackingUnitId" : 12352, "ParentPackingUnit" : "PU_GRP_13", "OutermostPackingUnitId" : 12352, "OutermostPackingUnit" : "PU_GRP_13", "PackingUnitContextMeaning" : "Shipped", "PackingUnitContext" : "14", "OrganizationCode" : "M1", "OrganizationId" : 207, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : null, "GrossWeightUOMCode" : null, "GrossWeightUOMName" : null, "TareWeight" : null, "TareWeightUOMCode" : null, "TareWeightUOMName" : null, "NetWeight" : 25, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : null, "ContainerVolumeUOM" : null, "ContainerVolumeUOMName" : null, "ContentVolume" : 2, "ContentVolumeUOMCode" : null, "ContentVolumeUOMName" : null, "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null } ], "count" : 1, "hasMore" : false, "limit" : 25, "offset" : 0, "links" : [ { "rel" : "self", "href" : "https://servername/fscmRestApi/resources/version/packingUnits", "name" : "packingUnits", "kind" : "collection" } ] }
Example 2 cURL Command
Use the following cURL command to submit a request on the REST resource to get all the packing units defined in the system:
curl -u username:password "https://servername/fscmRestApi/resources/version/packingUnits?onlyData=true "
Example 2 Response Body
The following shows an example of the response body in JSON format.
{ "items": [ { "PackingUnitId": 8353, "PackingUnit": "LPTST1", "ParentPackingUnitId": null, "ParentPackingUnit": null, "OutermostPackingUnitId": 8353, "OutermostPackingUnit": "LPTST1", "PackingUnitContextMeaning": "Not applicable", "PackingUnitContext": "13", "OrganizationCode": "M1", "OrganizationId": 207, "ContainerItemNumber": "Pallet", "ContainerItemId": 4558, "GrossWeight": 150, "GrossWeightUOMCode": "Lbs", "GrossWeightUOMName": "Pounds", "TareWeight": null, "TareWeightUOMCode": null, "TareWeightUOMName": null, "NetWeight": 150, "NetWeightUOMCode": "Lbs", "NetWeightUOMName": "Pounds", "ContainerVolume": null, "ContainerVolumeUOM": null, "ContainerVolumeUOMName": null, "ContentVolume": 9.7, "ContentVolumeUOMCode": "FT3", "ContentVolumeUOMName": "Cubic foot", "SourceName": "WSH", "SealCode": null, "TrackingNumber": null, "AllowAutoGeneration": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/packingUnits/8353", "name": "packingUnits", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/packingUnits/8353", "name": "packingUnits", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/packingUnits/8353/child/nestedPackingUnits", "name": "nestedPackingUnits", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/packingUnits/8353/child/contents", "name": "contents", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/packingUnits/8353/child/attachments", "name": "attachments", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/packingUnits/8353/child/packingUnitDFFs", "name": "packingUnitDFFs", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/packingUnits/8353/child/notes", "name": "notes", "kind": "collection" } ] }, { "PackingUnitId": 300100149331370, "PackingUnit": "7312", "ParentPackingUnitId": null, "ParentPackingUnit": null, "OutermostPackingUnitId": 300100149331370, "OutermostPackingUnit": "7312", "PackingUnitContextMeaning": "Not applicable", "PackingUnitContext": "13", "OrganizationCode": "M1", "OrganizationId": 207, "ContainerItemNumber": null, "ContainerItemId": null, "GrossWeight": null, "GrossWeightUOMCode": null, "GrossWeightUOMName": null, "TareWeight": null, "TareWeightUOMCode": null, "TareWeightUOMName": null, "NetWeight": null, "NetWeightUOMCode": null, "NetWeightUOMName": null, "ContainerVolume": null, "ContainerVolumeUOM": null, "ContainerVolumeUOMName": null, "ContentVolume": null, "ContentVolumeUOMCode": null, "ContentVolumeUOMName": null, "SourceName": "WSH", "SealCode": null, "TrackingNumber": null, "AllowAutoGeneration": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/packingUnits/300100149331370", "name": "packingUnits", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/packingUnits/300100149331370", "name": "packingUnits", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/packingUnits/300100149331370/child/nestedPackingUnits", "name": "nestedPackingUnits", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/packingUnits/300100149331370/child/contents", "name": "contents", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/packingUnits/300100149331370/child/attachments", "name": "attachments", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/packingUnits/300100149331370/child/packingUnitDFFs", "name": "packingUnitDFFs", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/packingUnits/300100149331370/child/notes", "name": "notes", "kind": "collection" } ] }, { "PackingUnitId": 8352, "PackingUnit": "LPNTST-1", "ParentPackingUnitId": null, "ParentPackingUnit": null, "OutermostPackingUnitId": 8352, "OutermostPackingUnit": "LPNTST-1", "PackingUnitContextMeaning": "Not applicable", "PackingUnitContext": "13", "OrganizationCode": "M1", "OrganizationId": 207, "ContainerItemNumber": "Pallet", "ContainerItemId": 4558, "GrossWeight": 150, "GrossWeightUOMCode": "Lbs", "GrossWeightUOMName": "Pounds", "TareWeight": null, "TareWeightUOMCode": null, "TareWeightUOMName": null, "NetWeight": 150, "NetWeightUOMCode": "Lbs", "NetWeightUOMName": "Pounds", "ContainerVolume": null, "ContainerVolumeUOM": null, "ContainerVolumeUOMName": null, "ContentVolume": 9.7, "ContentVolumeUOMCode": "FT3", "ContentVolumeUOMName": "Cubic foot", "SourceName": "WSH", "SealCode": null, "TrackingNumber": null, "AllowAutoGeneration": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/packingUnits/8352", "name": "packingUnits", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/packingUnits/8352", "name": "packingUnits", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/packingUnits/8352/child/nestedPackingUnits", "name": "nestedPackingUnits", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/packingUnits/8352/child/contents", "name": "contents", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/packingUnits/8352/child/attachments", "name": "attachments", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/packingUnits/8352/child/packingUnitDFFs", "name": "packingUnitDFFs", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/packingUnits/8352/child/notes", "name": "notes", "kind": "collection" } ] } ], "count": 3, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/packingUnits", "name": "packingUnits", "kind": "collection" } ] }
Example 3 cURL Command
Use the following cURL command to submit a request on the REST resource to get all packing units for "WSH" source name and organization code as M1:
curl -u username:password "https://servername/fscmRestApi/resources/version/packingUnits?onlyData=true&q=SourceName=WSH;OrganizationCode=M1"
Example 3 Response Body
The following shows an example of the response body in JSON format.
{ "items": [ { "PackingUnitId": 8353, "PackingUnit": "LPTST1", "ParentPackingUnitId": null, "ParentPackingUnit": null, "OutermostPackingUnitId": 8353, "OutermostPackingUnit": "LPTST1", "PackingUnitContextMeaning": "Not applicable", "PackingUnitContext": "13", "OrganizationCode": "M1", "OrganizationId": 207, "ContainerItemNumber": "Pallet", "ContainerItemId": 4558, "GrossWeight": 150, "GrossWeightUOMCode": "Lbs", "GrossWeightUOMName": "Pounds", "TareWeight": null, "TareWeightUOMCode": null, "TareWeightUOMName": null, "NetWeight": 150, "NetWeightUOMCode": "Lbs", "NetWeightUOMName": "Pounds", "ContainerVolume": null, "ContainerVolumeUOM": null, "ContainerVolumeUOMName": null, "ContentVolume": 9.7, "ContentVolumeUOMCode": "FT3", "ContentVolumeUOMName": "Cubic foot", "SourceName": "WSH", "SealCode": null, "TrackingNumber": null, "AllowAutoGeneration": null }, { "PackingUnitId": 300100149331370, "PackingUnit": "7312", "ParentPackingUnitId": null, "ParentPackingUnit": null, "OutermostPackingUnitId": 300100149331370, "OutermostPackingUnit": "7312", "PackingUnitContextMeaning": "Not applicable", "PackingUnitContext": "13", "OrganizationCode": "M1", "OrganizationId": 207, "ContainerItemNumber": null, "ContainerItemId": null, "GrossWeight": null, "GrossWeightUOMCode": null, "GrossWeightUOMName": null, "TareWeight": null, "TareWeightUOMCode": null, "TareWeightUOMName": null, "NetWeight": null, "NetWeightUOMCode": null, "NetWeightUOMName": null, "ContainerVolume": null, "ContainerVolumeUOM": null, "ContainerVolumeUOMName": null, "ContentVolume": null, "ContentVolumeUOMCode": null, "ContentVolumeUOMName": null, "SourceName": "WSH", "SealCode": null, "TrackingNumber": null, "AllowAutoGeneration": null }, { "PackingUnitId": 8352, "PackingUnit": "LPNTST-1", "ParentPackingUnitId": null, "ParentPackingUnit": null, "OutermostPackingUnitId": 8352, "OutermostPackingUnit": "LPNTST-1", "PackingUnitContextMeaning": "Not applicable", "PackingUnitContext": "13", "OrganizationCode": "M1", "OrganizationId": 207, "ContainerItemNumber": "Pallet", "ContainerItemId": 4558, "GrossWeight": 150, "GrossWeightUOMCode": "Lbs", "GrossWeightUOMName": "Pounds", "TareWeight": null, "TareWeightUOMCode": null, "TareWeightUOMName": null, "NetWeight": 150, "NetWeightUOMCode": "Lbs", "NetWeightUOMName": "Pounds", "ContainerVolume": null, "ContainerVolumeUOM": null, "ContainerVolumeUOMName": null, "ContentVolume": 9.7, "ContentVolumeUOMCode": "FT3", "ContentVolumeUOMName": "Cubic foot", "SourceName": "WSH", "SealCode": null, "TrackingNumber": null, "AllowAutoGeneration": null } ], "count": 3, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/packingUnits", "name": "packingUnits", "kind": "collection" }+A1:H42 ] }
Example 4 cURL Command
Use the following cURL command to submit a request on the REST resource get all packing units using tracking number as Sample:
curl -u username:password "https://servername/fscmRestApi/resources/version/packingUnits?onlyData=true&q=TrackingNumber=Sample"
Example 4 Response Body
The following shows an example of the response body in JSON format.
{ "items" : [ { "PackingUnitId" : 5294, "PackingUnit" : "5254", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5294, "OutermostPackingUnit" : "5254", "PackingUnitContextMeaning" : "Shipped", "PackingUnitContext" : "14", "OrganizationCode" : "WSORG", "OrganizationId" : 300100032078265, "ContainerItemNumber" : "WSPallet", "ContainerItemId" : 300100031857748, "GrossWeight" : 105, "GrossWeightUOMCode" : "LB", "GrossWeightUOMName" : "LB", "TareWeight" : 75, "TareWeightUOMCode" : null, "TareWeightUOMName" : null, "NetWeight" : 30, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : null, "ContainerVolumeUOM" : null, "ContainerVolumeUOMName" : null, "ContentVolume" : null, "ContentVolumeUOMCode" : null, "ContentVolumeUOMName" : null, "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : "Sample", "AllowAutoGeneration" : null } ], "count" : 1, "hasMore" : false, "limit" : 25, "offset" : 0, "links" : [ { "rel" : "self", "href" : "https://servername/fscmRestApi/resources/version/packingUnits", "name" : "packingUnits", "kind" : "collection" } ] }
Example 5 cURL Command
Use the following cURL command to submit a request on the REST resource to get all packing units using seal code as Sample:
curl -u username:password "https://servername/fscmRestApi/resources/version/packingUnits?onlyData=true&q=SealCode=Sample"
Example 5 Response Body
The following shows an example of the response body in JSON format.
{ "items" : [ { "PackingUnitId" : 5294, "PackingUnit" : "5254", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5294, "OutermostPackingUnit" : "5254", "PackingUnitContextMeaning" : "Shipped", "PackingUnitContext" : "14", "OrganizationCode" : "WSORG", "OrganizationId" : 300100032078265, "ContainerItemNumber" : "WSPallet", "ContainerItemId" : 300100031857748, "GrossWeight" : 105, "GrossWeightUOMCode" : "LB", "GrossWeightUOMName" : "LB", "TareWeight" : 75, "TareWeightUOMCode" : null, "TareWeightUOMName" : null, "NetWeight" : 30, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : null, "ContainerVolumeUOM" : null, "ContainerVolumeUOMName" : null, "ContentVolume" : null, "ContentVolumeUOMCode" : null, "ContentVolumeUOMName" : null, "SourceName" : "WSH", "SealCode" : "Sample", "TrackingNumber" : "TRK-014", "AllowAutoGeneration" : null } ], "count" : 1, "hasMore" : false, "limit" : 25, "offset" : 0, "links" : [ { "rel" : "self", "href" : "https://servername/fscmRestApi/resources/version/packingUnits", "name" : "packingUnits", "kind" : "collection" } ] }
Example 6 cURL Command
Use the following cURL command to submit a request on the REST resource to get all packing units using container item number as 'BX54888' in V1 organisation:
curl -u username:password "https://servername/fscmRestApi/resources/version/packingUnits?onlyData=true&q=ContainerItemNumber=BX54888;OrganizationCode=V1"
Example 6 Response Body
The following shows an example of the response body in JSON format.
{ "items" : [ { "PackingUnitId" : 41, "PackingUnit" : "3", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 41, "OutermostPackingUnit" : "3", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "BX54888", "ContainerItemId" : 4556, "GrossWeight" : 1, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : null, "NetWeightUOMCode" : null, "NetWeightUOMName" : null, "ContainerVolume" : null, "ContainerVolumeUOM" : null, "ContainerVolumeUOMName" : null, "ContentVolume" : null, "ContentVolumeUOMCode" : null, "ContentVolumeUOMName" : null, "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null } ], "count" : 1, "hasMore" : false, "limit" : 25, "offset" : 0, "links" : [ { "rel" : "self", "href" : "https://servername/fscmRestApi/resources/version/packingUnits", "name" : "packingUnits", "kind" : "collection" } ] }
Example 7 cURL Command
Use the following cURL command to submit a request on the REST resource to get all packing units which are not used in the organization:
curl -u username:password "https://servername/fscmRestApi/resources/version/packingUnits?q=PackingUnitContext=5;OrganizationId=204&onlyData=true"
Example 7 Response Body
The following shows an example of the response body in JSON format.
{ "items" : [ { "PackingUnitId" : 128, "PackingUnit" : "LPN1000C", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 128, "OutermostPackingUnit" : "LPN1000C", "PackingUnitContextMeaning" : "Defined but not used", "PackingUnitContext" : "5", "OrganizationCode" : "PD4", "OrganizationId" : 5357, "ContainerItemNumber" : null, "ContainerItemId" : null, "GrossWeight" : null, "GrossWeightUOMCode" : null, "GrossWeightUOMName" : null, "TareWeight" : null, "TareWeightUOMCode" : null, "TareWeightUOMName" : null, "NetWeight" : null, "NetWeightUOMCode" : null, "NetWeightUOMName" : null, "ContainerVolume" : null, "ContainerVolumeUOM" : null, "ContainerVolumeUOMName" : null, "ContentVolume" : 0, "ContentVolumeUOMCode" : null, "ContentVolumeUOMName" : null, "SourceName" : null, "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 129, "PackingUnit" : "LPN1001C", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 129, "OutermostPackingUnit" : "LPN1001C", "PackingUnitContextMeaning" : "Defined but not used", "PackingUnitContext" : "5", "OrganizationCode" : "PD4", "OrganizationId" : 5357, "ContainerItemNumber" : null, "ContainerItemId" : null, "GrossWeight" : null, "GrossWeightUOMCode" : null, "GrossWeightUOMName" : null, "TareWeight" : null, "TareWeightUOMCode" : null, "TareWeightUOMName" : null, "NetWeight" : null, "NetWeightUOMCode" : null, "NetWeightUOMName" : null, "ContainerVolume" : null, "ContainerVolumeUOM" : null, "ContainerVolumeUOMName" : null, "ContentVolume" : 0, "ContentVolumeUOMCode" : null, "ContentVolumeUOMName" : null, "SourceName" : null, "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 130, "PackingUnit" : "LPN1002C", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 130, "OutermostPackingUnit" : "LPN1002C", "PackingUnitContextMeaning" : "Defined but not used", "PackingUnitContext" : "5", "OrganizationCode" : "PD4", "OrganizationId" : 5357, "ContainerItemNumber" : null, "ContainerItemId" : null, "GrossWeight" : null, "GrossWeightUOMCode" : null, "GrossWeightUOMName" : null, "TareWeight" : null, "TareWeightUOMCode" : null, "TareWeightUOMName" : null, "NetWeight" : null, "NetWeightUOMCode" : null, "NetWeightUOMName" : null, "ContainerVolume" : null, "ContainerVolumeUOM" : null, "ContainerVolumeUOMName" : null, "ContentVolume" : 0, "ContentVolumeUOMCode" : null, "ContentVolumeUOMName" : null, "SourceName" : null, "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 131, "PackingUnit" : "LPN1003C", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 131, "OutermostPackingUnit" : "LPN1003C", "PackingUnitContextMeaning" : "Defined but not used", "PackingUnitContext" : "5", "OrganizationCode" : "PD4", "OrganizationId" : 5357, "ContainerItemNumber" : null, "ContainerItemId" : null, "GrossWeight" : null, "GrossWeightUOMCode" : null, "GrossWeightUOMName" : null, "TareWeight" : null, "TareWeightUOMCode" : null, "TareWeightUOMName" : null, "NetWeight" : null, "NetWeightUOMCode" : null, "NetWeightUOMName" : null, "ContainerVolume" : null, "ContainerVolumeUOM" : null, "ContainerVolumeUOMName" : null, "ContentVolume" : 0, "ContentVolumeUOMCode" : null, "ContentVolumeUOMName" : null, "SourceName" : null, "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null } ], "count" : 4, "hasMore" : false, "limit" : 25, "offset" : 0, "links" : [ { "rel" : "self", "href" : "https://servername/fscmRestApi/resources/version/packingUnits", "name" : "packingUnits", "kind" : "collection" } ] }
Example 8 cURL Command
Use the following cURL command to submit a request on the REST resource get packing units with only PackingUnitId and PackingUnit:
curl -u username:password "https://servername/fscmRestApi/resources/version/packingUnits?fields=PackingUnitId,PackingUnit&onlyData=true"
Example 8 Response Body
The following shows an example of the response body in JSON format.
{ "items" : [ { "PackingUnitId" : 5062, "PackingUnit" : "5022" }, { "PackingUnitId" : 5213, "PackingUnit" : "5173" }, { "PackingUnitId" : 5271, "PackingUnit" : "5231" }, { "PackingUnitId" : 5061, "PackingUnit" : "5021" }, { "PackingUnitId" : 5232, "PackingUnit" : "5192" }, { "PackingUnitId" : 5185, "PackingUnit" : "5145" }, { "PackingUnitId" : 5186, "PackingUnit" : "5146" }, { "PackingUnitId" : 5187, "PackingUnit" : "5147" }, { "PackingUnitId" : 41, "PackingUnit" : "3" }, { "PackingUnitId" : 5081, "PackingUnit" : "5041" }, { "PackingUnitId" : 5191, "PackingUnit" : "5151" }, { "PackingUnitId" : 5192, "PackingUnit" : "5152" }, { "PackingUnitId" : 5251, "PackingUnit" : "5211" }, { "PackingUnitId" : 5252, "PackingUnit" : "5212" }, { "PackingUnitId" : 5253, "PackingUnit" : "5213" }, { "PackingUnitId" : 5254, "PackingUnit" : "5214" }, { "PackingUnitId" : 5255, "PackingUnit" : "5215" }, { "PackingUnitId" : 5256, "PackingUnit" : "5216" }, { "PackingUnitId" : 5257, "PackingUnit" : "5217" }, { "PackingUnitId" : 5258, "PackingUnit" : "5218" }, { "PackingUnitId" : 5259, "PackingUnit" : "5219" }, { "PackingUnitId" : 5260, "PackingUnit" : "5220" }, { "PackingUnitId" : 5294, "PackingUnit" : "5254" }, { "PackingUnitId" : 5102, "PackingUnit" : "5062" }, { "PackingUnitId" : 5103, "PackingUnit" : "5063" } ], "count" : 25, "hasMore" : true, "limit" : 25, "offset" : 0, "links" : [ { "rel" : "self", "href" : "https://servername/fscmRestApi/resources/version/packingUnits", "name" : "packingUnits", "kind" : "collection" } ] }
Example 9 cURL Command
Use the following cURL command to submit a request on the REST resource to get all packing unit details list in ascending order in particular organization:
curl -u username:password "https://servername/fscmRestApi/resources/version/packingUnits?q=OrganizationCode=V1&orderBy=PackingUnit&onlyData=true"
Example 9 Response Body
The following shows an example of the response body in JSON format.
{ "items" : [ { "PackingUnitId" : 11351, "PackingUnit" : "11311", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 11351, "OutermostPackingUnit" : "11311", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 1, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : null, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : null, "ContentVolumeUOMCode" : null, "ContentVolumeUOMName" : null, "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 11352, "PackingUnit" : "11312", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 11352, "OutermostPackingUnit" : "11312", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 1, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : null, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : null, "ContentVolumeUOMCode" : null, "ContentVolumeUOMName" : null, "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 41, "PackingUnit" : "3", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 41, "OutermostPackingUnit" : "3", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "BX54888", "ContainerItemId" : 4556, "GrossWeight" : 1, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : null, "NetWeightUOMCode" : null, "NetWeightUOMName" : null, "ContainerVolume" : null, "ContainerVolumeUOM" : null, "ContainerVolumeUOMName" : null, "ContentVolume" : null, "ContentVolumeUOMCode" : null, "ContentVolumeUOMName" : null, "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5061, "PackingUnit" : "5021", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5061, "OutermostPackingUnit" : "5021", "PackingUnitContextMeaning" : "Shipped", "PackingUnitContext" : "14", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5062, "PackingUnit" : "5022", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5062, "OutermostPackingUnit" : "5022", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5063, "PackingUnit" : "5023", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5063, "OutermostPackingUnit" : "5023", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 31, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 30, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 1.94, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5081, "PackingUnit" : "5041", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5081, "OutermostPackingUnit" : "5041", "PackingUnitContextMeaning" : "Shipped", "PackingUnitContext" : "14", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 31, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 30, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 1.94, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5101, "PackingUnit" : "5061", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5101, "OutermostPackingUnit" : "5061", "PackingUnitContextMeaning" : "Shipped", "PackingUnitContext" : "14", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 91, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 90, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 5.82, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5102, "PackingUnit" : "5062", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5102, "OutermostPackingUnit" : "5062", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5103, "PackingUnit" : "5063", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5103, "OutermostPackingUnit" : "5063", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5104, "PackingUnit" : "5064", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5104, "OutermostPackingUnit" : "5064", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5105, "PackingUnit" : "5065", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5105, "OutermostPackingUnit" : "5065", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5106, "PackingUnit" : "5066", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5106, "OutermostPackingUnit" : "5066", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5107, "PackingUnit" : "5067", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5107, "OutermostPackingUnit" : "5067", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5108, "PackingUnit" : "5068", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5108, "OutermostPackingUnit" : "5068", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5109, "PackingUnit" : "5069", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5109, "OutermostPackingUnit" : "5069", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5110, "PackingUnit" : "5070", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5110, "OutermostPackingUnit" : "5070", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5111, "PackingUnit" : "5071", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5111, "OutermostPackingUnit" : "5071", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5112, "PackingUnit" : "5072", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5112, "OutermostPackingUnit" : "5072", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5113, "PackingUnit" : "5073", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5113, "OutermostPackingUnit" : "5073", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5114, "PackingUnit" : "5074", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5114, "OutermostPackingUnit" : "5074", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5115, "PackingUnit" : "5075", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5115, "OutermostPackingUnit" : "5075", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5116, "PackingUnit" : "5076", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5116, "OutermostPackingUnit" : "5076", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5117, "PackingUnit" : "5077", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5117, "OutermostPackingUnit" : "5077", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 5118, "PackingUnit" : "5078", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5118, "OutermostPackingUnit" : "5078", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 151, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null } ], "count" : 25, "hasMore" : true, "limit" : 25, "offset" : 0, "links" : [ { "rel" : "self", "href" : "https://servername/fscmRestApi/resources/version/packingUnits", "name" : "packingUnits", "kind" : "collection" } ] }
Example 10 cURL Command
Use the following cURL command from a user login having the data security access only to organization M1, to submit a request on the REST resource to get all packing units where the organization is M1.:
curl -u username:password "https://servername/fscmRestApi/resources/version/packingUnits?onlyData=true&limit=2"
Example 10 Response Body
The following shows an example of the response body in JSON format.
{ "items" : [ { "PackingUnitId" : 8353, "PackingUnit" : "LPTST1", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 8353, "OutermostPackingUnit" : "LPTST1", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "M1", "OrganizationId" : 207, "ContainerItemNumber" : "Pallet", "ContainerItemId" : 4558, "GrossWeight" : 150, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : null, "TareWeightUOMCode" : null, "TareWeightUOMName" : null, "NetWeight" : 150, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : null, "ContainerVolumeUOM" : null, "ContainerVolumeUOMName" : null, "ContentVolume" : 9.7, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null }, { "PackingUnitId" : 300100149331370, "PackingUnit" : "7312", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 300100149331370, "OutermostPackingUnit" : "7312", "PackingUnitContextMeaning" : "Not applicable", "PackingUnitContext" : "13", "OrganizationCode" : "M1", "OrganizationId" : 207, "ContainerItemNumber" : null, "ContainerItemId" : null, "GrossWeight" : null, "GrossWeightUOMCode" : null, "GrossWeightUOMName" : null, "TareWeight" : null, "TareWeightUOMCode" : null, "TareWeightUOMName" : null, "NetWeight" : null, "NetWeightUOMCode" : null, "NetWeightUOMName" : null, "ContainerVolume" : null, "ContainerVolumeUOM" : null, "ContainerVolumeUOMName" : null, "ContentVolume" : null, "ContentVolumeUOMCode" : null, "ContentVolumeUOMName" : null, "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null } ], "count" : 2, "hasMore" : true, "limit" : 2, "offset" : 0, "links" : [ { "rel" : "self", "href" : "https://servername/fscmRestApi/resources/version/packingUnits", "name" : "packingUnits", "kind" : "collection" } ] }
Example 11 cURL Command
Use the following cURL command to submit a request on the REST resource to get all packing units using row finder:
curl -u username:password "https://servername/fscmRestApi/resources/version/packingUnits?finder=findAllLevelsByPackingUnit;pPackingUnit=5061&onlyData=true&expand=contents,packingUnitDFFs,contents.serials"
Example 11 Response Body
The following shows an example of the response body in JSON format.
{ "items" : [ { "PackingUnitId" : 5101, "PackingUnit" : "5061", "ParentPackingUnitId" : null, "ParentPackingUnit" : null, "OutermostPackingUnitId" : 5101, "OutermostPackingUnit" : "5061", "PackingUnitContextMeaning" : "Shipped", "PackingUnitContext" : "14", "OrganizationCode" : "V1", "OrganizationId" : 204, "ContainerItemNumber" : "WSH-Container1", "ContainerItemId" : 100000012320400, "GrossWeight" : 91, "GrossWeightUOMCode" : "Lbs", "GrossWeightUOMName" : "Pounds", "TareWeight" : 1, "TareWeightUOMCode" : "Lbs", "TareWeightUOMName" : "Pounds", "NetWeight" : 90, "NetWeightUOMCode" : "Lbs", "NetWeightUOMName" : "Pounds", "ContainerVolume" : 10, "ContainerVolumeUOM" : "FT3", "ContainerVolumeUOMName" : "Cubic foot", "ContentVolume" : 5.82, "ContentVolumeUOMCode" : "FT3", "ContentVolumeUOMName" : "Cubic foot", "SourceName" : "WSH", "SealCode" : null, "TrackingNumber" : null, "AllowAutoGeneration" : null, "contents" : [ { "PackingUnitContentId" : 5061, "OrganizationId" : 204, "OrganizationCode" : "V1", "InventoryItemId" : 149, "ItemNumber" : "AS54888", "ItemDescription" : null, "Revision" : null, "LotNumber" : null, "Quantity" : 3, "UOMCode" : "Ea", "UOMName" : "Each", "serials" : [ ] } ], "packingUnitDFFs" : [ { "LPNId" : 5101, "__FLEX_Context" : null, "__FLEX_Context_DisplayValue" : null } ] } ], "count" : 1, "hasMore" : false, "limit" : 25, "offset" : 0, "links" : [ { "rel" : "self", "href" : "https://servername/fscmRestApi/resources/version/packingUnits", "name" : "packingUnits", "kind" : "collection" } ] }