Update a parts list component
patch
/fscmRestApi/resources/11.13.18.05/installedBaseAssets/{AssetId}/child/partsListComponents/{ListComponentId}
Request
Path Parameters
-
AssetId(required): integer(int64)
Value that uniquely identifies the asset. The application generates this value when it creates the asset. This attribute is read-only.
-
ListComponentId(required): integer(int64)
Value that uniquely identifies the parts list item that the asset references.
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
-
ComponentQuantity: number
Title:
Quantity
Quantity of each part list component for the asset. -
ItemId: integer
(int64)
Value that uniquely identifies the item that is part of the part list for the asset. Asset item cannot be part of the part list for the same asset.
-
ItemNumber: string
Maximum Length:
255
Number that uniquely identifies the item that is part of the part list for the asset. An asset item cannot be part of the part list for the same asset. -
ListComponentId: integer
(int64)
Value that uniquely identifies the parts list item that the asset references.
-
SecondaryQuantity: number
Title:
Secondary Quantity
Secondary quantity of product that the asset references. If item is not defined as dual UOM item or if conversion for the secondary UOM is set to fix, this quantity is not required. If dual UOM conversion is set to default, this quantity will override the defaulted quantity. If conversion is no default, this quantity is required. Secondary UOM is defaulted from setup. -
SecondaryUOMCode: string
Title:
Secondary UOM
Maximum Length:3
Abbreviation that identifies the asset secondary quantity unit of measure. The secondary unit of measure is not required to create an asset. If provided it must be the same than the asset item secondary unit of measure. If not provided the value is defaulted from the asset item secondary unit of measure.
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 : installedBaseAssets-partsListComponents-item-response
Type:
Show Source
object
-
AssetId: integer
Read Only:
true
Value that uniquely identifies the asset for each component. You can create only one relationship between each value that is specified by ListComponentId and AssetId. -
ComponentQuantity: number
Title:
Quantity
Quantity of each part list component for the asset. -
ItemId: integer
(int64)
Value that uniquely identifies the item that is part of the part list for the asset. Asset item cannot be part of the part list for the same asset.
-
ItemNumber: string
Maximum Length:
255
Number that uniquely identifies the item that is part of the part list for the asset. An asset item cannot be part of the part list for the same asset. -
ItemOrganizationId: integer
(int64)
Value that uniquely identifies the organization to which the part list item is assigned to. This is a required attribute.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ListComponentId: integer
(int64)
Value that uniquely identifies the parts list item that the asset references.
-
SecondaryQuantity: number
Title:
Secondary Quantity
Secondary quantity of product that the asset references. If item is not defined as dual UOM item or if conversion for the secondary UOM is set to fix, this quantity is not required. If dual UOM conversion is set to default, this quantity will override the defaulted quantity. If conversion is no default, this quantity is required. Secondary UOM is defaulted from setup. -
SecondaryUOMCode: string
Title:
Secondary UOM
Maximum Length:3
Abbreviation that identifies the asset secondary quantity unit of measure. The secondary unit of measure is not required to create an asset. If provided it must be the same than the asset item secondary unit of measure. If not provided the value is defaulted from the asset item secondary unit of measure.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
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.