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:
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
ACDType: integer
Title:
Change Action
Default Value:1
Value that indicates if the substitute component is being added, modified, or deleted through a change line. -
ACDTypeValue: string
Maximum Length:
255
Value that indicates if the substitute component is being added, modified, or deleted through a change line. -
ChangeNotice: string
Title:
Change Notice
Maximum Length:10
Change 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:
255
Generates 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:
255
Primary unit of measure specified for the substitute component. -
Priority: integer
Priority specified for the substitute component.
-
Quantity: number
Title:
Quantity
Quantity of the substitute component. -
SubstituteComponentDFF: array
Flexfields for Substitute Components
Title:
Flexfields for Substitute Components
The 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:
array
Title:
Flexfields for Substitute Components
The Flexfields for Substitute Components resource gets the descriptive flexfields associated with the substitute component.
Show Source
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context
Maximum Length:30
Descriptive flexfield context that references the substitute component. -
__FLEX_Context_DisplayValue: string
Title:
Context
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context(required):
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(required):
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 Action
Default Value:1
Value that indicates if the substitute component is being added, modified, or deleted through a change line. -
ACDTypeValue: string
Maximum Length:
255
Value that indicates if the substitute component is being added, modified, or deleted through a change line. -
ChangeNotice: string
Title:
Change Notice
Maximum Length:10
Change 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:
true
Date and time when the structure was last created. -
EnforceIntegerRequirementsValue: string
Maximum Length:
255
Generates 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:
true
Date and time when the structure was most recently updated. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
PrimaryUOMValue: string
Maximum Length:
255
Primary unit of measure specified for the substitute component. -
Priority: integer
Priority specified for the substitute component.
-
Quantity: number
Title:
Quantity
Quantity of the substitute component. -
SubstituteComponentDFF: array
Flexfields for Substitute Components
Title:
Flexfields for Substitute Components
The 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:
255
Item 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:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Flexfields for Substitute Components
Type:
array
Title:
Flexfields for Substitute Components
The 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 reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed 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:
Context
Maximum Length:30
Descriptive flexfield context that references the substitute component. -
__FLEX_Context_DisplayValue: string
Title:
Context
-
links: array
Links
Title:
Links
The 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:
array
Title:
Links
The 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: