Get all components

get

/fscmRestApi/resources/11.13.18.05/itemStructures/{BillSequenceId}/child/Component

Request

Path Parameters
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
  • Used as a predefined finder to search the collection.

    Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>

    The following are the available finder names and corresponding finder variables:

    • PrimaryKey: Find components according to the primary key.
      Finder Variables:
      • ComponentSequenceId; integer; Value that uniquely identifies the component sequence.
  • This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
  • 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
  • Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
  • This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
  • This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY

    Format: ?q=expression1;expression2

    You can use these queryable attributes to filter this collection resource using the q query parameter:
    • ACDTypeValue; string; Value that indicates if the substitute component is being added, modified, or deleted through a change line.
    • AutoRequestMaterialFlag; boolean; Contains one of the following values: true or false. If true, then a move order is automatically created for a material in a work order release. If false, then a move order is not automatically created. The default value is true.
    • BasisType; integer; Value that indicates if the option class quantity can be overridden by sales order. Valid values include None (can override) or Option Class (cannot override).
    • BasisValue; string; Value that determines if the option class quantity can be overridden by the sales order. Valid values include None or Option Class.
    • BillSequenceId; integer; Value that uniquely identifies the structure.
    • ChangeLineId; integer; Value that uniquely identifies the revised change line to which pending component is added.
    • ChangeNotice; string; Change order notice to which the pending component is added.
    • CheckATPFlag; boolean; Contains one of the following values: true or false. If true, then check the following when placing the demand: available to promise and capable to promise. If false, then do not check. The default value is true.
    • Comments; string; Comments about a component.
    • ComponentItemClass; string; Class of the component item. This attribute is read-only and is not required for an update operation.
    • ComponentItemId; string; Value that uniquely identifies the item associated with the component.
    • ComponentItemNumber; string; Number that indicates the item of a component. This attribute is read-only, which can be modified for the create operation.
    • ComponentSequenceId; integer; Value that uniquely identifies the component in a structure. This attribute is read-only and is not required for an update operation.
    • CreatedBy; string; User who created the component.
    • CreationDateTime; string; Date and time when the structure was created.
    • EndDateTime; string; Date and time when a component in a structure ends.
    • EnforceIntRequirements; number; Value that is used by Oracle Supply Planning Cloud to generate the demand in integer quantities. Valid values include Round Up, Round Down, or None.
    • EnforceIntegerRequirementsValue; string; Value that is used by planning to generate the demand in integer quantities. Values include Round Up, Round Down, or None.
    • FindNumber; integer; Number used to locate a specific instance of an item in a structure.
    • FromNumber; string; Number that indicates the item unit or serial from which the component is effective. It is valid only for unit or serial effective structures. Whether the value is unit or serial number depends on when the component is effective.
    • ImplementationDateTime; string; Date and time when the component was implemented in production. It displays NULL for pending components. You can use this value to differentiate between pending and production components.
    • IncludeOnShipDocsFlag; boolean; Contains one of the following values: true or false. If true, then the component is displayed on shipping documentation. If false, then the component is not displayed. The default value is true.
    • InstantiabilityCode; string; Abbreviation that identifies the whether a component item is instantiable in an item structure.
    • InstantiabilityValue; string; Value that indicates whether a component item is instantiable in an item structure.
    • ItemSequenceNumber; number; Number that defines the sequence of components in a structure.
    • LastUpdateDateTime; string; Date and time when the structure was most recently updated.
    • LastUpdateLogin; string; Login of the user who most recently updated the component.
    • LastUpdatedBy; string; User who most recently updated the component.
    • MaximumQuantity; number; Value that indicates the maximum order quantity.
    • MinimumQuantity; number; Value that indicates the minimum order quantity.
    • MutuallyExclusiveFlag; boolean; Contains one of the following values: true or false. If true, then one or more options under this option class can be selected. If false, then you cannot select any options. The default value is true.
    • OptionalFlag; boolean; Contains one of the following values: true or false. If true, then the component is optional for a structure. If false, then the component is not optional. The default value is true.
    • OrganizationId; string; Value that uniquely identifies the organization.
    • PlanningPercent; number; Distribution percentage for a component. It is used by forecast planning.
    • PrimaryUOMCode; string; Primary unit of measure for the item quantities.
    • PrimaryUOMCodeValue; string; Value that indicates the unit of measure of a component in a bill of materials. This may be different from the unit of measure of the item. For example, wooden panels used in the making of a table. The unit of measure of the wooden panel can be Box; however, when used as the component of a table, the unit of measurement can be Each.
    • PrimaryUOMValue; string; Value in the primary unit of measure for the item quantities.
    • Quantity; number; Quantity of component item that is used.
    • QuantityRelatedFlag; boolean; Value that indicates whether a component is quantity related or not. If enabled, the application validates whether the specified quantity matches the number of reference designators on the component.
    • ReplacedBy; string; Item number of the replacement component.
    • Replaces; string; Item number of the component that's being replaced.
    • RequiredForRevenueFlag; boolean; Contains one of the following values: true or false. If true, then the component is required to recognize revenue before you ship the order. If false, then the component is not required. The default value is true.
    • RequiredToShipFlag; boolean; Contains one of the following values: true or false. If true, then the component is required to be shipped. If false, then the component is not required. The default value is true.
    • SalesOrderBasisValue; string; Value that indicates to override the default quantity for the option class when a sales order is entered for components belonging to BOM Item Type option class. The option class quantities affect the mandatory standard components.
    • ShowInSales; number; Value that indicates if the component is visible in the sales application. Valid values include Yes, Hide Self, and Hide Self and Descendants.
    • ShowInSalesValue; string; Value that indicates if the component is visible in the sales application. Values include Yes, Hide Self, and Hide Self and Descendants.
    • SoBasis; number; Value that indicates the basis to override the default quantity for the option class when a sales order is entered (the default), for components of the BOM Item Type option class. The option class quantities affect the mandatory standard components assigned to the option class.
    • StartDateTime; string; Date and time when a component in a structure begins.
    • SuggestedOperationSequence; integer; Sequence number suggested by a design engineer for a specific component operation in a manufacturing work definition. Example values are 10, 20, 30, and so on.
    • SupplyType; string; Type of supply for components.
    • ToNumber; string; Number that identifies the item unit or serial up to which the component is effective. It is valid only for unit or serial effective structures. Whether the value is unit or serial number depends on when the component is effective.
    • UsePlaceholderFlag; boolean; A flag indicating if this Option Class item data should be loaded into configurator models.
    • WipSupplyType; integer; Type of supply for components.
    • Yield; number; Value that indicates the planned or actual output of a process. Values include loss, increase, or no change in the planned or actual output quantity.
  • The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
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 : itemStructures-Component
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : itemStructures-Component-item-response
Type: object
Show Source
  • Read Only: true
    Maximum Length: 255
    Value that indicates if the substitute component is being added, modified, or deleted through a change line.
  • Title: Automatically Request Material
    Maximum Length: 1
    Default Value: true
    Contains one of the following values: true or false. If true, then a move order is automatically created for a material in a work order release. If false, then a move order is not automatically created. The default value is true.
  • Title: Basis
    Default Value: 1
    Value that indicates if the option class quantity can be overridden by sales order. Valid values include None (can override) or Option Class (cannot override).
  • Value that determines if the option class quantity can be overridden by the sales order. Valid values include None or Option Class.
  • Value that uniquely identifies the structure.
  • Read Only: true
    Default Value: -1
    Value that uniquely identifies the revised change line to which pending component is added.
  • Read Only: true
    Maximum Length: 255
    Change order notice to which the pending component is added.
  • Title: Check ATP
    Default Value: false
    Contains one of the following values: true or false. If true, then check the following when placing the demand: available to promise and capable to promise. If false, then do not check. The default value is true.
  • Title: Comments
    Maximum Length: 240
    Comments about a component.
  • Flexfields for Components
    Title: Flexfields for Components
    The Flexfields for Components resource gets the descriptive flexfields associated with the component.
  • Read Only: true
    Maximum Length: 255
    Class of the component item. This attribute is read-only and is not required for an update operation.
  • Maximum Length: 240
    Value that uniquely identifies the item associated with the component.
  • Number that indicates the item of a component. This attribute is read-only, which can be modified for the create operation.
  • Value that uniquely identifies the component in a structure. This attribute is read-only and is not required for an update operation.
  • Read Only: true
    Maximum Length: 64
    User who created the component.
  • Read Only: true
    Date and time when the structure was created.
  • Title: End Date
    Date and time when a component in a structure ends.
  • Value that is used by planning to generate the demand in integer quantities. Values include Round Up, Round Down, or None.
  • Title: Enforce Integer Requirement
    Default Value: 0
    Value that is used by Oracle Supply Planning Cloud to generate the demand in integer quantities. Valid values include Round Up, Round Down, or None.
  • Title: Find Number
    Default Value: 1
    Number used to locate a specific instance of an item in a structure.
  • Title: From End Item Unit Number
    Maximum Length: 30
    Number that indicates the item unit or serial from which the component is effective. It is valid only for unit or serial effective structures. Whether the value is unit or serial number depends on when the component is effective.
  • Title: Effective Date
    Read Only: true
    Date and time when the component was implemented in production. It displays NULL for pending components. You can use this value to differentiate between pending and production components.
  • Title: Include on Shipping Documents
    Default Value: false
    Contains one of the following values: true or false. If true, then the component is displayed on shipping documentation. If false, then the component is not displayed. The default value is true.
  • Title: Instantiability
    Maximum Length: 30
    Abbreviation that identifies the whether a component item is instantiable in an item structure.
  • Value that indicates whether a component item is instantiable in an item structure.
  • Title: Item Sequence
    Number that defines the sequence of components in a structure.
  • Read Only: true
    Date and time when the structure was most recently updated.
  • Read Only: true
    Maximum Length: 64
    User who most recently updated the component.
  • Read Only: true
    Maximum Length: 32
    Login of the user who most recently updated the component.
  • Links
  • Title: Maximum Quantity
    Value that indicates the maximum order quantity.
  • Title: Minimum Quantity
    Value that indicates the minimum order quantity.
  • Title: Mutually Exclusive
    Default Value: false
    Contains one of the following values: true or false. If true, then one or more options under this option class can be selected. If false, then you cannot select any options. The default value is true.
  • Title: Optional
    Default Value: false
    Contains one of the following values: true or false. If true, then the component is optional for a structure. If false, then the component is not optional. The default value is true.
  • Maximum Length: 240
    Value that uniquely identifies the organization.
  • Title: Planning Percent
    Default Value: 100
    Distribution percentage for a component. It is used by forecast planning.
  • Maximum Length: 30
    Primary unit of measure for the item quantities.
  • Maximum Length: 255
    Value that indicates the unit of measure of a component in a bill of materials. This may be different from the unit of measure of the item. For example, wooden panels used in the making of a table. The unit of measure of the wooden panel can be Box; however, when used as the component of a table, the unit of measurement can be Each.
  • Read Only: true
    Maximum Length: 255
    Value in the primary unit of measure for the item quantities.
  • Title: Quantity
    Default Value: 1
    Quantity of component item that is used.
  • Title: Quantity Related
    Default Value: false
    Value that indicates whether a component is quantity related or not. If enabled, the application validates whether the specified quantity matches the number of reference designators on the component.
  • Reference Designators
    Title: Reference Designators
    The Reference Designators resource manages the details of a reference designator.
  • Maximum Length: 255
    Item number of the replacement component.
  • New find number value of the replacement component.
  • Read Only: true
    Maximum Length: 255
    Item number of the component that's being replaced.
  • Title: Required for Revenue
    Default Value: false
    Contains one of the following values: true or false. If true, then the component is required to recognize revenue before you ship the order. If false, then the component is not required. The default value is true.
  • Title: Required to Ship
    Default Value: false
    Contains one of the following values: true or false. If true, then the component is required to be shipped. If false, then the component is not required. The default value is true.
  • Value that indicates to override the default quantity for the option class when a sales order is entered for components belonging to BOM Item Type option class. The option class quantities affect the mandatory standard components.
  • Value that indicates if the component is visible in the sales application. Valid values include Yes, Hide Self, and Hide Self and Descendants.
  • Value that indicates if the component is visible in the sales application. Values include Yes, Hide Self, and Hide Self and Descendants.
  • Title: Sales Order Basis
    Default Value: 2
    Value that indicates the basis to override the default quantity for the option class when a sales order is entered (the default), for components of the BOM Item Type option class. The option class quantities affect the mandatory standard components assigned to the option class.
  • Title: Start Date
    Date and time when a component in a structure begins.
  • Substitute Components
    Title: Substitute Components
    The Substitute Components resource manages the details of a substitute component.
  • Title: Suggested Operation Sequence
    Sequence number suggested by a design engineer for a specific component operation in a manufacturing work definition. Example values are 10, 20, 30, and so on.
  • Type of supply for components.
  • Title: To End Item Unit Number
    Maximum Length: 30
    Number that identifies the item unit or serial up to which the component is effective. It is valid only for unit or serial effective structures. Whether the value is unit or serial number depends on when the component is effective.
  • Title: Use Placeholder
    A flag indicating if this Option Class item data should be loaded into configurator models.
  • Where Used for Item Structures
    Title: Where Used for Item Structures
    The Where Used for Item Structures resource gets the items in which this structure is used.
  • Title: Supply Type
    Type of supply for components.
  • Title: Yield
    Default Value: 1
    Value that indicates the planned or actual output of a process. Values include loss, increase, or no change in the planned or actual output quantity.
Nested Schema : Flexfields for Components
Type: array
Title: Flexfields for Components
The Flexfields for Components resource gets the descriptive flexfields associated with the component.
Show Source
Nested Schema : Reference Designators
Type: array
Title: Reference Designators
The Reference Designators resource manages the details of a reference designator.
Show Source
Nested Schema : Substitute Components
Type: array
Title: Substitute Components
The Substitute Components resource manages the details of a substitute component.
Show Source
Nested Schema : Where Used for Item Structures
Type: array
Title: Where Used for Item Structures
The Where Used for Item Structures resource gets the items in which this structure is used.
Show Source
Nested Schema : itemStructures-Component-ComponentDFF-item-response
Type: object
Show Source
Nested Schema : itemStructures-Component-ReferenceDesignator-item-response
Type: object
Show Source
Nested Schema : Flexfields for Reference Designators
Type: array
Title: Flexfields for Reference Designators
The Flexfields for Reference Designators resource gets the descriptive flexfields associated with the reference designator.
Show Source
Nested Schema : itemStructures-Component-ReferenceDesignator-ReferenceDesignatorDFF-item-response
Type: object
Show Source
Nested Schema : itemStructures-Component-SubstituteComponent-item-response
Type: object
Show Source
Nested Schema : Flexfields for Substitute Components
Type: array
Title: Flexfields for Substitute Components
The Flexfields for Substitute Components resource gets the descriptive flexfields associated with the substitute component.
Show Source
Nested Schema : itemStructures-Component-SubstituteComponent-SubstituteComponentDFF-item-response
Type: object
Show Source
Nested Schema : itemStructures-Component-WhereUsed-item-response
Type: object
Show Source
  • Maximum Length: 80
    Value that indicates how the component quantity is consumed in an assembly. Values include item and lot.
  • Value that uniquely identifies the parent structure.
  • Maximum Length: 240
    Description of the item of a component.
  • Maximum Length: 300
    Number that indicates the item of a component.
  • Maximum Length: 4000
    Value that represents the hierarchical path of a component item to the root item in a structure.
  • Value that uniquely identifies the component in a structure.
  • Value that indicates the method used to control effectivity in a structure. Values include Date, Unit Number, or Serial Number.
  • Date and time when a component in a structure ends.
  • Maximum Length: 30
    Number that indicates the item serial from which the component is effective in a structure. It is valid only for serial effective structures.
  • Maximum Length: 30
    Number that indicates the item unit or serial from which the component is effective. It is valid only for unit effective structures.
  • Maximum Length: 250
    Name in metadata that is common to all items that share the category.
  • Maximum Length: 240
    Value that defines codes used to control the transaction activity of an item. For example, an item in active status can be customer-order enabled.
  • Maximum Length: 80
    Value that indicates grouping of all items of a particular category that share the same set of item attributes, used as a high-level grouping for processes.
  • Links
  • Abbreviation that identifies the name of an organizing unit in the internal or external organization structure of your enterprise. Organization structure provides the framework for performing legal reporting, financial control, and management reporting. This attribute is read-only, which can be modified for the create operation.
  • Value that uniquely identifies the parent structure.
  • Number that uniquely identifies the parent identifier for a part, material, product, or service.
  • Quantity of a component in a structure.
  • Date and time when a component in a structure begins.
  • Name of the structure. This attribute is read-only, which can be modified for the create operation.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the item is the top item where this component is used. If false, then the item is not the top item where this component is used. The default value is false.
  • Maximum Length: 30
    Number that identifies the item serial up to which the component is effective in a structure.
  • Maximum Length: 30
    Number that identifies the item unit up to which the component is effective.
Back to Top

Examples

This example describes how to get all components.

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/itemStructures/BillSequenceId/child/Component"

For example, the following command gets all components where the bill sequence identifier is 300100152430388:

curl -u username:password "https://servername/fscmRestApi/resources/version/itemStructures/300100159234307/child/Component"

Example Response Body

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

{
    "items": [
        {
            "ComponentSequenceId": 300100159297408,
            "OrganizationId": "204",
            "ComponentItemNumber": "JUN26_PIM001_BOM1",
            "ComponentItemId": "300100159234167",
            "ChangeNotice": "JUN26_CCO001",
            "ChangeLineId": 300100159295698,
            "ItemSequenceNumber": 10,
            "Quantity": 1,
            "Yield": 1,
            "Comments": null,
            "StartDateTime": "2018-06-27T05:39:33+00:00",
            "EndDateTime": null,
            "ImplementationDateTime": null,
            "FromNumber": null,
            "ToNumber": null,
            "PlanningPercent": 100,
            "BasisType": 1,
            "BasisValue": "Variable",
            "EnforceIntRequirements": 0,
            "EnforceIntegerRequirementsValue": "None",
            "WipSupplyType": 1,
            "SupplyType": "Push",
            "AutoRequestMaterialFlag": true,
            "MinimumQuantity": null,
            "MaximumQuantity": null,
            "OptionalFlag": false,
            "MutuallyExclusiveFlag": false,
            "CheckATPFlag": false,
            "SoBasis": 2,
            "SalesOrderBasisValue": "None",
            "InstantiabilityCode": null,
            "InstantiabilityValue": null,
            "ShowInSales": null,
            "ShowInSalesValue": null,
            "RequiredToShipFlag": false,
            "RequiredForRevenueFlag": false,
            "IncludeOnShipDocsFlag": false,
            "CreationDateTime": "2018-06-27T05:26:25.272+00:00",
            "LastUpdateDateTime": "2018-06-28T02:49:11.509+00:00",
            "BillSequenceId": 300100159234307,
            "PrimaryUOMValue": "Each",
            "PrimaryUOMCode": "Ea",
            "PrimaryUOMCodeValue": "Each",
            "ACDTypeValue": "Updated",",
            "ACDTypeValue": "Added",
...
},
...
],
...
}
Back to Top