Update one bill of resource
patch
/fscmRestApi/resources/11.13.18.05/salesAndOperationsPlans/{PlanId}/child/BillOfResourcesV2/{DerivedBorId}
Request
Path Parameters
-
DerivedBorId(required): string
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=
-
PlanId(required): integer
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=
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-
AssemblyDescription: string
Maximum Length:
240Description of the assembly item. -
AssemblyItemId: integer
(int64)
Value that uniquely identifies the assembly item.
-
AssemblyItemLevel: string
Maximum Length:
8Data load level of the item being produced. Valid values are Item and Category. -
AssemblyItemName: string
Maximum Length:
300Name of the assembly item. -
AssemblyQuantity: number
Default Value:
0Quantity of the item being produced. -
AssemblyUOM: string
Maximum Length:
4000Planning unit of measure of the assembly item. -
BorId: integer
(int64)
Value that uniquely identifies the bill of resources.
-
CatalogId: integer
(int64)
Value that uniquely identifies the catalog.
-
CatalogName: string
Maximum Length:
30Category set or name of the catalog to which an item belongs. If Assembly Item Level is set to Category, then this value is required. -
CategoryId: integer
(int64)
Value that uniquely identifies the category.
-
CategoryName: string
Maximum Length:
250Name of the category to which an item belongs. If Assembly Item Level is set to Category, then this value is required. -
CategoryUOM: string
Maximum Length:
3Planning unit of measure of the category. -
ComponentDescription: string
Maximum Length:
240Description of the component item. -
ComponentItemId: integer
(int64)
Value that uniquely identifies the component item.
-
ComponentItemName: string
Maximum Length:
300Name of the component item. -
ComponentUsageQuantity: number
Title:
Usage QuantityDefault Value:0Quantity of the item being consumed. -
ConsumptionType: string
Maximum Length:
72Type of consumption. This attribute indicates whether an item or resource is being consumed. Valid values are Item and Resource. -
DerivedBorId: string
Maximum Length:
18Unique identifier for a row in the bill of resources when alternate resources or substitute components are present. -
EffectiveEndDate: string
(date)
Date when the component item or resource is no longer available.
-
EffectiveStartDate: string
(date)
Date when the component item or resource is available.
-
NewPlanId: integer
Default Value:
-1Most recent value that uniquely identifies the plan. -
Organization: string
Maximum Length:
4000Abbreviation that identifies the organization associated with the item. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization.
-
ResourceCode: string
Maximum Length:
40Abbreviation that identifies the resource. -
ResourceId: integer
(int64)
Value that uniquely identifies the resource.
-
ResourceUOM: string
Maximum Length:
4000Unit of measure associated with the resource. -
ResourceUsageQuantity: number
Default Value:
0Quantity of the resource being consumed. -
WorkCenterCode: string
Maximum Length:
120Abbreviation that identifies the work center. -
WorkCenterId: integer
(int64)
Value that uniquely identifies the work center.
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 : salesAndOperationsPlans-BillOfResourcesV2-item-response
Type:
Show Source
object-
AssemblyDescription: string
Maximum Length:
240Description of the assembly item. -
AssemblyItemId: integer
(int64)
Value that uniquely identifies the assembly item.
-
AssemblyItemLevel: string
Maximum Length:
8Data load level of the item being produced. Valid values are Item and Category. -
AssemblyItemName: string
Maximum Length:
300Name of the assembly item. -
AssemblyQuantity: number
Default Value:
0Quantity of the item being produced. -
AssemblyUOM: string
Maximum Length:
4000Planning unit of measure of the assembly item. -
BorId: integer
(int64)
Value that uniquely identifies the bill of resources.
-
CatalogId: integer
(int64)
Value that uniquely identifies the catalog.
-
CatalogName: string
Maximum Length:
30Category set or name of the catalog to which an item belongs. If Assembly Item Level is set to Category, then this value is required. -
CategoryId: integer
(int64)
Value that uniquely identifies the category.
-
CategoryName: string
Maximum Length:
250Name of the category to which an item belongs. If Assembly Item Level is set to Category, then this value is required. -
CategoryUOM: string
Maximum Length:
3Planning unit of measure of the category. -
ComponentDescription: string
Maximum Length:
240Description of the component item. -
ComponentItemId: integer
(int64)
Value that uniquely identifies the component item.
-
ComponentItemName: string
Maximum Length:
300Name of the component item. -
ComponentUOM: string
Read Only:
trueMaximum Length:4000Planning unit of measure of the component item. -
ComponentUsageQuantity: number
Title:
Usage QuantityDefault Value:0Quantity of the item being consumed. -
ConsumptionType: string
Maximum Length:
72Type of consumption. This attribute indicates whether an item or resource is being consumed. Valid values are Item and Resource. -
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the bill of resources. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the bill of resources. -
DerivedBorId: string
Maximum Length:
18Unique identifier for a row in the bill of resources when alternate resources or substitute components are present. -
EffectiveEndDate: string
(date)
Date when the component item or resource is no longer available.
-
EffectiveStartDate: string
(date)
Date when the component item or resource is available.
-
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the bill of resources. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the bill of resources. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
NewPlanId: integer
Default Value:
-1Most recent value that uniquely identifies the plan. -
Organization: string
Maximum Length:
4000Abbreviation that identifies the organization associated with the item. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization.
-
OrganizationName: string
Read Only:
trueMaximum Length:240Name of the organization for the assembly item. -
ResourceCode: string
Maximum Length:
40Abbreviation that identifies the resource. -
ResourceId: integer
(int64)
Value that uniquely identifies the resource.
-
ResourceUOM: string
Maximum Length:
4000Unit of measure associated with the resource. -
ResourceUsageQuantity: number
Default Value:
0Quantity of the resource being consumed. -
WorkCenterCode: string
Maximum Length:
120Abbreviation that identifies the work center. -
WorkCenterId: integer
(int64)
Value that uniquely identifies the work center.
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.