Update quantities for one packing unit
patch
/fscmRestApi/resources/11.13.18.05/packingUnits/{PackingUnitId}/child/packingUnitQuantities/{packingUnitQuantitiesUniqID}
Request
Path Parameters
-
PackingUnitId(required): integer(int64)
Value that uniquely identifies the packing unit.
-
packingUnitQuantitiesUniqID(required): string
This is the hash key of the attributes which make up the composite key--- LPNId, InventoryItemId, OrganizationId, Revision, LotNumber, ProjectId, TaskId and CountryOfOriginCode ---for the Packing Unit Quantities resource and used to uniquely identify an instance of Packing Unit Quantities. The client should not generate the hash key value. Instead, the client should query on the Packing Unit Quantities collection resource with a filter on the primary key values in order to navigate to a specific instance of Packing Unit Quantities.
For example: packingUnitQuantities?q=LPNId=<value1>;InventoryItemId=<value2>;OrganizationId=<value3>;Revision=<value4>;LotNumber=<value5>;ProjectId=<value6>;TaskId=<value7>;CountryOfOriginCode=<value8>
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
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.
Supported Media Types
- application/json
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : packingUnits-packingUnitQuantities-item-response
Type:
Show Source
object-
AvailableToTransact: number
Read Only:
trueQuantity available for transaction in the packing unit. -
BusinessUnitId: integer
(int64)
Read Only:
trueValue that uniquely identifies the business unit. -
CountryOfOriginCode: string
Read Only:
trueMaximum Length:2Abbreviation that identifies the country of origin. -
CountryOfOriginName: string
Read Only:
trueMaximum Length:80Abbreviation that identifies the country of origin. -
InventoryItemId: integer
(int64)
Read Only:
trueValue that uniquely identifies the item. -
ItemNumber: string
Read Only:
trueMaximum Length:300Number or name that identifies the item. -
LicensePlateNumber: string
Read Only:
trueMaximum Length:30Name of the license plate number. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LocatorId: integer
(int64)
Read Only:
trueValue that uniquely identifies the locator. -
LocatorName: string
Read Only:
trueMaximum Length:2000Name of the locator. -
LotControlCode: number
Read Only:
trueValue that identifies whether the item is lot-controlled. A list of accepted values is defined in the lookup type EGP_LOT_CONTROL_CODE_TYPE. -
LotGrade: string
Read Only:
trueMaximum Length:150Abbreviation that identifies the grade associated with the lot of the item. -
LotNumber: string
Read Only:
trueMaximum Length:80Value that identifies the lot or batch of the item. -
LPNId: integer
Read Only:
trueValue that uniquely identifies the license plate number. -
ObjectVersionNumber: integer
(int32)
Read Only:
trueNumber that identifies the object version. -
OnhandSummaryId: integer
(int64)
Read Only:
trueValue that uniquely identifies an onhand summary. -
OnhandSummaryKey: string
Read Only:
trueMaximum Length:1000Value that indicates the onhand summary. -
OrganizationCode: string
Read Only:
trueMaximum Length:18Abbreviation that identifies the organization. -
OrganizationId: integer
(int64)
Read Only:
trueValue that uniquely identifies the organization. -
OwningEntityId: integer
(int64)
Read Only:
trueValue that uniquely identifies the owning party that's financially responsible for consigned inventory. -
OwningEntityName: string
Read Only:
trueMaximum Length:240Owning party that's financially responsible for consigned inventory. -
OwningType: string
Read Only:
trueMaximum Length:30Abbreviation that identifies the type of owner of the financial liability for consigned inventory. It contains one of the following values: Owning party is the supplier site Owning party is the inventory organization. -
OwningTypeName: string
Read Only:
trueMaximum Length:240Type of owner of the financial liability for consigned inventory. It contains one of the following values: Supplier site: owning party is the supplier site Inventory organization: owning party is the inventory organization. -
PrimaryUOMCode: string
Read Only:
trueMaximum Length:3Abbreviation that identifies the primary unit of measure of the item. -
ProjectId: integer
(int64)
Read Only:
trueValue that uniquely identifies the project. -
ProjectNumber: string
Read Only:
trueMaximum Length:25Name of the project. -
Quantity: number
Read Only:
trueQuantity of the item. -
Revision: string
Read Only:
trueMaximum Length:18Revision of the item. -
RevisionControlCode: number
Read Only:
trueAbbreviation that identifies the revision control of the item. -
SecondaryUOMCode: string
Read Only:
trueMaximum Length:3Abbreviation that identifies the secondary unit of measure of the item. -
SecondaryUOMQuantity: number
Read Only:
trueQuantity of the item in secondary unit of measure of the item. -
SerialNumberControlCode: number
Read Only:
trueValue that identifies if the item is serial-controlled. A list of accepted values is defined in the lookup type EGP_SERIAL_NUMBER_CONTROL_TYPE. -
StockingUOMCode: string
Read Only:
trueMaximum Length:3Abbreviation that identifies the unit of measure in which the item is stocked in a subinventory. -
StockingUOMQuantity: number
Read Only:
trueQuantity of the item in its stocking unit of measure. -
SubinventoryCode: string
Read Only:
trueMaximum Length:10Name of the subinventory. -
TaskId: integer
(int64)
Read Only:
trueValue that uniquely identifies the task. -
TaskNumber: string
Read Only:
trueMaximum Length:100Name of the task.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.