Get one output

get

/fscmRestApi/resources/11.13.18.05/workDefinitions/{WorkDefinitionId}/child/WorkDefinitionOutput/{OutputId}

Request

Path Parameters
  • 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=
  • Value that uniquely identifies the work definition. It's a primary key that the application generates when it creates the work definition.
Query Parameters
  • This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2

    Format: <attr1>=<val1>,<attr2>=<value2>
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.

    Format: ?fields=Attribute1,Attribute2

    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2
  • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

    Example:
    self,canonical
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
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.

There's no request body for this operation.

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 : workDefinitions-WorkDefinitionOutput-item-response
Type: object
Show Source
  • Title: Basis
    Read Only: true
    Indicates whether the output quantity is fixed or variable. Valid values are contained in the lookup EGP_BOM_BASIS_TYPE.
  • Read Only: true
    Maximum Length: 255
    Meaning for the basis type for the output defined in the work order operation, with valid values available in the lookup EGP_BOM_BASIS_TYPE
  • Read Only: true
    Maximum Length: 255
    Locator into which this output line is produced.
  • Title: Completion Subinventory
    Read Only: true
    Maximum Length: 10
    Subinventory into which this output line is produced.
  • Title: Completion Type
    Read Only: true
    Maximum Length: 30
    Indicates the completion type code. A list of accepted values is defined in the lookup type ORA_WIS_OUTPUT_COMPL_TYPE.
  • Read Only: true
    Maximum Length: 255
    Description of the completion type code.
  • Read Only: true
    Reference to the item structure formula output (EGP_COMPONENTS_B) assigned to this operation.
  • Title: Cost Allocation Percentage
    Read Only: true
    Cost percentage share of this output across all outputs. This attribute is null for manually entered costs.
  • Title: Costing Priority
    Read Only: true
    Priority to use when determining which work definition to use when calculating the standard cost by using rolling up costs during costing. Upon exploding the bill of materials, the child work definitions are threaded using the priority number selected at the top.
  • Read Only: true
    Maximum Length: 64
    User who created this record.
  • Read Only: true
    Date and time when the record was created.
  • Title: End Date
    Read Only: true
    Date when the work definition operation output is disabled.
  • Title: Find Number
    Read Only: true
    Unique identifier of an output that appears more than once in a formula.
  • Read Only: true
    User who most recently updated the record.
  • Read Only: true
    Maximum Length: 64
    Date when the record was most recently updated.
  • Links
  • Title: Name
    Read Only: true
    Maximum Length: 120
    Name of the work definition operation.
  • Title: Sequence
    Read Only: true
    Number that indicates the sequence of running the operation.
  • Read Only: true
    Maximum Length: 300
    Number that identifies the output item of an operation.
  • Title: Item Description
    Read Only: true
    Maximum Length: 240
    Description of the item of the output.
  • Read Only: true
    Value that uniquely identifies the work definition operation output. The application generates this value.
  • Title: Sequence
    Read Only: true
    Number that indicates the sequence of this output line within this operation.
  • Title: Output Type
    Read Only: true
    Maximum Length: 30
    Type of output produced by the operation. A list of accepted values is defined in the lookup type ORA_WIS_WD_OUTPUT_MATERIAL.
  • Title: Yield
    Read Only: true
    Factor used to calculate the output quantity produced by the operation. This attribute is currently not in use.
  • Title: Quantity
    Read Only: true
    Quantity of output expected to be produced by this operation.
  • Title: Secondary Quantity
    Read Only: true
    Output quantity expected to be produced by this operation in the secondary unit of measure. This attribute is associated with a feature that requires opt-in.
  • Title: Secondary UOM
    Read Only: true
    Secondary unit of measure of the output. This attribute is associated with a feature that requires opt-in.
  • Title: Secondary UOM Code
    Read Only: true
    Abbreviation that identifies the secondary unit of measure of the output. This attribute is associated with a feature that requires opt-in.
  • Title: Code
    Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the user key to the standard operation.
  • Read Only: true
    Value that uniquely identifies the standard operation. The application generates this value.
  • Title: Start Date
    Read Only: true
    Date when the work definition operation output is effective.
  • Title: UOM Name
    Read Only: true
    Maximum Length: 25
    Unit of measure of the output.
  • Title: UOM
    Read Only: true
    Maximum Length: 3
    Abbreviation that identifies the unit of measure of the output.
  • Title: Code
    Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the work area. This attribute uniquely identifies a work area within a manufacturing plant.
  • Title: Description
    Read Only: true
    Maximum Length: 240
    Description of the work area.
  • Read Only: true
    Value that uniquely identifies the work area. The application generates this value.
  • 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 user key to the work center.
  • Title: Description
    Read Only: true
    Maximum Length: 240
    Description of the work center.
  • Read Only: true
    Value that uniquely identifies the work center. The application generates this value.
  • Title: Name
    Read Only: true
    Maximum Length: 120
    Name of the work center.
  • Read Only: true
    Value that uniquely identifies the work definition. This is used to enforce uniqueness of an output item across the work definition operations.
  • Read Only: true
    Value that uniquely identifies the operation to which this operation output item is assigned.
  • Attachments for Outputs
    Title: Attachments for Outputs
    The Attachments for Outputs resource gets the attachments that contain details about the output.
  • Flexfields for Outputs
    Title: Flexfields for Outputs
    The Flexfields for Outputs resource gets the descriptive flexfields that contain details about the output.
Nested Schema : Attachments for Outputs
Type: array
Title: Attachments for Outputs
The Attachments for Outputs resource gets the attachments that contain details about the output.
Show Source
Nested Schema : Flexfields for Outputs
Type: array
Title: Flexfields for Outputs
The Flexfields for Outputs resource gets the descriptive flexfields that contain details about the output.
Show Source
Nested Schema : workDefinitions-WorkDefinitionOutput-WorkDefinitionOperationOutputAttachment-item-response
Type: object
Show Source
Nested Schema : workDefinitions-WorkDefinitionOutput-WorkDefinitionOperationOutputDFF-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to get one output.

Example cURL Command

Use the following cURL command to submit a request on the REST resource:

curl -u username:password "https://servername/fscmRestApi/resources/version/workDefinitions/WorkDefinitionId/child/WorkDefinitionOutput/OutputId"

For example, the following command gets one output:

curl -u username:password "https://servername/fscmRestApi/resources/version/workDefinitions/300100546045347/child/WorkDefinitionOutput/300100546045449"

Example Response Body

The following shows an example of the response body in JSON format.

{
	"WorkDefinitionOperationId": 300100546045411,
	"WorkDefinitionId": 300100546045347,
	"OperationSequenceNumber": 20,
	"OperationName": "Packing",
	"StandardOperationId": null,
	"StandardOperationCode": null,
	"WorkAreaId": 300100071642832,
	"WorkAreaCode": "MFGASSYWA1",
	"WorkAreaName": "MFGASSYWA1",
	"WorkAreaDescription": "Assembly Work Area1",
	"WorkCenterId": 300100073217939,
	"WorkCenterCode": "MFGPACKING1",
	"WorkCenterName": "MFGPACKING1",
	"WorkCenterDescription": "Work Center for Packing",
	"OutputSequence": 20,
	"OutputId": 300100546045449,
	"Output": "MFG_Oranges",
	"OutputDescription": "MFG Oranges",
	"OutputType": "PRODUCT",
	"PrimaryOutputFlag": false,
	"Quantity": 1000,
	"UnitOfMeasure": "Each",
	"UOMCode": "Ea",
	"SecondaryQuantity": null,
	"SecondaryUnitOfMeasure": null,
	"SecondaryUOMCode": null,
	"CompletionType": "MANUAL",
	"CompletionTypeDescription": "Manual",
	"CompletionSubinventory": "Stores",
	"CompletionLocator": null,
	"CostAllocationPercentage": 98.5,
	"CostingPriority": null,
	"CreatedBy": "MFG_QA",
	"CreationDate": "2021-02-25T22:41:44.724+00:00",
	"LastUpdatedBy": "MFG_QA",
	"LastUpdateDate": "2021-02-25T22:47:39.857+00:00",
	"links": [
	{
		"rel": "self",
		"href": "https://servername/fscmRestApi/resources/version/workDefinitions/300100546045347/child/WorkDefinitionOutput/300100546045449",
		"name": "WorkDefinitionOutput",
		"kind": "item"
	},
	{
		"rel": "canonical",
		"href": "https://servername/fscmRestApi/resources/version/workDefinitions/300100546045347/child/WorkDefinitionOutput/300100546045449",
		"name": "WorkDefinitionOutput",
		"kind": "item"
	},
	{
		"rel": "parent",
		"href": "https://servername/fscmRestApi/resources/version/workDefinitions/300100546045347",
		"name": "workDefinitions",
		"kind": "item"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/workDefinitions/300100546045347/child/WorkDefinitionOutput/300100546045449/child/WorkDefinitionOperationOutputAttachment",
		"name": "WorkDefinitionOperationOutputAttachment",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/workDefinitions/300100546045347/child/WorkDefinitionOutput/300100546045449/child/WorkDefinitionOperationOutputDFF",
		"name": "WorkDefinitionOperationOutputDFF",
		"kind": "collection"
	}
	]
}
Back to Top