Get all packing units

get

/fscmRestApi/resources/11.13.18.05/shippingPackingUnits/{PackingUnitHistoryId}/child/nestedPackingUnits/{PackingUnitHistoryId2}/child/nestedPackingUnits

Request

Path Parameters
  • The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
  • The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
Query Parameters
  • This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2

    Format: <attr1>=<val1>,<attr2>=<value2>
  • 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 the packing unit according to the primary key.
      Finder Variables
      • PackingUnitHistoryId; integer; Value that uniquely identifies the packing unit history.
    • findAllLevelsByPackingUnit Finds details of all levels for a specified nested LPN.
      Finder Variables
      • pPackingUnit; string; Value that uniquely identifies the packing unit.
    • findByCycleCount Finds the counted and uncounted packing units in a subinventory or locator for a specified cycle count.
      Finder Variables
      • bindCOO; string; Abbreviation that identifies the country of origin.
      • bindCountedFlag; string; Contains one of the following values true or false. If true, then packing units are counted. If false, then the packing units aren't counted.
      • bindCycleCountHeaderId; integer; Value that uniquely identifies the cycle count.
      • bindItemId; integer; Value that uniquely identifies the item.
      • bindLocatorId; integer; Value that uniquely identifies the inventory locator.
      • bindLotNumber; string; Value that identifies the lot or batch of the item.
      • bindOrgId; integer; Value that uniquely identifies the organization.
      • bindOwningEntityId; integer; Value that uniquely identifies the owning entity. If the item is consigned, this attribute contains the supplier site identifier. If the item is owned, it contains the owning organization identifier.
      • bindProjectId; integer; Value that uniquely identifies the project.
      • bindRevision; string; Revision of the item.
      • bindSubinventory; string; Value that uniquely identifies the subinventory.
      • bindTaskId; integer; Value that uniquely identifies the task.
    • findByPhysicalInventory Finds the counted and uncounted packing units in a subinventory or locator for a specified physical inventory.
      Finder Variables
      • bindCOO; string; Abbreviation that identifies the country of origin.
      • bindCountedFlag; string; Contains one of the following values true or false. If true, then packing units are counted. If false, then the packing units aren't counted.
      • bindItemId; integer; Value that uniquely identifies the item.
      • bindLocatorId; integer; Value that uniquely identifies the inventory locator.
      • bindOrgId; integer; Value that uniquely identifies the organization.
      • bindOwningEntityId; integer; Value that uniquely identifies the owning entity. If the item is consigned, this attribute contains the supplier site identifier. If the item is owned, it contains the owning organization identifier.
      • bindPhysicalInventoryId; integer; Value that uniquely identifies the physical inventory.
      • bindProjectId; integer; Value that uniquely identifies the project.
      • bindRevision; string; Revision of the item.
      • bindSubinventory; string; Value that uniquely identifies the subinventory.
      • bindTaskId; integer; Value that uniquely identifies the task.
    • findByShipmentAndLineAttributes Finds the packing units for the specified shipment and line attributes.
      Finder Variables
      • LineStatusCodeValue; string;
      • ShipmentIdValue; integer; Value that uniquely identifies the shipment.
      • SourceOrderIdValue; 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.
  • 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:
    • Caller; string; Value that indicates the attachment entity name.
    • ContainerItemDescription; string; Description of the container item.
    • 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 LPN container volume.
    • ContainerVolumeUOMName; string; Name of the unit of measure of the packing unit container volume.
    • ContentItemId; number; Value that uniquely identifies the content item.
    • ContentItemImage; string; Value that provides a reference to the content item's image.
    • ContentItemNumber; string; Number or name that identifies the content item.
    • ContentVolume; number; Total volume of the LPN contents.
    • ContentVolumeUOMCode; string; Abbreviation that identifies the unit of measure of the LPN content volume.
    • ContentVolumeUOMName; string; Name of the unit of measure of the packing unit content volume.
    • Country; string; Name of the country of origin.
    • CreationDate; string; Date when the user created the LPN.
    • CurrentCountryOfOriginCode; string; Abbreviation that identifies the country of origin.
    • CurrentProjectId; number; Value that uniquely identifies the project.
    • CurrentTaskId; number; Value that uniquely identifies the task.
    • FOB; string; Free on board that indicates the ownership of items that are in transit. A list of accepted values is defined in the lookup FOB.
    • FOBCode; string; Abbreviation that indicates the ownership of the items that are in transit. A list of accepted values is defined in the lookup FOB.
    • FreightTerms; string; Agreement that describes whether the buyer or seller pays the shipping cost of the sales order, and when payment is due. A list of accepted values is defined in the lookup WSH_FREIGHT_CHARGE_TERMS.
    • FreightTermsCode; string; Abbreviation that identifies the freight terms. A list of accepted values is defined in the lookup WSH_FREIGHT_CHARGE_TERMS.
    • 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.
    • InitialDestination; string; First leg of transportation that the transportation management application planned for delivering the shipment to the final destination.
    • InitialDestinationId; integer; Value that uniquely identifies the first leg of transportation that the transportation management application planned for delivering the shipment to the final destination.
    • LoadId; integer; Value that uniquely identifies the outbound load.
    • LoadName; string; Name of the outbound load.
    • LoadingSequenceType; string; Sequence to use when loading the items into the truck. A list of accepted values is defined in the lookup type WSH_LINES_LOADING_ORDER.
    • LoadingSequenceTypeCode; string; Abbreviation that identifies the rule to be applied on LPNs for loading into the truck. A list of accepted values is defined in the lookup WSH_LINES_LOADING_ORDER.
    • Locator; string; Concatenated name of the inventory locator for the packing unit.
    • LogisticsServiceProviderCustomer; string; Value that uniquely identifies the item locator for the packing unit.
    • ManualWeightVolumeFlag; boolean; Contains one of the following values: true or false. If true, then the weight and volume are manually entered. If false, then the application automatically computed the weight and volume.
    • MasterSerialNumber; string; Serial number that identifies the packing unit.
    • MaximumLoadWeight; number; Maximum weight that can be loaded in a packing unit.
    • MaximumVolume; number; Maximum volume that can be packed in a packing unit.
    • MinimumFillPercentage; number; Minimum percentage of the LPN that's required to be filled.
    • 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.
    • NumberOfShipmentLines; integer; Number of lines packed into the packing unit.
    • OpenExceptionSeverity; string; Number of times the object has been updated.
    • OrderTypeCode; string; Abbreviation that identifies the type of source line.
    • OrganizationCode; string; Abbreviation that identifies the organization of the packing unit.
    • OrganizationCurrencyCode; string; Abbreviation that identifies the currency.
    • OrganizationId; integer; Value that uniquely identifies the organization of the packing unit.
    • OrganizationName; string; Name of the inventory organization.
    • 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 LPN context.
    • PackingUnitContextMeaning; string; Description of the packing unit context.
    • PackingUnitHistoryId; integer; Value that uniquely identifies the packing unit.
    • PackingUnitId; integer; Name of the parent packing unit.
    • ParentPackingUnit; string; Name of the container item of the parent packing unit.
    • ParentPackingUnitContainer; string; Name of the container item of the parent packing unit.
    • ParentPackingUnitContainerItemId; integer; Value that uniquely identifies the container item of the parent packing unit.
    • ParentPackingUnitId; integer; Value that uniquely identifies the parent packing unit.
    • PercentageFilled; number; Indicates the degree to which the packing unit is packed.
    • PickWave; string; Name of the group of sales orders that the application released into picking.
    • ProjectNumber; string; Name of the project.
    • Revision; string; Revision of the container item.
    • SealCode; string; Abbreviation that identifies the seal of the packing unit.
    • ShipFromLocationId; integer; Value that uniquely identifies the ship-from location.
    • ShipToLocation; string; Value that uniquely identifies the ship-to location.
    • ShipToLocationId; integer; Value that uniquely identifies the ship-to location.
    • Shipment; string; Name of the shipment.
    • ShipmentId; integer; Value that uniquely identifies the shipment.
    • ShipmentStatusCode; string; Abbreviation that identifies the state or condition of the shipment. A list of accepted values is defined in the lookup type WSH_DELIVERY_STATUS.
    • ShippingMethod; string; Value that indicates the method of shipping.
    • ShippingMethodCode; string; Abbreviation that identifies the shipping method.
    • SoldToCustomer; string; Name of the party that purchased the sales order line.
    • SoldToCustomerId; integer; Value that uniquely identifies the sold-to customer.
    • SourceName; string; Name of the source of the packing unit.
    • Subinventory; string; Name of the subinventory.
    • SupplierASN; string; Supplier advanced shipment notice number.
    • 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.
    • TaskNumber; string; Name of the task.
    • TotalShippingCost; number; Total cost associated with shipping the packing unit.
    • TrackingNumber; string; Tracking number of the packing unit.
    • TransportationShipment; string; Value that indicates a shipment planned by the transportation-management application.
    • VolumeFilled; number; Volume of the material packed into 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 : shippingPackingUnits-nestedPackingUnits-nestedPackingUnits
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : shippingPackingUnits-nestedPackingUnits-nestedPackingUnits-item-response
Type: object
Show Source
Back to Top