Update one manufacturing campaign
patch
/fscmRestApi/resources/11.13.18.05/manufacturingCampaigns/{CampaignId}
Request
Path Parameters
-
CampaignId(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-
attributeValues: array
Attribute Values
Title:
Attribute ValuesAttribute values represent manufacturing campaign attribute values. For example, an attribute value can identify a scheduling attribute for a manufacturing campaign. -
CampaignBasis: string
Maximum Length:
30Identifies whether the campaign size is based on quantity or resource usage. -
CampaignId: integer
(int64)
Value that uniquely identifies the campaign.
-
CampaignName(required): string
Maximum Length:
300Name of the campaign. -
CampaignSequenceNumber(required): number
Sequence number of the campaign that determines where the campaign is scheduled relative to other campaigns.
-
Description: string
Maximum Length:
500Long description of the campaign. -
DurationHours(required): number
The number of hours the campaign is projected to use on the campaign resource.
-
EarliestStartDate: string
(date-time)
The earliest start date of the campaign.
-
EndDate: string
(date-time)
Date when the campaign is completed.
-
LastWorkOrderEndDate: string
(date-time)
The completion date of the last work order in the campaign.
-
OrganizationId(required): integer
(int64)
Value that uniquely identifies the campaign organization.
-
PlannedQuantity(required): number
The planned quantity of the campaign based on the estimated run rate.
-
ResourceId(required): integer
(int64)
Value that uniquely identifies the campaign resource.
-
RunRateHours(required): number
The hours that the run rate calculation is based on.
-
RunRateUnits(required): number
The number of units that the run rate is based on.
-
StartDate: string
(date-time)
Date when the campaign is started.
-
summaries: array
Summaries
Title:
SummariesManufacturing campaign summaries provide summary information for manufacturing campaigns. For example, a summary can include assigned, completed, or unassigned quantities. -
WorkCenterId(required): integer
(int64)
Value that uniquely identifies the work center. It's a primary key of the work center.
-
workOrders: array
Work Orders
Title:
Work OrdersWork orders represent work orders for manufacturing campaigns. For example, a work order can include quantity, item, operation, and resource usage information.
Nested Schema : Attribute Values
Type:
arrayTitle:
Attribute ValuesAttribute values represent manufacturing campaign attribute values. For example, an attribute value can identify a scheduling attribute for a manufacturing campaign.
Show Source
Nested Schema : Summaries
Type:
arrayTitle:
SummariesManufacturing campaign summaries provide summary information for manufacturing campaigns. For example, a summary can include assigned, completed, or unassigned quantities.
Show Source
Nested Schema : Work Orders
Type:
arrayTitle:
Work OrdersWork orders represent work orders for manufacturing campaigns. For example, a work order can include quantity, item, operation, and resource usage information.
Show Source
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 : manufacturingCampaigns-item-response
Type:
Show Source
object-
attributeValues: array
Attribute Values
Title:
Attribute ValuesAttribute values represent manufacturing campaign attribute values. For example, an attribute value can identify a scheduling attribute for a manufacturing campaign. -
CampaignBasis: string
Maximum Length:
30Identifies whether the campaign size is based on quantity or resource usage. -
CampaignId: integer
(int64)
Value that uniquely identifies the campaign.
-
CampaignName: string
Maximum Length:
300Name of the campaign. -
CampaignSequenceNumber: number
Sequence number of the campaign that determines where the campaign is scheduled relative to other campaigns.
-
Color: string
Read Only:
trueMaximum Length:10Color which is used for identifying the campaign. The value is specified in HTML hex color code. -
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
Maximum Length:
500Long description of the campaign. -
DurationHours: number
The number of hours the campaign is projected to use on the campaign resource.
-
EarliestStartDate: string
(date-time)
The earliest start date of the campaign.
-
EndDate: string
(date-time)
Date when the campaign is completed.
-
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. -
LastWorkOrderEndDate: string
(date-time)
The completion date of the last work order in the campaign.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
OrganizationId: integer
(int64)
Value that uniquely identifies the campaign organization.
-
PlannedQuantity: number
The planned quantity of the campaign based on the estimated run rate.
-
ResourceCode: string
Read Only:
trueMaximum Length:300Abbreviation that identifies the campaign resource. -
ResourceId: integer
(int64)
Value that uniquely identifies the campaign resource.
-
ResourceName: string
Read Only:
trueMaximum Length:120Name of the campaign resource. -
RunRateHours: number
The hours that the run rate calculation is based on.
-
RunRateUnits: number
The number of units that the run rate is based on.
-
StartDate: string
(date-time)
Date when the campaign is started.
-
Status: string
Read Only:
trueMaximum Length:40Default Value:OpenThe status of the campaign. The campaign status can be open, canceled, or completed. -
summaries: array
Summaries
Title:
SummariesManufacturing campaign summaries provide summary information for manufacturing campaigns. For example, a summary can include assigned, completed, or unassigned quantities. -
WorkCenterCode: string
Read Only:
trueMaximum Length:100Abbreviation that identifies the work center. -
WorkCenterId: integer
(int64)
Value that uniquely identifies the work center. It's a primary key of the work center.
-
WorkCenterName: string
Read Only:
trueMaximum Length:120Name of the work center that's associated with the resource. -
workOrders: array
Work Orders
Title:
Work OrdersWork orders represent work orders for manufacturing campaigns. For example, a work order can include quantity, item, operation, and resource usage information.
Nested Schema : Attribute Values
Type:
arrayTitle:
Attribute ValuesAttribute values represent manufacturing campaign attribute values. For example, an attribute value can identify a scheduling attribute for a manufacturing campaign.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Summaries
Type:
arrayTitle:
SummariesManufacturing campaign summaries provide summary information for manufacturing campaigns. For example, a summary can include assigned, completed, or unassigned quantities.
Show Source
Nested Schema : Work Orders
Type:
arrayTitle:
Work OrdersWork orders represent work orders for manufacturing campaigns. For example, a work order can include quantity, item, operation, and resource usage information.
Show Source
Nested Schema : manufacturingCampaigns-attributeValues-item-response
Type:
Show Source
object-
AttributeCode: string
Read Only:
trueMaximum Length:300Abbreviation that identifies the attribute that's enabled for scheduling. -
AttributeId: integer
(int64)
Read Only:
trueValue that uniquely identifies the demand priority rule attribute. -
AttributeValueCode: string
Read Only:
trueMaximum Length:300Abbreviation that indicates the code of the attribute value. -
AttributeValueId: integer
(int64)
Read Only:
trueIdentifier of the attribute value used in a supply allocation rule for backlog management and global order promising. -
CampaignId: integer
Read Only:
trueUnique identifier of the campaign. -
DescriptiveFlexfieldCode: string
Read Only:
trueMaximum Length:40Abbreviation that identifies the descriptive flexfield of the manufacturing attribute group. -
FlexfieldContextCode: string
Read Only:
trueMaximum Length:80Abbreviation that identifies the flexfield context code used in Oracle Manufacturing Cloud for scheduling attributes of the organization. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
OrganizationId: integer
(int64)
Read Only:
trueValue that uniquely identifies an organization within a BOSS business object. For example, the name of a field on the Redwood page for the supply network model. -
SegmentCode: string
Read Only:
trueMaximum Length:30Abbreviation that identifies the segment used in Oracle Manufacturing Cloud for scheduling attributes of the organization.
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.
Nested Schema : manufacturingCampaigns-summaries-item-response
Type:
Show Source
object-
AssignedQuantity: number
Read Only:
trueAssigned quantity for the manufacturing campaign summary. -
CampaignId: integer
(int64)
Read Only:
trueUnique identifier of the manufacturing campaign summary. -
CompletedQuantity: number
Read Only:
trueQuantity of the work order that's already completed. -
ElapsedDurationHours: number
Read Only:
trueElapsed duration of the manufacturing campaign summary in hours. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
RunRatePerHour: number
Read Only:
trueRun rate per hour for the manufacturing campaign. -
UnassignedQuantity: number
Read Only:
trueQuantity that isn't assigned to a manufacturing campaign.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : manufacturingCampaigns-workOrders-item-response
Type:
Show Source
object-
AssignedToCampaignFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the work order is assigned to the campaign. Contains one of these values: true or false. If true, then the work order is assigned to the campaign. If false, then the work order isn't assigned to the campaign. This attribute doesn't have a default value. -
CampaignId: integer
Read Only:
trueUnique identifier of the campaign. -
CampaignWorkOrderSequenceNumber: number
Read Only:
trueSequence number of the work order in the manufacturing campaign. -
InventoryItemId: integer
(int64)
Read Only:
trueUnique item identifier. -
ItemNumber: string
Read Only:
trueMaximum Length:300Item number of the work order. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
NettablePlannedQuantity: number
Read Only:
truePlanned start quantity of the work order, after taking into account the cumulative yield factor. -
OperationCompletedQuantity: number
Read Only:
trueCompleted quantity for the operation. -
OperationCompletedQuantityInCampaignUOM: number
Read Only:
trueCompleted quantity for the operation in the campaign unit of measure. -
OperationRemainingQuantity: number
Read Only:
trueRemaining quantity for the operation. -
OperationRemainingQuantityInCampaignUOM: number
Read Only:
trueRemaining quantity for the operation in the campaign unit of measure. -
OperationResourceRequiredUsage: number
Read Only:
trueRequired usage of the operation resource. -
OperationResourceRequiredUsageUnitOfMeasure: string
Read Only:
trueMaximum Length:25Unit of measure for the required usage of the operation resource. -
OperationResourceRequiredUsageUOMCode: string
Read Only:
trueMaximum Length:3Unit of measure code that identifies the required usage for the operation resource. -
OperationScrappedQuantity: number
Read Only:
trueQuantity scrapped during the operation. -
OperationScrappedQuantityInCampaignUOM: number
Read Only:
trueQuantity scrapped during the operation in the campaign unit of measure. -
PlannedStartQuantity: number
Read Only:
trueQuantity of planned work order which should be greater than zero for standard work orders, and can be equal to or greater than zero for nonstandard work orders. -
PrimaryProductQuantity: number
Read Only:
trueQuantity planned to be produced for the work order. -
RequestedDate: string
(date-time)
Read Only:
trueDate by which the material is requested to be available. Depending on the order date type, this represents the requested ship date or requested arrival date. -
UnitOfMeasure: string
Read Only:
trueMaximum Length:25Name of the UOM. -
UOMCode: string
Read Only:
trueMaximum Length:3Code for the UOM. -
WorkMethodCode: string
Read Only:
trueMaximum Length:30Abbreviation that identifies the user key to the work method. -
WorkOrderId: integer
(int64)
Read Only:
trueValue that uniquely identifies the work order. It's a primary key of the work order. -
WorkOrderNumber: string
Read Only:
trueMaximum Length:120Number that uniquely identifies the work order. -
WorkOrderStatus: string
Read Only:
trueMaximum Length:30Value the indicates the status of the work order. -
WorkOrderStatusName: string
Read Only:
trueMaximum Length:120The work order status. -
WorkOrderSystemStatusCode: string
Read Only:
trueMaximum Length:30Abbreviation that indicates the status of the work order. The status of the work order is primarily used in work order execution.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- assignWorkOrderSequenceNumbers
-
Parameters:
- CampaignId:
$request.path.CampaignId
Assigns work order sequence numbers for work orders in a campaign. - CampaignId:
- assignWorkOrders
-
Operation: /fscmRestApi/resources/11.13.18.05/manufacturingCampaigns/{CampaignId}/action/assignWorkOrdersParameters:
- CampaignId:
$request.path.CampaignId
Assigns work orders to the manufacturing campaign. - CampaignId:
- attributeValues
-
Operation: /fscmRestApi/resources/11.13.18.05/manufacturingCampaigns/{CampaignId}/child/attributeValuesParameters:
- CampaignId:
$request.path.CampaignId
Attribute values represent manufacturing campaign attribute values. For example, an attribute value can identify a scheduling attribute for a manufacturing campaign. - CampaignId:
- closeCampaign
-
Operation: /fscmRestApi/resources/11.13.18.05/manufacturingCampaigns/{CampaignId}/action/closeCampaignParameters:
- CampaignId:
$request.path.CampaignId
Closes a campaign and sets the status to Completed. - CampaignId:
- saveAttributeValueSet
-
Operation: /fscmRestApi/resources/11.13.18.05/manufacturingCampaigns/{CampaignId}/action/saveAttributeValueSetParameters:
- CampaignId:
$request.path.CampaignId
Creates one manufacturing campaign. - CampaignId:
- summaries
-
Parameters:
- CampaignId:
$request.path.CampaignId
Manufacturing campaign summaries provide summary information for manufacturing campaigns. For example, a summary can include assigned, completed, or unassigned quantities. - CampaignId:
- synchronizeWorkOrders
-
Operation: /fscmRestApi/resources/11.13.18.05/manufacturingCampaigns/{CampaignId}/action/synchronizeWorkOrdersParameters:
- CampaignId:
$request.path.CampaignId
Requests synchronizing work orders based on matching campaign attributes and attribute values. - CampaignId:
- unassignWorkOrders
-
Operation: /fscmRestApi/resources/11.13.18.05/manufacturingCampaigns/{CampaignId}/action/unassignWorkOrdersParameters:
- CampaignId:
$request.path.CampaignId
Unassigns work orders from the manufacturing campaign. - CampaignId:
- workOrders
-
Parameters:
- CampaignId:
$request.path.CampaignId
Work orders represent work orders for manufacturing campaigns. For example, a work order can include quantity, item, operation, and resource usage information. - CampaignId: