Get all packing units

get

/fscmRestApi/resources/11.13.18.05/packingUnits

Request

Query Parameters
  • 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).
  • 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
  • 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.
    • findByShipmentAndLineAttributes: Finds all packing units that match the specified criteria.
      Finder Variables:
      • LineStatusCodeValue; string; Abbreviation that identifies the status code of the shipment line. A list of accepted values is defined in the lookup WSH_PICK_STATUS.
      • ShipmentIdValue; integer; Value that uniquely identifies the shipment to which the packing unit is assigned.
      • SourceOrderIdValue; integer; Value that uniquely identifies the source order header.
  • 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.
  • 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
  • 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.
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
  • 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
  • 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.
  • The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Header Parameters
  • 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".
  • 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 Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : packingUnits
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : packingUnits-item-response
Type: object
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
The Attachments resource manages the attachments associated with the packing unit resource.
Show Source
Nested Schema : Contents
Type: array
Title: Contents
The Contents resource manages the operations on packing unit contents.
Show Source
Nested Schema : Nested Packing Units
Type: array
Title: Nested Packing Units
The Nested Packing Units resources manages the operations on nested packing units.
Show Source
Nested Schema : Notes
Type: array
Title: Notes
The Notes resource gets comments, information, or instructions for packing units.
Show Source
Nested Schema : Flexfields for Packing Units
Type: array
Title: Flexfields for Packing Units
The Flexfields for Packing Units resource manages the descriptive flexfields for packing units.
Show Source
Nested Schema : packingUnits-attachments-item-response
Type: object
Show Source
Nested Schema : packingUnits-contents-item-response
Type: object
Show Source
Nested Schema : Serials
Type: array
Title: Serials
The Serials resource manages the operations on serials.
Show Source
Nested Schema : packingUnits-contents-serials-item-response
Type: object
Show Source
  • Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the current status of the serial number of the content item.
  • Read Only: true
    Maximum Length: 80
    Description of the current status of the serial number of the content item.
  • Links
  • Read Only: true
    Maximum Length: 80
    Serial number of the container item, if container item is under serial control.
Nested Schema : packingUnits-nestedPackingUnits-item-response
Type: object
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
The Attachments resource manages the attachments associated with the packing unit resource.
Show Source
Nested Schema : Contents
Type: array
Title: Contents
The Contents resource manages the operations on packing unit contents.
Show Source
Nested Schema : Nested Packing Units
Type: array
Title: Nested Packing Units
The Nested Packing Units resources manages the operations on nested packing units.
Show Source
Nested Schema : Notes
Type: array
Title: Notes
The Notes resource gets comments, information, or instructions for packing units.
Show Source
Nested Schema : Flexfields for Packing Units
Type: array
Title: Flexfields for Packing Units
The Flexfields for Packing Units resource manages the descriptive flexfields for packing units.
Show Source
Nested Schema : packingUnits-nestedPackingUnits-attachments-item-response
Type: object
Show Source
Nested Schema : packingUnits-nestedPackingUnits-contents-item-response
Type: object
Show Source
Nested Schema : Serials
Type: array
Title: Serials
The Serials resource manages the operations on serials.
Show Source
Nested Schema : packingUnits-nestedPackingUnits-contents-serials-item-response
Type: object
Show Source
  • Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the current status of the serial number of the content item.
  • Read Only: true
    Maximum Length: 80
    Description of the current status of the serial number of the content item.
  • Links
  • Read Only: true
    Maximum Length: 80
    Serial number of the container item, if container item is under serial control.
Nested Schema : packingUnits-nestedPackingUnits-nestedPackingUnits-item-response
Type: object
Show Source
Nested Schema : packingUnits-nestedPackingUnits-notes-item-response
Type: object
Show Source
  • Title: Contact Relationship ID
    Value that uniquely identifies the relationship. This attribute isn't currently used by the packingUnits resource.
  • Title: Corporate Currency Code
    Maximum Length: 15
    Abbreviation that identifies the corporate currency. This attribute isn't currently used by the packingUnits resource.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    User who created the note.
  • Title: Creation Date
    Read Only: true
    Date when the user created the note record.
  • Title: Creator Party ID
    Value that uniquely identifies the creator of the note.
  • Title: Currency Conversion Rate Type
    Maximum Length: 30
    Type of currency conversion rate. This attribute isn't currently used by the packingUnits resource.
  • Title: Currency
    Maximum Length: 15
    Abbreviation that identifies the currency. This attribute isn't currently used by the packingUnits resource.
  • 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.
  • Title: Primary Email
    Read Only: true
    Maximum Length: 320
    The email address of the user who created the note.
  • Title: Primary Address
    Read Only: true
    The address of the user who created the note.
  • Title: Primary Phone
    Read Only: true
    The phone number of the user who created the note.
  • Title: Last Update Date
    Read Only: true
    Date when the user most recently updated the note data.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    User who most recently updated the note record.
  • Title: Last Update Login
    Read Only: true
    Maximum Length: 32
    Login of the user who most recently updated the note record.
  • Links
  • Title: Note ID
    Read Only: true
    Value that uniquely identifies the note.
  • Maximum Length: 30
    The alternate unique identifier of the note. A user key that's system generated or from an external system.
  • Title: Title
    Maximum Length: 500
    The title of the note entered by the user.
  • Title: Note
    Text of the actual note.
  • Title: Type
    Maximum Length: 30
    Abbreviation that identifies the categorization of the note type.
  • Title: Parent Note ID
    Value that uniquely identifies the parent note.
  • Title: Party ID
    Read Only: true
    Value that uniquely identifies the party to which the note is associated.
  • Title: Author
    Read Only: true
    Maximum Length: 360
    Name of the user who created the record.
  • 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.
  • Title: Related Object
    Maximum Length: 64
    Value that uniquely identifies the packing unit.
  • 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 can't be updated. The default value is true.
  • Title: Private
    Maximum Length: 30
    Default Value: INTERNAL
    Abbreviation that identifies the visibility level of the note.
Nested Schema : packingUnits-nestedPackingUnits-packingUnitDFFs-item-response
Type: object
Show Source
Nested Schema : packingUnits-notes-item-response
Type: object
Show Source
  • Title: Contact Relationship ID
    Value that uniquely identifies the relationship. This attribute isn't currently used by the packingUnits resource.
  • Title: Corporate Currency Code
    Maximum Length: 15
    Abbreviation that identifies the corporate currency. This attribute isn't currently used by the packingUnits resource.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    User who created the note.
  • Title: Creation Date
    Read Only: true
    Date when the user created the note record.
  • Title: Creator Party ID
    Value that uniquely identifies the creator of the note.
  • Title: Currency Conversion Rate Type
    Maximum Length: 30
    Type of currency conversion rate. This attribute isn't currently used by the packingUnits resource.
  • Title: Currency
    Maximum Length: 15
    Abbreviation that identifies the currency. This attribute isn't currently used by the packingUnits resource.
  • 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.
  • Title: Primary Email
    Read Only: true
    Maximum Length: 320
    The email address of the user who created the note.
  • Title: Primary Address
    Read Only: true
    The address of the user who created the note.
  • Title: Primary Phone
    Read Only: true
    The phone number of the user who created the note.
  • Title: Last Update Date
    Read Only: true
    Date when the user most recently updated the note data.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    User who most recently updated the note record.
  • Title: Last Update Login
    Read Only: true
    Maximum Length: 32
    Login of the user who most recently updated the note record.
  • Links
  • Title: Note ID
    Read Only: true
    Value that uniquely identifies the note.
  • Maximum Length: 30
    The alternate unique identifier of the note. A user key that's system generated or from an external system.
  • Title: Title
    Maximum Length: 500
    The title of the note entered by the user.
  • Title: Note
    Text of the actual note.
  • Title: Type
    Maximum Length: 30
    Abbreviation that identifies the categorization of the note type.
  • Title: Parent Note ID
    Value that uniquely identifies the parent note.
  • Title: Party ID
    Read Only: true
    Value that uniquely identifies the party to which the note is associated.
  • Title: Author
    Read Only: true
    Maximum Length: 360
    Name of the user who created the record.
  • 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.
  • Title: Related Object
    Maximum Length: 64
    Value that uniquely identifies the packing unit.
  • 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 can't be updated. The default value is true.
  • Title: Private
    Maximum Length: 30
    Default Value: INTERNAL
    Abbreviation that identifies the visibility level of the note.
Nested Schema : packingUnits-packingUnitDFFs-item-response
Type: object
Show Source
Back to Top

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"
  } ]
}
Back to Top