Create resources

post

/fscmRestApi/resources/11.13.18.05/workOrders/{WorkOrderId}/child/WorkOrderOperation/{WorkOrderOperationId}/child/WorkOrderOperationResource

Request

Path Parameters
  • Value that uniquely identifies the work order. It is a primary key that the application generates when it creates the work order.
  • 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
  • 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".
  • 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.
  • 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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: Assigned Units
    Default Value: 1
    Number of resource units required to perform the operation.
  • Title: Basis
    Maximum Length: 30
    Default Value: 1
    Indicates whether the resource quantity is fixed (for example, usage per lot produced) or variable (for example, usage per item produced). A list of accepted values is defined in the lookup type EGP_BOM_BASIS_TYPE.
  • Title: Charge Type
    Maximum Length: 30
    Indicates whether resource transactions are automatically generated and at what stage. A list of accepted values is defined in the lookup type ORA_WIS_CHARGE_TYPE.
  • Maximum Length: 255
    Abbreviation that identifies the equipment profile associated with the work order operation resource. This attribute is associated with a feature that requires opt in.
  • Title: Equipment Profile
    Value that uniquely identifies the equipment profile associated with the work order operation resource. This attribute is associated with a feature that requires opt in.
  • Title: Inverse
    Inverse of the usage rate. The application uses this inverse when the resource usage rate is a fraction, but the inverse of this rate is an integer.
  • Title: Completion Date
    Planned date and time till the resource is engaged for the operation. The scheduling application sets this date. The planned completion date must not occur before the operation start date or after the operation finish date. This attribute is required.
  • Title: Start Date
    Planned date and time to engage the resource for the operation. The scheduling application sets this date. The planned start date must not occur before the operation start date or after the operation finish date. This attribute is required.
  • Title: Principal
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then this resource is the principal resource among the group of simultaneous resources for that operation sequence. If false, then this resource isn't the principal resource. This attribute doesn't have a default value.
  • Maximum Length: 255
    Abbreviation that identifies the job profile associated with the work order operation resource. This attribute is associated with a feature that requires opt in.
  • Value that uniquely identifies the job profile associated with the work order operation resource. This attribute is associated with a feature that requires opt in.
  • Title: Required Usage
    Resource usage that the plant requires to make the work order quantity. The application calculates this value depending on whether the basis type is fixed or variable. Fixed: the required usage equals the usage rate. Variable: the required usage equals the usage rate multiplied by the work order quantity.
  • Title: Activity
    Maximum Length: 30
    Abbreviation that identifies the resource activity.
  • Title: Code
    Maximum Length: 30
    Abbreviation that identifies the resource.
  • Value that uniquely identifies the resource. It is a primary key that the application generates when it creates the resource.
  • Title: Sequence
    Number that the application uses to determine the step in the sequence it must use to make sure resources work together correctly to finish the operation. If multiple resource lines include the same resource sequence number, then the application schedules them to occur at the same time.
  • Title: Scheduled
    Maximum Length: 30
    Contains one of the following values: Yes or No. If Yes, then scheduling schedules the resource and computes the start date and completion dates. If No, then scheduling doesn't schedule the resource, and it sets start date equal to the completion date. The default value is Yes.
  • Title: Usage Rate
    The predefined resource rate that's required to perform operation/activity for one unit of the assembly. For example, the number of hours it take to spray paint one pedestal.
  • Value that uniquely identifies the work center. It is a primary key that the application generates when it creates the work center.
  • Value that uniquely identifies the work order operation. It is a primary key that the application generates when it creates the work order operation.
  • Attachments for Resources
    Title: Attachments for Resources
    The Attachments for Resources resource manages details about the documents that the user attached to the resources that the work order operations use.
  • Flexfields for Resources
    Title: Flexfields for Resources
    The Flexfields for Resources resource manages descriptive flexfields that contain details about the resources that the work order operations use.
  • Work Order Operation Resource Instances
    Title: Work Order Operation Resource Instances
    The Work Order Operation Resource Instances resource manages the instances of a work order operation. Each instance supports an equipment resource or labor resource.
  • Exceptions for Operation Resources
    Title: Exceptions for Operation Resources
    The Exceptions for Operation Resources resource gets the count of exceptions that occurred during the operation.
Nested Schema : Attachments for Resources
Type: array
Title: Attachments for Resources
The Attachments for Resources resource manages details about the documents that the user attached to the resources that the work order operations use.
Show Source
Nested Schema : Flexfields for Resources
Type: array
Title: Flexfields for Resources
The Flexfields for Resources resource manages descriptive flexfields that contain details about the resources that the work order operations use.
Show Source
Nested Schema : Work Order Operation Resource Instances
Type: array
Title: Work Order Operation Resource Instances
The Work Order Operation Resource Instances resource manages the instances of a work order operation. Each instance supports an equipment resource or labor resource.
Show Source
Nested Schema : Exceptions for Operation Resources
Type: array
Title: Exceptions for Operation Resources
The Exceptions for Operation Resources resource gets the count of exceptions that occurred during the operation.
Show Source
Nested Schema : workOrders-WorkOrderOperation-WorkOrderOperationResource-WorkOrderOperationResourceAttachment-item-post-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : Flexfields for Work Order Operation Resource Instance
Type: array
Title: Flexfields for Work Order Operation Resource Instance
The Flexfields for Work Order Operation Resource Instance resource manages descriptive flexfields that contain details about the resource instance.
Show Source
Nested Schema : schema
Type: object
Show Source
  • Title: Context Segment
    Maximum Length: 80
    Descriptive flexfield context name for work order operation resource instances.
  • Title: Context Segment
    Descriptive flexfield context display value for work order operation resource instances.
  • Value that uniquely identifies the work order operation resource instance. It is a primary key that the application generates when it creates the work order operation resource instance.
Nested Schema : workOrders-WorkOrderOperation-WorkOrderOperationResource-WorkOrderResourceExceptionCount-item-post-request
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : workOrders-WorkOrderOperation-WorkOrderOperationResource-item-response
Type: object
Show Source
  • Title: Actual Resource Usage
    Read Only: true
    Net actual usage of the assigned resource.
  • Title: Assigned Units
    Default Value: 1
    Number of resource units required to perform the operation.
  • Title: Basis
    Maximum Length: 30
    Default Value: 1
    Indicates whether the resource quantity is fixed (for example, usage per lot produced) or variable (for example, usage per item produced). A list of accepted values is defined in the lookup type EGP_BOM_BASIS_TYPE.
  • Title: Charge Type
    Maximum Length: 30
    Indicates whether resource transactions are automatically generated and at what stage. A list of accepted values is defined in the lookup type ORA_WIS_CHARGE_TYPE.
  • Read Only: true
    Maximum Length: 64
    User who created the operation resource.
  • Read Only: true
    Date when the user created the operation resource.
  • Maximum Length: 255
    Abbreviation that identifies the equipment profile associated with the work order operation resource. This attribute is associated with a feature that requires opt in.
  • Title: Equipment Profile
    Value that uniquely identifies the equipment profile associated with the work order operation resource. This attribute is associated with a feature that requires opt in.
  • Title: Inverse
    Inverse of the usage rate. The application uses this inverse when the resource usage rate is a fraction, but the inverse of this rate is an integer.
  • Read Only: true
    Date and time when the user most recently updated the work order operation resource.
  • Read Only: true
    Maximum Length: 64
    Login of the user who most recently updated the work order operation resource.
  • Links
  • Title: Name
    Read Only: true
    Maximum Length: 120
    Name of the operation that processes the resource.
  • Title: Operation Sequence
    Read Only: true
    Sequence to use when performing the work order operations.
  • Read Only: true
    Value that uniquely identifies the inventory organization that's enabled for manufacturing. It is a primary key of the inventory organization.
  • Read Only: true
    Maximum Length: 1
    Default Value: false
    Contains one of the following values: true or false. If true, then the resource associated with this operation was pulled in as part of a phantom explosion that pulled in the resources from the work definition of a phantom material tied to the operation. If false, then the resource isn't a part of phantom explosion. The default value is false.
  • Title: Completion Date
    Planned date and time till the resource is engaged for the operation. The scheduling application sets this date. The planned completion date must not occur before the operation start date or after the operation finish date. This attribute is required.
  • Title: Start Date
    Planned date and time to engage the resource for the operation. The scheduling application sets this date. The planned start date must not occur before the operation start date or after the operation finish date. This attribute is required.
  • Title: Principal
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then this resource is the principal resource among the group of simultaneous resources for that operation sequence. If false, then this resource isn't the principal resource. This attribute doesn't have a default value.
  • Maximum Length: 255
    Abbreviation that identifies the job profile associated with the work order operation resource. This attribute is associated with a feature that requires opt in.
  • Value that uniquely identifies the job profile associated with the work order operation resource. This attribute is associated with a feature that requires opt in.
  • Title: Required Usage
    Resource usage that the plant requires to make the work order quantity. The application calculates this value depending on whether the basis type is fixed or variable. Fixed: the required usage equals the usage rate. Variable: the required usage equals the usage rate multiplied by the work order quantity.
  • Title: Activity
    Maximum Length: 30
    Abbreviation that identifies the resource activity.
  • Title: Code
    Maximum Length: 30
    Abbreviation that identifies the resource.
  • Title: Description
    Read Only: true
    Maximum Length: 240
    Description of the resource.
  • Value that uniquely identifies the resource. It is a primary key that the application generates when it creates the resource.
  • Title: Name
    Read Only: true
    Maximum Length: 80
    Name of the resource.
  • Title: Sequence
    Number that the application uses to determine the step in the sequence it must use to make sure resources work together correctly to finish the operation. If multiple resource lines include the same resource sequence number, then the application schedules them to occur at the same time.
  • Title: Type
    Read Only: true
    Maximum Length: 30
    Type of the resource. Values include Labor or Equipment.
  • Title: Scheduled
    Maximum Length: 30
    Contains one of the following values: Yes or No. If Yes, then scheduling schedules the resource and computes the start date and completion dates. If No, then scheduling doesn't schedule the resource, and it sets start date equal to the completion date. The default value is Yes.
  • Title: Code
    Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the standard operation.
  • Read Only: true
    Value that uniquely identifies the standard operation that the work order references. It is a primary key that the application generates when it creates the standard operation.
  • Title: UOM Name
    Read Only: true
    Maximum Length: 25
    Unit of measure that the resource uses.
  • Read Only: true
    Maximum Length: 3
    Abbreviation that identifies the unit of measure that the resource uses.
  • Title: Usage Rate
    The predefined resource rate that's required to perform operation/activity for one unit of the assembly. For example, the number of hours it take to spray paint one pedestal.
  • Title: Code
    Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the work area.
  • Title: Description
    Read Only: true
    Maximum Length: 240
    Description of the work area.
  • Read Only: true
    Value that uniquely identifies the work area. It is a primary key that the application generates when it creates the work area.
  • Title: Name
    Read Only: true
    Maximum Length: 80
    Name of the work area.
  • Title: Code
    Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the work center.
  • Title: Description
    Read Only: true
    Maximum Length: 240
    Description of the work center.
  • Value that uniquely identifies the work center. It is a primary key that the application generates when it creates the work center.
  • Title: Name
    Read Only: true
    Maximum Length: 120
    Name of the work center.
  • Read Only: true
    Value that uniquely identifies the work order. It is a primary key that the application generates when it creates the work order.
  • Value that uniquely identifies the work order operation. It is a primary key that the application generates when it creates the work order operation.
  • Attachments for Resources
    Title: Attachments for Resources
    The Attachments for Resources resource manages details about the documents that the user attached to the resources that the work order operations use.
  • Flexfields for Resources
    Title: Flexfields for Resources
    The Flexfields for Resources resource manages descriptive flexfields that contain details about the resources that the work order operations use.
  • Read Only: true
    Value that uniquely identifies the resource for the work order operation. It is a primary key that the application generates when it creates the resource for the work order operation.
  • Work Order Operation Resource Instances
    Title: Work Order Operation Resource Instances
    The Work Order Operation Resource Instances resource manages the instances of a work order operation. Each instance supports an equipment resource or labor resource.
  • Exceptions for Operation Resources
    Title: Exceptions for Operation Resources
    The Exceptions for Operation Resources resource gets the count of exceptions that occurred during the operation.
Nested Schema : Attachments for Resources
Type: array
Title: Attachments for Resources
The Attachments for Resources resource manages details about the documents that the user attached to the resources that the work order operations use.
Show Source
Nested Schema : Flexfields for Resources
Type: array
Title: Flexfields for Resources
The Flexfields for Resources resource manages descriptive flexfields that contain details about the resources that the work order operations use.
Show Source
Nested Schema : Work Order Operation Resource Instances
Type: array
Title: Work Order Operation Resource Instances
The Work Order Operation Resource Instances resource manages the instances of a work order operation. Each instance supports an equipment resource or labor resource.
Show Source
Nested Schema : Exceptions for Operation Resources
Type: array
Title: Exceptions for Operation Resources
The Exceptions for Operation Resources resource gets the count of exceptions that occurred during the operation.
Show Source
Nested Schema : workOrders-WorkOrderOperation-WorkOrderOperationResource-WorkOrderOperationResourceAttachment-item-response
Type: object
Show Source
Nested Schema : workOrders-WorkOrderOperation-WorkOrderOperationResource-WorkOrderOperationResourceDFF-item-response
Type: object
Show Source
Nested Schema : workOrders-WorkOrderOperation-WorkOrderOperationResource-WorkOrderOperationResourceInstance-item-response
Type: object
Show Source
Nested Schema : Flexfields for Work Order Operation Resource Instance
Type: array
Title: Flexfields for Work Order Operation Resource Instance
The Flexfields for Work Order Operation Resource Instance resource manages descriptive flexfields that contain details about the resource instance.
Show Source
Nested Schema : workOrders-WorkOrderOperation-WorkOrderOperationResource-WorkOrderOperationResourceInstance-WOOperationResourceInstanceDFF-item-response
Type: object
Show Source
Nested Schema : workOrders-WorkOrderOperation-WorkOrderOperationResource-WorkOrderResourceExceptionCount-item-response
Type: object
Show Source
Back to Top