Create one flow schedule
post
/fscmRestApi/resources/11.13.18.05/flowSchedules
Request
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.
-
Upsert-Mode:
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
BuildSequence: number
Sequence or order of flow schedules based on which manufacturing activity is carried out on the shop floor.
-
CancelFlag: boolean
Maximum Length:
255
Identifies whether the flow schedule is cancelled. -
FlowScheduleDFF: array
Flexfields for Flow Schedules
Title:
Flexfields for Flow Schedules
A view object for the descriptive flexfield extensions for a work order. -
InventoryItemId(required): integer
(int64)
Title:
Item
Value that uniquely identifies the item, product, or assembly in the inventory organization. It's a primary key that the application generates when it creates the item. -
ItemNumber(required): string
Maximum Length:
300
Number that identifies the item, which is the output of the flow schedule. -
OrganizationCode: string
Maximum Length:
18
Abbreviation that identifies the inventory organization that comes enabled for manufacturing. -
OrganizationId: integer
(int64)
Value that uniquely identifies the inventory organization that is enabled for manufacturing. It is a primary key of the inventory organization.
-
PlannedCompletionDate: string
(date-time)
Title:
Completion Date
Date when the flow schedule completes. -
PlannedStartQuantity(required): number
Title:
Quantity
Planned production quantity for the flow schedule. -
RedwoodFlag: boolean
Maximum Length:
255
Identifies the source of the modifications, whether UI or REST API. -
WorkDefinitionId: integer
(int64)
Title:
Work Definition
Value that uniquely identifies the work definition. -
WorkDefName: string
Maximum Length:
255
Name that uniquely identifies the work definition. -
WorkOrderNumber: string
Title:
Work Order
Maximum Length:120
Number that identifies the flow schedule. This number is unique in the manufacturing organization. The user can manually assign the number when the user creates the flow schedule, or can allow the application to create a unique number.
Nested Schema : Flexfields for Flow Schedules
Type:
array
Title:
Flexfields for Flow Schedules
A view object for the descriptive flexfield extensions for a work order.
Show Source
Nested Schema : flowSchedules-FlowScheduleDFF-item-post-request
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:80
Descriptive flexfield context name for the flow schedules. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
Context Segment -
WorkOrderId: integer
(int64)
Value that uniquely identifies the flow schedule.
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 : flowSchedules-item-response
Type:
Show Source
object
-
ActualCompletionDate: string
(date-time)
Title:
Actual Completion Date
Read Only:true
Date when the flow schedule is actually completed. -
BuildSequence: number
Sequence or order of flow schedules based on which manufacturing activity is carried out on the shop floor.
-
CanceledDate: string
(date-time)
Title:
Canceled Date
Read Only:true
Date when the flow schedule is cancelled. -
CancelFlag: boolean
Maximum Length:
255
Identifies whether the flow schedule is cancelled. -
ClosedDate: string
(date-time)
Title:
Closed Date
Read Only:true
Date when the flow schedule is closed. -
CompletedQuantity: number
Title:
Completed Quantity
Read Only:true
Flow schedule quantity that's completed into inventory at the last operation. -
CreatedBy: string
Read Only:
true
Maximum Length:64
User who created this record. -
CreationDate: string
(date-time)
Read Only:
true
Date and time when the record was created. -
CustomerName: string
Read Only:
true
Maximum Length:255
Name of the customer on the demand source document. -
FlowScheduleDFF: array
Flexfields for Flow Schedules
Title:
Flexfields for Flow Schedules
A view object for the descriptive flexfield extensions for a work order. -
InventoryItemId: integer
(int64)
Title:
Item
Value that uniquely identifies the item, product, or assembly in the inventory organization. It's a primary key that the application generates when it creates the item. -
ItemDescription: string
Title:
Item Description
Read Only:true
Maximum Length:240
Description of the item. -
ItemNumber: string
Maximum Length:
300
Number that identifies the item, which is the output of the flow schedule. -
ItemRevision: string
Title:
Revision
Read Only:true
Maximum Length:18
Name of the item revision. -
ItemStructureName: string
Title:
Name
Read Only:true
Maximum Length:80
Name of the item structure. -
LastUpdateDate: string
(date-time)
Read Only:
true
Date when the record was most recently updated. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
User who most recently updated the record. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
Login of the user who most recently updated the record. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
OrganizationCode: string
Maximum Length:
18
Abbreviation that identifies the inventory organization that comes enabled for manufacturing. -
OrganizationId: integer
(int64)
Value that uniquely identifies the inventory organization that is enabled for manufacturing. It is a primary key of the inventory organization.
-
PlannedCompletionDate: string
(date-time)
Title:
Completion Date
Date when the flow schedule completes. -
PlannedStartQuantity: number
Title:
Quantity
Planned production quantity for the flow schedule. -
ProductionLineId: integer
(int64)
Read Only:
true
Value that uniquely identifies the production line. -
ProductionLineName: string
Read Only:
true
Maximum Length:120
Name of a production line. -
RedwoodFlag: boolean
Maximum Length:
255
Identifies the source of the modifications, whether UI or REST API. -
SalesOrderNumber: string
Read Only:
true
Maximum Length:255
Sales order number against which the flow schedule is reserved. -
UOMCode: string
Title:
UOM
Read Only:true
Maximum Length:3
Abbreviation that identifies the unit of measure of the item. -
VersionNumber: string
Title:
Version
Read Only:true
Maximum Length:10
Work definition version based on which the flow schedule is created. -
WorkDefinitionAsOfDate: string
(date-time)
Title:
Date
Read Only:true
Identifies the as of date of the work definition. -
WorkDefinitionId: integer
(int64)
Title:
Work Definition
Value that uniquely identifies the work definition. -
WorkDefName: string
Maximum Length:
255
Name that uniquely identifies the work definition. -
WorkOrderId: integer
(int64)
Read Only:
true
Value that uniquely identifies the flow schedule. It is a primary key that the application generates when it creates the flow schedule. -
WorkOrderNumber: string
Title:
Work Order
Maximum Length:120
Number that identifies the flow schedule. This number is unique in the manufacturing organization. The user can manually assign the number when the user creates the flow schedule, or can allow the application to create a unique number. -
WoStatusName: string
Title:
Work Order Status
Read Only:true
Maximum Length:120
Name of the flow schedule status. -
WoSystemStatusCode: string
Title:
System Status Code
Read Only:true
Maximum Length:30
Abbreviation that identifies the system status that the application maps to the flow schedule status.
Nested Schema : Flexfields for Flow Schedules
Type:
array
Title:
Flexfields for Flow Schedules
A view object for the descriptive flexfield extensions for a work order.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : flowSchedules-FlowScheduleDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:80
Descriptive flexfield context name for the flow schedules. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
Context Segment -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
WorkOrderId: integer
(int64)
Value that uniquely identifies the flow schedule.
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.
Links
- FlowScheduleDFF
-
Parameters:
- WorkOrderId:
$request.path.WorkOrderId
A view object for the descriptive flexfield extensions for a work order. - WorkOrderId:
Examples
This example describes how to create a flow schedule.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/flowSchedules"
Example Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.
{ "WorkDefName": "FlowWDNameuRee9R", "ItemNumber": "MFGPLPROD1", "OrganizationCode": "SCMDISFM", "PlannedStartQuantity": 1, "PlannedCompletionDate": "2024-11-15T00:00:00+00:00" }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "WorkOrderId" : 300100674029117, "OrganizationId" : 300100622732103, "WorkOrderNumber" : "SCMDISFM-100015", "InventoryItemId" : 100105863980344, "PlannedStartQuantity" : 1, "UOMCode" : "Ea", "CreatedBy" : "MFG_QA", "CreationDate" : "2024-11-14T09:38:46+00:00", "LastUpdateDate" : "2024-11-14T09:38:46.612+00:00", "LastUpdateLogin" : "23E3F0C860085DF7E063715A060A74BE", "LastUpdatedBy" : "MFG_QA", "OrganizationCode" : "SCMDISFM", "ItemNumber" : "MFGPLPROD1", "ItemRevision" : "A", "ItemStructureName" : null, "WorkDefinitionAsOfDate" : "2024-11-15T00:00:00+00:00", "WorkDefinitionId" : 246041, "WoStatusName" : "Released", "PlannedCompletionDate" : "2024-11-15T00:00:00+00:00", "ClosedDate" : null, "CompletedQuantity" : null, "BuildSequence" : 10, "ProductionLineId" : 300100674029050, "ItemDescription" : "Plain Prod Push", "ProductionLineName" : null, "RedwoodFlag" : null, "WorkDefName" : "FlowWDNameuRee9R", "ActualCompletionDate" : null, "CanceledDate" : null, "WoSystemStatusCode" : "RELEASED", "CancelFlag" : null, "CustomerName" : null, "SalesOrderNumber" : null, "VersionNumber" : null, "links" : [ { "rel" : "self", "href" : "https://servername/fscmRestApi/resources/version/flowSchedules/300100674029117", "name" : "flowSchedules", "kind" : "item", "properties" : { "changeIndicator" : "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel" : "canonical", "href" : "https://servername/fscmRestApi/resources/version/flowSchedules/300100674029117", "name" : "flowSchedules", "kind" : "item" }, { "rel" : "child", "href" : "https://servername/fscmRestApi/resources/version/flowSchedules/300100674029117/child/FlowScheduleDFF", "name" : "FlowScheduleDFF", "kind" : "collection" } ] }