Update an item
patch
/fscmRestApi/resources/11.13.18.05/productionSchedulingPlans/{PlanId}/child/items/{itemsUniqID}
Request
Path Parameters
-
PlanId(required): integer(int64)
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=
-
itemsUniqID(required): string
This is the hash key of the attributes which make up the composite key--- PlanId and InventoryItemId ---for the Items resource and used to uniquely identify an instance of Items. The client should not generate the hash key value. Instead, the client should query on the Items collection resource with a filter on the primary key values in order to navigate to a specific instance of Items.
For example: items?q=PlanId=<value1>;InventoryItemId=<value2>
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
Root Schema : schema
Type:
Show Source
object-
ApplySupplyToleranceFlag: boolean
Maximum Length:
1Contains one of the following values: Y or N. If Y, then apply supply tolerance on the inventory item. If N, then don't apply supply tolerance on the inventory item. This attribute doesn't have a default value. -
ConsumptionTime: number
Target time of consumption of the inventory item.
-
ConsumptionTimeUnit: string
Maximum Length:
30Time unit of consumption. Valid values include seconds, minutes, hours, days, shifts, weeks, and months. -
Description: string
Maximum Length:
500Description of the production schedule. -
EarliestShortageConsumeDate: string
(date-time)
Value that indicates the earliest date when the item is available if a work order operation is short of supply.
-
InventoryItemId: integer
(int64)
Value that uniquely identifies the inventory item.
-
ItemCode: string
Maximum Length:
300Abbreviation that identifies the item. -
ItemType: string
Maximum Length:
30Type of item. Valid values include Manufactured, Purchased, and Both. -
LeadTimeDays: number
Value that indicates the lead time of the Make or Buy items.
-
LeadTimeOverrideDays: number
Value that indicates the lead time of the make or buy items. This attribute overrides the lead time value that??s inherited from the LeadTimeDays attribute.
-
MaximumLevel: number
Maximum level of the inventory item.
-
MinimumLevel: number
Minimum level of the inventory item.
-
onHoldLots: array
On Hold Lots
Title:
On Hold LotsThe On Hold Lots resource manages the on-hand inventory that's on hold. -
PlanId: integer
(int64)
Value that uniquely identifies the production schedule.
-
PlanningMakeBuyValue: string
Maximum Length:
80Value that indicates whether the item is a manufactured item or a purchased item. Valid values are Make and Buy. -
Precision: integer
(int64)
Display precision of the inventory item.
-
RebuildableFlag: boolean
Maximum Length:
1Contains one of the following values: Y or N. If Y, then the item is rebuildable. If N, then the item isn't rebuildable. This attribute doesn't have a default value. -
ReceivingCalendarId: integer
(int64)
Value that uniquely identifies the receiving calendar.
-
RelaxedMaximumLevelFlag: boolean
Maximum Length:
1Contains one of the following values: Y or N. If Y, then relax the maximum value. If N, then don't relax the maximum value. This attribute doesn't have a default value. -
RelaxedMinimumLevelFlag: boolean
Maximum Length:
1Contains one of the following values: Y or N. If Y, then relax the minimum value. If N, then don't relax the minimum value. This attribute doesn't have a default value. -
SaleableFlag: boolean
Maximum Length:
1Contains one of the following values: Y or N. If Y, then the item is available for sale. If N, then the item isn't available for sale. This attribute doesn't have a default value. -
ShortageQuantity: number
The amount that the item is short for the plan.
-
StartLevel: number
Start level of on-hand inventory item.
-
TotalOnHandReservedQuantity: number
Total amount reserved to on-hand inventory.
-
UnitOfMeasure: string
Maximum Length:
25Name of the unit of measure. -
UOMCode: string
Maximum Length:
30Abbreviation that identifies the unit of measure. -
UseConsumptionTimeFlag: boolean
Maximum Length:
1Contains one of the following values: Y or N. If Y, then use consumption time. If N, then don't use consumption time. This attribute doesn't have a default value.
Nested Schema : On Hold Lots
Type:
arrayTitle:
On Hold LotsThe On Hold Lots resource manages the on-hand inventory that's on hold.
Show Source
Nested Schema : productionSchedulingPlans-items-onHoldLots-item-patch-request
Type:
Show Source
objectResponse
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 : productionSchedulingPlans-items-item-response
Type:
Show Source
object-
ApplySupplyToleranceFlag: boolean
Maximum Length:
1Contains one of the following values: Y or N. If Y, then apply supply tolerance on the inventory item. If N, then don't apply supply tolerance on the inventory item. This attribute doesn't have a default value. -
ConsumptionTime: number
Target time of consumption of the inventory item.
-
ConsumptionTimeUnit: string
Maximum Length:
30Time unit of consumption. Valid values include seconds, minutes, hours, days, shifts, weeks, and months. -
CreatedBy: string
Read Only:
trueMaximum Length:64 -
CreationDate: string
(date-time)
Read Only:
true -
Description: string
Maximum Length:
500Description of the production schedule. -
EarliestShortageConsumeDate: string
(date-time)
Value that indicates the earliest date when the item is available if a work order operation is short of supply.
-
InventoryItemId: integer
(int64)
Value that uniquely identifies the inventory item.
-
ItemCode: string
Maximum Length:
300Abbreviation that identifies the item. -
ItemType: string
Maximum Length:
30Type of item. Valid values include Manufactured, Purchased, and Both. -
LastUpdateDate: string
(date-time)
Read Only:
true -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64 -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32 -
LeadTimeDays: number
Value that indicates the lead time of the Make or Buy items.
-
LeadTimeOverrideDays: number
Value that indicates the lead time of the make or buy items. This attribute overrides the lead time value that??s inherited from the LeadTimeDays attribute.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MaximumLevel: number
Maximum level of the inventory item.
-
MinimumLevel: number
Minimum level of the inventory item.
-
onHoldLots: array
On Hold Lots
Title:
On Hold LotsThe On Hold Lots resource manages the on-hand inventory that's on hold. -
OnHoldQuantity: number
Read Only:
trueThe quantity of the lot that's on hold. -
PlanId: integer
(int64)
Value that uniquely identifies the production schedule.
-
PlanningMakeBuyValue: string
Maximum Length:
80Value that indicates whether the item is a manufactured item or a purchased item. Valid values are Make and Buy. -
Precision: integer
(int64)
Display precision of the inventory item.
-
RebuildableFlag: boolean
Maximum Length:
1Contains one of the following values: Y or N. If Y, then the item is rebuildable. If N, then the item isn't rebuildable. This attribute doesn't have a default value. -
ReceivingCalendarId: integer
(int64)
Value that uniquely identifies the receiving calendar.
-
RelaxedMaximumLevelFlag: boolean
Maximum Length:
1Contains one of the following values: Y or N. If Y, then relax the maximum value. If N, then don't relax the maximum value. This attribute doesn't have a default value. -
RelaxedMinimumLevelFlag: boolean
Maximum Length:
1Contains one of the following values: Y or N. If Y, then relax the minimum value. If N, then don't relax the minimum value. This attribute doesn't have a default value. -
SaleableFlag: boolean
Maximum Length:
1Contains one of the following values: Y or N. If Y, then the item is available for sale. If N, then the item isn't available for sale. This attribute doesn't have a default value. -
ShortageQuantity: number
The amount that the item is short for the plan.
-
StartLevel: number
Start level of on-hand inventory item.
-
TotalOnHandReservedQuantity: number
Total amount reserved to on-hand inventory.
-
UnitOfMeasure: string
Maximum Length:
25Name of the unit of measure. -
UOMCode: string
Maximum Length:
30Abbreviation that identifies the unit of measure. -
UseConsumptionTimeFlag: boolean
Maximum Length:
1Contains one of the following values: Y or N. If Y, then use consumption time. If N, then don't use consumption time. This attribute doesn't have a default value.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : On Hold Lots
Type:
arrayTitle:
On Hold LotsThe On Hold Lots resource manages the on-hand inventory that's on hold.
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.
Nested Schema : productionSchedulingPlans-items-onHoldLots-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the record. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the record. -
Description: string
Read Only:
trueMaximum Length:500Description of the on-hold lot. -
HoldDate: string
(date-time)
Read Only:
trueDate when the hold expires. -
InventoryItemId: integer
(int64)
Read Only:
trueValue that uniquely identifies the inventory item. -
ItemCode: string
Read Only:
trueMaximum Length:300Abbreviation that identifies the item. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the record. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the record. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32Login that the user used when updating the document. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotNumber: string
Read Only:
trueMaximum Length:80Number that identifies the inventory lot. -
OnHoldQuantity: number
Read Only:
trueThe quantity of the lot that's on hold. -
PlanId: integer
(int64)
Read Only:
trueValue that uniquely identifies the production schedule. -
UnitOfMeasure: string
Read Only:
trueMaximum Length:25Name of the unit of measure. -
UOMCode: string
Read Only:
trueMaximum Length:30Abbreviation that identifies the unit of measure.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- onHoldLots
-
Parameters:
- PlanId:
$request.path.PlanId - itemsUniqID:
$request.path.itemsUniqID
The On Hold Lots resource manages the on-hand inventory that's on hold. - PlanId: