Update a substitute component
patch
/fscmRestApi/resources/11.13.18.05/itemStructures/{BillSequenceId}/child/Component/{ComponentSequenceId}/child/SubstituteComponent/{SubstituteComponentSequenceId}
Request
Path Parameters
-
BillSequenceId(required): integer
Value that uniquely identifies the structure. This attribute is read-only, which can be modified only if the resource is already modified.
-
ComponentSequenceId(required): number
Value that uniquely identifies the component in a structure. This attribute is read-only and is not required for an update operation.
-
SubstituteComponentSequenceId(required): integer(int64)
Value that uniquely identifies the substitute component in a structure. This attribute is read-only and is not required for an update operation.
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-
ACDType: integer
Title:
Change ActionDefault Value:1Value that indicates if the substitute component is being added, modified, or deleted through a change line. -
ACDTypeValue: string
Maximum Length:
255Value that indicates if the substitute component is being added, modified, or deleted through a change line. -
ChangeNotice: string
Title:
Change NoticeMaximum Length:10Change order notice to which the service operation added all the structure component changes. This attribute is used when Needs Approval rule is run. -
EnforceIntegerRequirementsValue: string
Maximum Length:
255Generates the demand with quantity specified in integers. Used in supply chain planning. The values include Round Up, Round Down, or None. -
PrimaryUOMValue: string
Maximum Length:
255Primary unit of measure specified for the substitute component. -
Priority: integer
Priority specified for the substitute component.
-
Quantity: number
Title:
QuantityQuantity of the substitute component. -
SubstituteComponentDFF: array
Flexfields for Substitute Components
Title:
Flexfields for Substitute ComponentsThe Flexfields for Substitute Components resource gets the descriptive flexfields associated with the substitute component. -
SubstituteComponentId: integer
Value that uniquely identifies the item associated as the substitute component.
Nested Schema : Flexfields for Substitute Components
Type:
arrayTitle:
Flexfields for Substitute ComponentsThe Flexfields for Substitute Components resource gets the descriptive flexfields associated with the substitute component.
Show Source
Nested Schema : itemStructures-Component-SubstituteComponent-SubstituteComponentDFF-item-patch-request
Type:
Show Source
object-
__FLEX_Context: string
Title:
ContextMaximum Length:30Descriptive flexfield context that references the substitute component. -
__FLEX_Context_DisplayValue: string
Title:
ContextContext
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 : itemStructures-Component-SubstituteComponent-item-response
Type:
Show Source
object-
ACDType: integer
Title:
Change ActionDefault Value:1Value that indicates if the substitute component is being added, modified, or deleted through a change line. -
ACDTypeValue: string
Maximum Length:
255Value that indicates if the substitute component is being added, modified, or deleted through a change line. -
ChangeNotice: string
Title:
Change NoticeMaximum Length:10Change order notice to which the service operation added all the structure component changes. This attribute is used when Needs Approval rule is run. -
CreationDateTime: string
(date-time)
Read Only:
trueDate and time when the structure was last created. -
EnforceIntegerRequirementsValue: string
Maximum Length:
255Generates the demand with quantity specified in integers. Used in supply chain planning. The values include Round Up, Round Down, or None. -
LastUpdateDateTime: string
(date-time)
Read Only:
trueDate and time when the structure was most recently updated. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PrimaryUOMValue: string
Maximum Length:
255Primary unit of measure specified for the substitute component. -
Priority: integer
Priority specified for the substitute component.
-
Quantity: number
Title:
QuantityQuantity of the substitute component. -
SubstituteComponentDFF: array
Flexfields for Substitute Components
Title:
Flexfields for Substitute ComponentsThe Flexfields for Substitute Components resource gets the descriptive flexfields associated with the substitute component. -
SubstituteComponentId: integer
Value that uniquely identifies the item associated as the substitute component.
-
SubstituteComponentItemNumber: string
Maximum Length:
255Item number of the substitute component. -
SubstituteComponentSequenceId: integer
(int64)
Value that uniquely identifies the substitute component in a structure. This attribute is read-only and is not required for an update operation.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Flexfields for Substitute Components
Type:
arrayTitle:
Flexfields for Substitute ComponentsThe Flexfields for Substitute Components resource gets the descriptive flexfields associated with the substitute component.
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 : itemStructures-Component-SubstituteComponent-SubstituteComponentDFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
ContextMaximum Length:30Descriptive flexfield context that references the substitute component. -
__FLEX_Context_DisplayValue: string
Title:
ContextContext -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
SubCompSequenceId: integer
(int64)
Value that uniquely identifies the substitute component in a structure. This attribute is read-only and is not required for an update operation.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- SubstituteComponentDFF
-
Parameters:
- BillSequenceId:
$request.path.BillSequenceId - ComponentSequenceId:
$request.path.ComponentSequenceId - SubstituteComponentSequenceId:
$request.path.SubstituteComponentSequenceId
The Flexfields for Substitute Components resource gets the descriptive flexfields associated with the substitute component. - BillSequenceId: