Web Services for Publishing

This appendix covers the following topics:

Oracle Product Hub Web Services Overview

Users can publish item catalog categories, attribute groups, value sets, or items and extract more information about these entities by invoking entity specific Web Services for Oracle Product Hub. The following Web Services are available to Product Hub users:

The figure below shows a sample implementation that consumes one of these Web Services.

System Flow and Interaction Diagram

the picture is described in the document text

Related Topics

Publishing Overview, Oracle Product Hub User's Guide

Item Catalog Category Web Service

Attribute Group Web Service

Value Set Web Service

Item Web Service

Value Set Web Service

The value set Web Service includes the getValueSetDetails method, which returns the details of the value set according to the parameters requested in the output. Users can invoke the method on both value set versions and non-version value sets.

Important: Before using Publication Web Services, you must complete some manual post-installation steps. Complete the steps documented in My Oracle Support ID 1336146.1. This My Oracle Support ID also includes troubleshooting tips.

Method: getValueSetDetails

This Web Service method provides an interface to extract the information about the value set and/or its hierarchy based on input.

Modes

You can invoke the getValueSetDetails method using two modes:

Batch Mode

List Mode

While invoking the value set services in either mode, provide the following WS-Security and Parameter inputs:

WS-Security
Parameter Name Type Optional Description
User Name String NO EBS “Applications User name”
Password String NO Password for EBS “Applications User”
Parameters
Parameter Name Type Optional Description
BatchId Integer No (batch mode)
Yes (non-batch mode)
The identifier of the Batch that was published from the PIM UI.
ValueSetId Integer Yes (batch mode)
No (non-batch mode)
Value set ID for which the details need to be extracted/published.
In Batch Mode, the Value Set ID is derived for the selected value set, so there is no need to provide an ID.
In List Mode:
  • When publishing to external systems, you must provide the ValueSetId.

  • When publishing to other Oracle Product Hub systems, you must provide either the ValueSetId or the ValueSetName.

ValueSetName String Yes

Note: This parameter is not considered when publishing to external systems.

The name of the value set to publish to other Oracle Product Hub systems.
In Batch Mode, the value set name is derived for the selected value set, so there is no need to provide a name.
In List Mode, when publishing to other Oracle Product Hub systems, you must provide either the ValueSetId or the ValueSetName.
VersionSeqId Integer Yes Version for which the service is needed. If left blank, the default is the current effective version.
ChildValueSets String No Flag that indicates whether to publish child value sets associated with the selected value sets.
Sync

Additional Information: This appears as the "Publish to PIM Systems Only" checkbox in the batch publishing flow.

String No (batch mode),
No (non-batch mode)
Flag to indicate whether to publish to external systems or other Oracle Product Hub systems.
A value of Y indicates publishing to Oracle Product Hub systems.
A value of N indicates publishing to external systems.
TriggerImport String No

Note: This parameter is not considered when publishing to external systems.

Flag to control whether to launch the 'EGO Import Metadata' concurrent program in the target Oracle Product Hub system or not. If it is set to 'N', the metadata interface tables in the target OPH systems are loaded with the data from the source OPH system. Users must manually launch this concurrent program to import the data in the interface tables into the production tables.
If it is set to 'Y', this concurrent program is automatically launched in the target OPH system, which then imports the data from the interface tables into the production tables.
Default Value: N
ReturnPayload Boolean Yes
Default: True
Flag to control whether the output payload includes the details of the ICC(s)
Multi Selection Parameters
Parameter Name Type Optional Description
LanguageCode String Yes (batch mode)
Yes (non-batch mode)

Note: This parameter is not considered when publishing to Oracle Product Hub systems.

The language code in which to return the output.
For example: US (for American English).
Default: Return output in all installed languages.

Note: Repeat this parameter multiple times to return output in more than one language.


When publishing to external systems:
The language code in which to return the output, for example, US (for American English).
Default: Return output in all installed languages.

Note: Repeat this parameter multiple times to return output in more than one language.


When publishing to Oracle Product Hub systems:
The value set translatable column values are published in all of the installed languages common between the source and target OPH systems.
LanguageName String Yes (batch mode),
Yes (non-batch mode)

Note: This parameter is not considered when publishing to Oracle Product Hub systems.

When publishing to external systems:
The language name in which to return the output, for example, English.
When publishing to Oracle Product Hub systems:
Value set translatable column values are published in all of the installed languages common between the source and target OPH systems.
SystemCode String Yes (batch mode)
No (non-batch mode)

Note: This parameter is not considered when publishing to external systems.

The system code for a target OPH system to which you plan to publish the ICC(s).
Default behavior: at least one target OPH system must be selected/provided.

Note: Repeat this parameter multiple times when publishing to multiple systems.

SystemName String Yes (batch mode)
No (non-batch mode)

Note: This parameter is not considered when publishing to external systems.

The system name for a target OPH system to which you plan to publish the ICC(s).
Default behavior: at least one target OPH system must be selected/provided.

Note: Repeat this parameter multiple times when publishing to multiple systems.

FND Security Parameters
Parameter Name Type Optional Description
RESPONSIBILITY_NAME String No (batch mode)
No (non-batch mode)
Provide the Responsibility name for the user.
For example: EGO_DEVELOPMENT_MANAGER

Note: In batch mode (using the UI flow), it is derived from the EBS Login.

RESPONSIBILITY_APPL_NAME String No (batch mode)
No (non-batch mode)
Application name for the above responsibility.
For example: EGO

Note: In batch mode (using the UI flow), it is derived from the EBS Login.

SECURITY_GROUP_NAME String Yes (batch mode)
No (non-batch mode)
Security group name.
NLS_LANGUAGE String Yes (batch mode)
No (non-batch mode)
The current session language to use for the Web Service invocation.

Output

The output payload includes value set details based on the configurable parameters selected by the user.

Payload when publishing to external systems:

Payload when publishing to Oracle Product Hub systems:

Related Topics

Oracle Product Hub Web Services Overview

Publishing Overview, Oracle Product Hub User's Guide

Defining Source Systems

Publishing Item Catalog Categories

Publishing Attribute Groups

Publishing Value Sets

Publishing Items and Structures, Oracle Product Hub User's Guide

Viewing the Publishing History, Oracle Product Hub User's Guide

Controlling the Output Payload

Error Reporting

Attribute Group Web Service

The attribute group Web Service includes the getAGDetails method, which publishes the details of an attribute group and its associated entities to target Oracle Product Hub (OPH) systems based on input to these systems.

Important: Before using Publication Web Services, you must complete some manual post-installation steps. Complete the steps documented in My Oracle Support ID 1336146.1. This My Oracle Support ID also includes troubleshooting tips.

Method: getAGDetails

The getAGDetails method provides an interface to extract information about attribute groups and their associated entities ( which include business entities, attributes, and value sets/child value sets associated to the attributes) based on input and then publish them to target OPH systems.

Modes

You can invoke the getAGDetails method using two modes:

Batch Mode

List Mode

While invoking the attribute group services in either mode, provide the following WS-Security and Parameter inputs:

WS-Security
Parameter Name Type Optional Description
User Name String NO EBS “Applications User name”
Password String NO Password for EBS “Applications User”
Parameters
Parameter Name Type Optional Description
BatchId Integer No (batch mode)
Yes (non-batch mode)
The identifier of the Batch that was published from the PIM UI.
AGId Integer Yes (batch mode)
No (non-batch mode)
Attribute Group ID for which the details need to be published.

Note: In Batch Mode, there is no need to provide the AGId. It is derived for the selected attribute group(s) in the batch. In List Mode, you must provide either the AGId or the AGName.

Agname String Yes (batch mode),
No (non-batch mode)
The name of the attribute group to be published.

Note: In Batch Mode, there is no need to provide the AGname. It is derived for the selected attribute group(s) in the batch. In List Mode, you must provide either the AGId or the AGName.

Valuesets String Yes (batch mode),
No (non-batch mode)
Default Value: Y
Flag to control whether to publish the value sets associated with the user defined attributes to target OPH systems.
ChildValuesets String Yes (batch mode),
No (non-batch mode)
Default Value: Y
Flag to control whether to publish the child value sets associated with the user defined attributes to target OPH systems.
Sync (In Batch flow - Publish to PIM Systems Only checkbox) String Yes (batch mode),
No (non-batch mode)
Default Value: Y
Flag to indicate whether to publish to external systems or OPH systems. Value Y indicates publishing to OPH systems. The attribute group Webservice supports publishing to OPH systems only.
Auto Import String Yes (batch mode),
No (non-batch mode)
Default Value: N
Flag to control whether to launch the 'EGO Import Metadata' concurrent program in the target OPH system or not.
If it is set to 'N', the metadata interface tables in the target OPH systems are loaded with the data from the source OPH system. Users must manually launch this concurrent program to import the data in the interface tables into the production tables.
If it is set to 'Y', this concurrent program is automatically launched in the target OPH system. The program imports the data from the interface tables into the production tables.
Return Payload String No (non-batch mode)
Default Value: N

Note: This parameter is honored only in List mode.

Flag to control whether user wants to display the concurrent program errors and warnings that occur in the target OPH systems, as well as any additional information provided about the attribute groups.
Multi Selection Parameters
Parameter Name Type Optional Description
LanguageCode String Yes (batch mode),
Yes (non-batch mode)
This parameter is not considered when publishing to OPH systems.
When publishing to OPH systems, attribute group translatable column values are published in all the installed languages common between the source and target OPH systems.
LanguageName String Yes (batch mode),
Yes (non-batch mode)
This parameter is not considered when publishing to OPH systems.
When publishing to OPH systems, attribute group translatable column values are published in all of the installed languages common between the source and target OPH systems.
SystemCode String Yes (batch mode)
No (non-batch mode)
Default behavior: You must select at least one target OPH system.

Note: Repeat this parameter multiple times to publish to multiple systems.

The system code for a target OPH system.
SystemName String Yes (batch mode),
No (non-batch mode)
Default behavior: Select at least one target OPH system.

Note: Repeat this parameter multiple times to publish to multiple systems.

The system name for a target OPH system.
FND Security Parameters
Parameter Name Type Optional Description
RESPONSIBILITY_NAME String No (batch mode)
No (non-batch mode)
Provide the Responsibility name for the user. For example: EGO_DEVELOPMENT_MANAGER.

Note: In batch mode (UI flow), the responsibility name is derived from the EBS Login.

RESPONSIBILITY_APPL_NAME String No (batch mode),
No (non-batch mode)
Application name for the above responsibility. For example: EGO

Note: In batch mode (UI flow), the application name is derived from the EBS Login.

SECURITY_GROUP_NAME String Yes (batch mode)
No (non-batch mode)
Security group name.
NLS_LANGUAGE String Yes (batch mode)
No (non-batch mode)
The current session language to use for the Web Service invocation.

Output

The output payload includes details based on the configurable parameters selected by the user.

Payload when publishing to Oracle Product Hub systems:

Related Topics

Oracle Product Hub Web Services Overview

Publishing Overview, Oracle Product Hub User's Guide

Defining Source Systems

Publishing Value Sets

Publishing Attribute Groups

Publishing Item Catalog Categories

Publishing Items and Structures, Oracle Product Hub User's Guide

Viewing the Publishing History, Oracle Product Hub User's Guide

Controlling the Output Payload

Error Reporting

Item Catalog Category Web Service

The item catalog category (ICC) Web Service includes the getICCDetails method, which returns the details of the ICC according to the parameters requested in the output. Users can invoke the method on both ICC versions and non-version ICCs. It can also be used to publish an ICC and its associated entities to other Oracle Product Hub systems.

Important: Before using Publication Web Services, you must complete some manual post-installation steps. Complete the steps documented in My Oracle Support ID 1336146.1. This My Oracle Support ID also includes troubleshooting tips.

Method: getICCDetails

This Web Service method provides an interface to extract the information about the ICC and/or its hierarchy based on input. It can also be used to publish this data to other Oracle Product Hub systems.

Modes

You can invoke the getICCDetails method using two modes:

Batch Mode

List Mode

While invoking the ICC services in either mode, provide the following WS-Security and Parameter inputs:

WS-Security
Parameter Name Type Optional Description
User Name String NO EBS “Applications User name”
Password String NO Password for EBS “Applications User”
Parameters
Parameter Name Type Optional Description
BatchId Integer No (batch mode)
Yes (non-batch mode)
The identifier of the Batch that was published from the PIM UI.
ICCId Integer Yes (batch mode)
No (non-batch mode)
The identifier of the ICC to be extracted/published.

Note: In Batch Mode, the ICCId is derived from the selected ICC.

In List Mode:

  • When publishing to external systems, you must provide the ICCId.

  • When publishing to Oracle Product Hub systems, you must provide either the ICCId or the ICCName.

ICCName String Yes

Note: This parameter is not considered while publishing to external systems.

The name of the ICC to be published to other Oracle Product Hub systems.
In Batch Mode, the ICCName is derived from the selected ICC.
In List Mode, provide either the ICCId or the ICCName.
VersionSequence Integer Yes (batch mode)
No (non-batch mode)
Version for which the service is needed. If left blank, the default is the current effective version.
UserDefAttrGrps Boolean Yes Flag to control whether to include the user defined attribute groups associated with the ICC(s) in the output payload or when publishing to Oracle Product Hub systems.
Default Value : True
Valuesets String Yes

Note: This parameter is not considered when publishing to external systems.

Flag to control whether to publish value sets associated with user defined attributes when publishing to Oracle Product Hub systems.
Default Value : True
ICCVersions String Yes

Note: This parameter is not considered when publishing to other Oracle Product Hub systems.

Flag that controls whether the version information for the ICC(s) is included in the output payload.
Default Value: True
TransAttrs String Yes

Note: This parameter is not considered when publishing to other Oracle Product Hub systems.

Flag to control whether the transaction attributes for the ICC(s) are included in the output payload.
Default Value: True
ICCPages String Yes

Note: This parameter is not considered when publishing to external systems.

Flag that controls whether to publish pages associated with ICCs to Oracle Product Hub systems.
Default Value: True
ICCFunctions String Yes

Note: This parameter is not considered when publishing to external systems.

Flag that controls whether to publish functions associated with ICCs to Oracle Product Hub systems.
Default Value: True
ICCStructure String Yes

Note: This parameter is not considered when publishing to other Oracle Product Hub systems.

Flag to control whether the structures for ICC(s) are included in the output payload.
Default Value: True
ParentICCs String Yes Flag to control whether the parent hierarchy for the ICC(s) is included in the output payload or published to Oracle Product Hub systems.
Default Value: True

Note: This parameter is honored only during “List” mode calls to the getICCDetails method.

ChildICCs String Yes Flag to control whether the child hierarchy for ICC(s) is included in the output payload or published to Oracle Product Hub systems.
Default Value: True

Note: This parameter is honored only during a “List” mode call to the getICCDetails method.

Sync

Note: This appears as the "Publish to PIM Systems Only" checkbox in the batch publishing flow.

String No (batch mode)
No (non-batch mode)
Flag to indicate whether to publish to external systems or other Oracle Product Hub systems.
A value of Y indicates publishing to Oracle Product Hub systems.
a value of N indicates publishing to external systems.
Auto Import String Yes

Note: This parameter is not considered when publishing to external systems.

Flag to control whether to launch the 'EGO Import Metadata' concurrent program in the target Oracle Product Hub system or not.
If it is set to 'N', the metadata interface tables in the target OPH systems are loaded with the data from the source OPH system. Users must manually launch this concurrent program to import the data in the interface tables into the production tables.
If it is set to 'Y', this concurrent program is automatically launched in the target OPH system, which then imports the data from the interface tables into the production tables.
Default Value: N
ReturnPayload String Yes

Note: This parameter is honored only in List mode.

Publishing to external systems: Flag to control whether the output payload includes the ICC(s) details.
Publishing to other Oracle Product Hub systems: Flag to control whether to display concurrent program errors and warnings occurring in the target OPH systems as well as any additional ICC information provided for publishing.
Default Value: True
Multi Selection Parameters
Parameter Name Type Optional Description
LanguageCode String Yes (batch mode)
Yes (non-batch mode)

Note: This parameter is not considered when publishing to Oracle Product Hub systems.

When publishing to exteral systems:
The language code in which to return the output, for example, US (for American English).
Default: Return output in all installed languages.

Note: Repeat this parameter multiple times to return output in more than one language.


When publishing to Oracle Product Hub systems:
When publishing to OPH systems, the attribute group translatable column values are published in all of the installed languages common between the source and target OPH systems.
LanguageName String Yes (batch mode),
Yes (non-batch mode)

Note: This parameter is not considered when publishing to Oracle Product Hub systems.

When publishing to external systems:
The language name in which to return the output, for example, English.
When publishing to Oracle Product Hub systems:
When publishing to OPH systems, attribute group translatable column values are published in all of the installed languages common between the source and target OPH systems.
SystemCode String Yes (batch mode)
No (non-batch mode)

Note: This parameter is not considered when publishing to external systems.

The system code for a target OPH system to which you plan to publish the ICC(s)
. Default behavior: at least one target OPH system must be selected/provided.

Note: Repeat this parameter multiple times when publishing to multiple systems.

SystemName String Yes (batch mode)
No (non-batch mode)

Note: This parameter is not considered when publishing to external systems.

The system name for the target OPH system to which you plan to publish the ICC(s) .
Default behavior: at least one target OPH system must be selected/provided.

Note: Repeat this parameter multiple times when publishing to multiple systems.

FND Security Parameters
Parameter Name Type Optional Description
RESPONSIBILITY_NAME String No (batch mode)
No (non-batch mode)
Provide the Responsibility name for the user.
For example: EGO_DEVELOPMENT_MANAGER

Note: In batch mode (using the UI flow), it is derived from the EBS Login.

RESPONSIBILITY_APPL_NAME String No (batch mode)
No (non-batch mode)
Application name for the above responsibility.
For example: EGO

Note: In batch mode (using the UI flow), it is derived from the EBS Login.

SECURITY_GROUP_NAME String Yes (batch mode)
No (non-batch mode)
Security group name.
NLS_LANGUAGE String Yes (batch mode)
No (non-batch mode)
The current session language to use for the Web Service invocation.

Output

The output payload includes details based on the configurable parameters selected by the user.

Payload when publishing to external systems:

Payload when publishing to Oracle Product Hub systems:

Related Topics

Publishing Overview, Oracle Product Hub User's Guide

Oracle Product Hub Web Services Overview

Defining Source Systems

Publishing Item Catalog Categories

Controlling the Output Payload

Error Reporting

Item Web Service

The item Web Service includes the getItemDetails and getStructureDetails methods, which return the details of the item according to the parameters requested in the output.

Important: Before using Publication Web Services, you must complete some manual post-installation steps. Complete the steps documented in My Oracle Support ID 1336146.1. This My Oracle Support ID also includes troubleshooting tips.

Method: getItemDetails

This Web Service method provides an interface to extract the information about the item and/or its hierarchy based on input.

Modes

You can invoke the getItemDetails method using three modes:

Batch Mode

Single Item Mode

List of Items Mode

While invoking the item services in either mode, provide the following WS-Security and Parameter inputs:

WS-Security
Parameter Name Type Optional Description
User Name String NO EBS “Applications User name”
Password String NO Password for EBS “Applications User”
Parameters
itemQueryParameters
Parameter Name Type Optional Description
BatchId Integer No (batch mode)
Yes (list mode)
Yes (single item mode)
The batch identifier that was published from the PIM user interface.
InventoryItemId Integer Yes (batch mode)
Yes (list mode)
No (single item mode)
Item identifier for which to extract the details.
OrganizationId Integer Yes (batch mode)
Yes (list mode)
No (single item mode)
Organization identifier to which the publishing item belongs.
OrganizationCode String Yes (batch mode)
Yes (list mode)
No (single item mode)
Organization code to which the publishing item belongs.
RevisionId Integer Yes (batch mode)
Yes (list mode)
No (single item mode)
Revision ID of the publishing item.
Revision String Yes (batch mode)
Yes (list mode)
No (single item mode)
Revision code of the publishing item.
RevisionDate Date Yes (batch mode)
No (list mode)
No (single item mode)
Revision date of the publishing item. If the structure name is provided, this date is considered for explosion of the structure in list or single item mode.
StructureName String Yes (batch mode)
No (list mode)
No (single item mode)
Structure name of the publishing item. All components of this structure are published along with the publishing item in list and single item mode.

Note: For the primary structure, provide the value as "Primary".

InventoryItemName
Segment1 through Segment19 String Yes (batch mode)
Yes (List mode)
Single item mode:
  • Yes – If InventoryItemId is provided.

  • No – If InventoryItemId is not provided.

The name of each individual segment that comprises the Publishing item name.

Note: The characteristics for all 19 segments are the same.

BomExploderParameters
LevelsToExplode Integer Yes Number of levels (0-60) to explode for a structure.
Default: 60
ExplodeOption Integer Yes The explode option for structure:
  1. All

  2. Current

  3. Current and future. By default, current is considered.

ExplodeStandard String Yes Whether to explode the standard structure or not.
  • Y – Explodes the standard structure.

  • N – Do not explode the standard structure.


By default, standard structures are exploded.
PublishEntities
OperationalAttributeGroups String Yes Used to turn operational attribute groups on and off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
UserDefinedAttributeGroups String Yes Used to turn user defined attribute groups on and off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
ItemRevision String Yes Used to turn item revision details on and off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
TransactionAttributes String Yes Used to turn transaction attributes on and off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
RelatedItems String Yes Used to turn related items on and off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
CustomerItems String Yes Used to turn customer items on and off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
ManufacturerPartNumbers String Yes Used to turn manufacturer part numbers on and off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
GTINCrossReferences String Yes Used to turn GTIN cross references on and off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
AlternateCategoryAssignments String Yes Used to turn alternate category assignments on and off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
SupplierAssignments String Yes Used to turn supplier assignments on and off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
ReturnPayload String Yes Flag to control whether the output payload includes the details of the item(s).
  • Y – includes the details of the item in the payload.

  • N – does not include the details of the item in the payload.


Default Value: Y
PublishOperationalAttributeGroups
ItemCatalog String Yes Used to turn the item catalog on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • OperationalAttributeGroups = Y and either:

    • ItemCatalog = N, then ItemCatalog is turned off in the payload.

    • ItemCatalog = Y, then ItemCatalog is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • ItemCatalog = N, then ItemCatalog is turned off in the payload.

    • ItemCatalog = Y, then ItemCatalog is turned off in the payload

InventoryCharacteristics String Yes Used to turn InventoryCharacteristics on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • OperationalAttributeGroups = Y and either:

    • InventoryCharacteristics = N, then InventoryCharacteristics is turned off in the payload.

    • InventoryCharacteristics = Y, then InventoryCharacteristics is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • InventoryCharacteristics = N, then InventoryCharacteristics is turned off in the payload.

    • InventoryCharacteristics = Y, then InventoryCharacteristics is turned off in the payload

PhysicalCharacteristics String Yes Used to turn PhysicalCharacteristics on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • OperationalAttributeGroups = Y and either:

    • PhysicalCharacteristics = N, then PhysicalCharacteristics is turned off in the payload.

    • PhysicalCharacteristics = Y, then PhysicalCharacteristics is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • PhysicalCharacteristics = N, then PhysicalCharacteristics is turned off in the payload.

    • PhysicalCharacteristics = Y, then PhysicalCharacteristics is turned off in the payload

BillsOfMaterialCharacteristics String Yes Used to turn BillsOfMaterialCharacteristics on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • OperationalAttributeGroups = Y and either:

    • BillsOfMaterialCharacteristics = N, then BillsOfMaterialCharacteristics is turned off in the payload.

    • BillsOfMaterialCharacteristics = Y, then BillsOfMaterialCharacteristics is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • BillsOfMaterialCharacteristics = N, then BillsOfMaterialCharacteristics is turned off in the payload.

    • BillsOfMaterialCharacteristics = Y, then BillsOfMaterialCharacteristics is turned off in the payload

WorkInProcessCharacteristics String Yes Used to turn WorkInProcessCharacteristics on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • OperationalAttributeGroups = Y and either:

    • WorkInProcessCharacteristics = N, then WorkInProcessCharacteristics is turned off in the payload.

    • WorkInProcessCharacteristics = Y, then WorkInProcessCharacteristics is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • WorkInProcessCharacteristics = N, then WorkInProcessCharacteristics is turned off in the payload.

    • WorkInProcessCharacteristics = Y, then WorkInProcessCharacteristics is turned off in the payload

CostingCharacteristics String Yes Used to turn CostingCharacteristics on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • OperationalAttributeGroups = Y and either:

    • CostingCharacteristics = N, then CostingCharacteristics is turned off in the payload.

    • CostingCharacteristics = Y, then CostingCharacteristics is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • CostingCharacteristics = N, then CostingCharacteristics is turned off in the payload.

    • CostingCharacteristics = Y, then CostingCharacteristics is turned off in the payload

ProcessingLeadTimeCharacteristics String Yes Used to turn ProcessingLeadTimeCharacteristics on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • OperationalAttributeGroups = Y and either:

    • ProcessingLeadTimeCharacteristics = N, then ProcessingLeadTimeCharacteristics is turned off in the payload.

    • ProcessingLeadTimeCharacteristics = Y, then ProcessingLeadTimeCharacteristics is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • ProcessingLeadTimeCharacteristics = N, then ProcessingLeadTimeCharacteristics is turned off in the payload.

    • ProcessingLeadTimeCharacteristics = Y, then ProcessingLeadTimeCharacteristics is turned off in the payload

PlanningCharacteristics String Yes Used to turn PlanningCharacteristics on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • OperationalAttributeGroups = Y and either:

    • PlanningCharacteristics = N, then PlanningCharacteristics is turned off in the payload.

    • PlanningCharacteristics = Y, then PlanningCharacteristics is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • ProcessingLeadTimeCharacteristics = N, then ProcessingLeadTimeCharacteristics is turned off in the payload.

    • ProcessingLeadTimeCharacteristics = Y, then ProcessingLeadTimeCharacteristics is turned off in the payload

PurchasingCharacteristics String Yes Used to turn PurchasingCharacteristics on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • OperationalAttributeGroups = Y and either:

    • PurchasingCharacteristics = N, then PurchasingCharacteristics is turned off in the payload.

    • PurchasingCharacteristics = Y, then PurchasingCharacteristics is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • PurchasingCharacteristics = N, then PurchasingCharacteristics is turned off in the payload.

    • PurchasingCharacteristics = Y, then PurchasingCharacteristics is turned off in the payload

ReceivingCharacteristics String Yes Used to turn ReceivingCharacteristics on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • OperationalAttributeGroups = Y and either:

    • ReceivingCharacteristics = N, then ReceivingCharacteristics is turned off in the payload.

    • ReceivingCharacteristics = Y, then ReceivingCharacteristics is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • ReceivingCharacteristics = N, then ReceivingCharacteristics is turned off in the payload.

    • ReceivingCharacteristics = Y, then ReceivingCharacteristics is turned off in the payload

OrderManagementCharacteristics String Yes Used to turn OrderManagementCharacteristics on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • OperationalAttributeGroups = Y and either:

    • OrderManagementCharacteristics = N, then OrderManagementCharacteristics is turned off in the payload.

    • OrderManagementCharacteristics = Y, then OrderManagementCharacteristics is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • OrderManagementCharacteristics = N, then OrderManagementCharacteristics is turned off in the payload.

    • OrderManagementCharacteristics = Y, then OrderManagementCharacteristics is turned off in the payload

InvoicingCharacteristics String Yes Used to turn InvoicingCharacteristics on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • OperationalAttributeGroups = Y and either:

    • InvoicingCharacteristics = N, then InvoicingCharacteristics is turned off in the payload.

    • InvoicingCharacteristics = Y, then InvoicingCharacteristics is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • InvoicingCharacteristics = N, then InvoicingCharacteristics is turned off in the payload.

    • InvoicingCharacteristics = Y, then InvoicingCharacteristics is turned off in the payload

WebOptionsCharacteristics String Yes Used to turn WebOptionsCharacteristics on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • WebOptionsCharacteristics = Y and either:

    • WebOptionsCharacteristics = N, then WebOptionsCharacteristics is turned off in the payload.

    • WebOptionsCharacteristics = Y, then InvoicingCharacteristics is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • WebOptionsCharacteristics = N, then WebOptionsCharacteristics is turned off in the payload.

    • WebOptionsCharacteristics = Y, then WebOptionsCharacteristics is turned off in the payload

ServiceCharacteristics String Yes Used to turn ServiceCharacteristics on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • OperationalAttributeGroups = Y and either:

    • ServiceCharacteristics = N, then ServiceCharacteristics is turned off in the payload.

    • ServiceCharacteristics = Y, then ServiceCharacteristics is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • ServiceCharacteristics = N, then ServiceCharacteristics is turned off in the payload.

    • ServiceCharacteristics = Y, then ServiceCharacteristics is turned off in the payload

AssetCharacteristics String Yes Used to turn AssetCharacteristics on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • OperationalAttributeGroups = Y and either:

    • AssetCharacteristics = N, then AssetCharacteristics is turned off in the payload.

    • AssetCharacteristics = Y, then AssetCharacteristics is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • AssetCharacteristics = N, then AssetCharacteristics is turned off in the payload.

    • AssetCharacteristics = Y, then AssetCharacteristics is turned off in the payload

ProcessMfgCharacteristics String Yes Used to turn ProcessMfgCharacteristics on or off in the payload.
  • Y – turn on

  • N – turn off


Default Value: Y
If OperationalAttributeGroups is Y, then only the value for this parameter is considered. For example, if:
  • OperationalAttributeGroups = Y and either:

    • ProcessMfgCharacteristics = N, then ProcessMfgCharacteristics is turned off in the payload.

    • ProcessMfgCharacteristics = Y, then ProcessMfgCharacteristics is turned on in the payload.

  • OperationalAttributeGroups = N and either:

    • ProcessMfgCharacteristics = N, then ProcessMfgCharacteristics is turned off in the payload.

    • ProcessMfgCharacteristics = Y, then ProcessMfgCharacteristics is turned off in the payload

ListOfPublishUserDefinedAttributeGroups
AttributeId Integer - The attribute ID identifies the transaction attribute to include in the payload. Use to configure the list of transaction attributes for a given revision to show in the payload. Use this to provide a list of attribute IDs.
AttributeName String - The attribute internal name identifies the transaction attribute to include in the payload. Use this to provide a list of transaction attribute internal names. If neither AttributeId or AttributeName are provided, then all transaction attributes associated with the item for a given revision are published in the payload.

Note: AttributeName takes precedence over AttributeId.

ListOfLanguages
LanguageCode String Yes The language code in which to return the translatable attributes in the payload.
For example, US (for American English).
By Default, the translatable attributes return in all installed languages.

Note: Repeat this parameter multiple times to return output in more than one language.

LanguageName String Yes The language name in which to return the translatable attributes in the payload.
For example: English.
ItemsList

Important: Provide the following parameters multiple times to publish multiple items.

InventoryItemId Integer Yes (batch mode)
No (list mode)
Yes (single item mode)
Item ID for which to extract the details.
OrganizationId Integer Yes (batch mode)
No (list mode)
Yes (single item mode)
Organization ID to which the publishing item belongs.
OrganizationCode String Yes (batch mode)
No (list mode)
Yes (single item mode)
Organization code to which the publishing item belongs.
RevisionId Integer Yes (batch mode)
No (list mode)
Yes (single item mode)
Revision ID of the publishing item.
Revision String Yes (batch mode)
No (list mode)
Yes (single item mode)
Revision code of the publishing item.
InventoryItemName

Important: Provide the following parameters multiple times to publish multiple items.

Segment1..Segment20

Note: Segment1 through Segment20 all have the same characteristics.

String Batch mode: Yes
Single item mode: Yes
List of items mode:
  • Yes – If InvetoryItemId is provided for an item.

  • No – If InventoryItemId is not provided for an item.

The individual segment's name that comprises the Publishing item name.
FndSecurity
RESPONSIBILITY_NAME String No
(Mandatory for any mode other than batch mode.)
Provide the responsibility name for the user.
For example: EGO_DEVELOPMENT_MANAGER
RESPONSIBILITY_APPL_NAME String No
(Mandatory for any mode other than batch mode.)
Application name for the responsibility.
For example: EGO
SECURITY_GROUP_NAME String Yes Security group name.
For example: STANDARD
NLS_LANGUAGE String Yes The current session language to be used for the Web Service invocation.

Output

The output payload includes item details based on the configurable parameters selected by the user.

Payload

Method: getStructureDetails

This Web Service method provides an interface to extract the information about an item's structure based on input. The payload only contains the details about the structure and its components. The payload does not contain item definition information for the components.

Modes

You can invoke the getStructureDetails method using three modes. The mode used is derived from the XML elements provided.

Batch Mode

Single Item Mode

List of Items Mode

While invoking the item services in any mode, provide the following WS-Security and Parameter inputs:

WS-Security
Parameter Name Type Optional Description
User Name String NO EBS “Applications User name” (FND User Name)
Password String NO Password for EBS “Applications User”
Parameters
Parameter Name Type Optional Description
StructureQueryParameters Complex Yes Use this part of the XML document for single item mode.
InventoryItemId Integer Yes (batch mode)
Yes (list mode)
No (single item mode)
Use in single item mode to query the payload for a given inventory item ID.
OrganizationId Integer Yes (batch mode)
Yes (list mode)
No (single item mode)
Use with the single item mode to query the payload for an item in a specific organization. Use an existing organization ID in the PIM instance. Use either the Organization Code or the Organization ID to retrieve a payload in this mode.
OrganizationCode String Yes (batch mode)
Yes (list mode)
No (single item mode)
Use with the single item mode to query the payload for an item in a specific organization. Use an existing organization code in the PIM instance. Use either the Organization Code or the Organization ID to retrieve a payload in this mode.
RevisionId Integer Yes (batch mode)
Yes (list mode)
No (single item mode)
Revision ID of the publishing item.
Revision String Yes (batch mode)
Yes (list mode)
No (single item mode)
Revision code of the publishing item.
RevisionDate Date Yes (batch mode)
No (list mode)
No (single item mode)
Use in single item mode to query the payload for a specific revision's structure of an item. Use a valid revision ID for the item provided in InventoryItemId or segments.
Provide one of the following fields as input for this mode: Revisionid /RevisionCode/RevisionDate.
StructureName String Yes (batch mode)
Yes (list mode)
No (single item mode)
Use in single item mode to specify the name of the structure for which to query the payload. This is a mandatory input for single item mode.
Segment1 through Segment15 String Yes (batch mode)
Yes (list mode)
No (single item mode)
Use in single item mode to specify the name of the item for which to query the payload. Depending on the customer setup for item name segments, provide values for any of the 15 segment fields. Either a value in inventoryItemid or value(s) in one or more of these segments are required in single item mode.
ListofLanguageInformation Complex Yes Use this part of the XML input to provide the language information. Repeat this tag multiple times as needed to specify multiple language information.
LanguageCode String Yes Use in the single item mode to specify the language in which to return the payload. If no value is specified in both LanguageCode and LanguageName tags, the payload returns the information in all languages defined within the PIM instance.
LanguageName String Yes Use in single item mode to specify the language in which to return the payload. If no value is specified in both LanguageCode and LanguageName tags, the payload returns the information in all languages defined within the PIM instance.
LevelsToExplode Integer Yes Use in single item mode to specify the number of levels to explode (0-60) for a structure.
Default: 60
BomExploderParameters Complex Yes Use to specify the BOM exploder behavior options as input. All the child elements control BOM explosion behavior.
ExplodeOption Integer Yes The explode options for the structure include:
  1. All

  2. Current

  3. Current and future. By default, current is considered.


Default: Current
ExplodeStandard String Yes Determines whether to explode the standard structure or not.
  • Y – Explodes the standard structure.

  • N – Do not explode the standard structure.


By default, standard structures are exploded. The explosion only explodes the model and option class.
PublishEntities Complex Yes This specifies configurability options for the payload. By default, the payload includes all information about the structure. This enables users to pick and choose what information to include in the payload by providing values to the elements in this section. Valid values for any configurability options elements are Y or N.
StructureRevision String Yes Specify whether to include the structure revision information as part of the payload.
StructureHeader AttributeGroups String Yes Specify whether to include the structure attribute group information as part of the payload.
StructureComponents String Yes Specify whether to include the structure components information as part of the payload.
ReturnPayload String Yes Flag that controls whether to include details in the output payload. For details, see Controlling the Output Payload.
PublishStructureAttributeGroup Complex Yes By default, the payload includes all attribute groups. However, you can specify the list of attribute groups to include. If attribute groups are specified, then only those attribute groups are included in the payload.
AttributegroupId Integer Yes UDA Attribute Group ID
AttributeGroupName String Yes UDA attribute group name. Specify either the attribute group id or the attribute group name.
PublishStructureComponents Complex Yes Provides payload configurability options for structure component details. All configurability option elements accept Y or N values.
Default: Y, so, by default, the payload includes all information.
StructureReferenceDesignators String Yes Specify whether to include the reference designator in the payload.
StructureSubstituteComponents String Yes Specify whether to include the substitute component details in the payload.
ComponentAttributeGroups String Yes Specifies whether to include the component UDAs in the payload.
ComponentExclusions String Yes Specifies whether to include the component exclusions in the payload.
ComponentUDAOverrides String Yes Specifies whether to include the component UDA override details in the payload.
ValueSetExclusions String Yes Specifies whether to include the value set exclusions in the payload.
ListofPublishComponentAttributegroups Complex Yes By default, the payload includes all attribute groups. However, you can specify the list of attribute groups to include. If you specify attribute groups, then only those attribute groups are included in the payload.
AttributegroupId Integer Yes UDA attribute group ID
AttributeGroupName String Yes UDA attribute group name. You can specify either the attribute group ID or attribute group name.
BatchStructureQueryParameters Complex Yes Use this part of the input payload when using batch mode.
BatchId Integer Yes Batch mode creates this batch ID during the item publication process. The return payload includes structure information for all items in this batch.
Configurability Complex Yes All configurability options described for single item mode apply to batch mode.
ListofItemStructureQueryParams Complex Yes Use this part of the input payload when using list item mode.
All configurability options described for single item mode apply to the list item mode. The options apply to the whole list.
InventoryItemId String Yes Specifies in list item mode the inventory item ID in the list. You can either specify the ID or name.
OrganizationId String Yes Specify the organization for the item structure. You can either specify the organization ID or organization code.
OrganizationCode String Yes Specify the organization for the item structure. You can either specify the organization ID or organization code.
RevisionId String Yes Specify the revision of the item in the list. Provide either the revision ID or revision code.
Revision String Yes Specify the revision of the item in the list. Provide either the revision ID or revision code.
RevisionDate String Yes Specify the revision date of the item in the list.
StructureName String Yes Specify the structure name for which to return the payload.
Configurability Complex Yes The configurability options are same as single item mode.
FNDSecurity Complex Yes Specifies the FND securities information.
RESPONSIBILITY_NAME String No
(Mandatory for list mode.)
Provide the responsibility name for the user.
For example: EGO_DEVELOPMENT_MANAGER
RESPONSIBILITY_APPL_NAME String No
(Mandatory for list mode.)
Application name for the responsibility.
For example: EGO
SECURITY_GROUP_NAME String Yes Security group name.
For example: STANDARD
NLS_LANGUAGE String Yes The current session language used for the Web Service invocation.

Output

The output payload includes structure details based on the configurable parameters selected by the user.

Payload

Related Topics

Oracle Product Hub Web Services Overview

Publishing Overview, Oracle Product Hub User's Guide

Publishing Items and Structures, Oracle Product Hub User's Guide

Controlling the Output Payload

Error Reporting

Controlling the Output Payload

The output payload of Web Services when publishing to external systems can grow very large due to the number of entities and sub-entities returned. This can become a bottleneck in performance when the Web Service client consumes the payload.

To facilitate processing smaller portions of the entire payload at a time, use the optional parameter ReturnPayload as part of the input parameter list for every Web Service. When the Web Service client intends to process smaller payloads, the client invokes the Web Service method with the ReturnPayload parameter set to 'False'.

If the ReturnPayload parameter is set to 'False', the Web Service method does not return the payload and instead returns a set of parameters in the payload to use for retrieving the information from a database view.

Example when ReturnPayload = False

The output returned contains the following information in AdditionalInfo:

<listOfStructureHeaders
     xmlns:ns0="http://xmlns.oracle.com/apps/bom/structure/service"
     xmlns="">
<AdditionalInfo>
<SessionId>7612</SessionId>
<EntityCount>0</EntityCount>
</AdditionalInfo>
.........
</listOfStructureHeaders>

Using the values of SessionId and EntityCount, the Web Service consumer can retrieve the payloads for individual entities from the database view EGO_PUB_WS_OUTPUT_V in the Oracle Product Hub instance. The columns of the database view EGO_PUB_WS_OUTPUT_V that you can use to retrieve the output payload in parts is provided below:

Column Name Description
SESSION_ID Session ID corresponding to this call to Web Service.
WEB_SERVICE_NAME Webservice method name.
SEQUENCE_ID Sequence of the entity in the payload.
STATUS Marker column for consuming the Web Service entity.
XMLCONTENT Output payload corresponding to one entity in the payload.
XMLCLOB Output in clob.
CREATION_DATE Creation Date

Each row in the view corresponds to one entity returned by the Web Service method.

Related Topics

Item Catalog Category Web Service

Value Set Web Service

Item Web Service

Error Reporting

Error Reporting

Any errors in the execution of the Web Service are reported in the output payload Status section. The following two tables show the different errors that display when publishing to external systems or to Oracle Product Hub systems. The error information is contained in the format shown below.

Output Payload Status Section When Publishing to External Systems
Payload Description
<Status>
-
  <Error>
-
   <Code>EGO_INVALID_ITEM_ID</Code>
Error code
   <Message>Invalid Inventory Item Id</Message>
Error message
   <InputIdentifier>
Input that caused the error.
    <Parameter>
Parameters list for the input.
     <Name>OrganizationId</Name>
Parameter name
     <Value>204</Value>
Parameter value
        …..
-
        …..
-
   </InputIdentifier>
-
  </Error>
-
</Status>
-
Output Payload Status Section When Publishing to Oracle Product Hub Systems
Payload Description
<Status>
-
  <Error>
-
   <Code>EGO_SYNC_ENTITY_ERROR</Code>
Error code
   <Message>Entity VS115_0006 failed the import process in target system USER_ENTERED.</Message>   
Error message
   <LanguageCode>US</LanguageCode>
Language code
    <SystemCode>USER_ENTERED</SystemCode>
System code for the destination Oracle Product Hub system where the error occurred.
    <InputIdentifier>
Input that caused the error.
     <Parameter>
Parameters list for the input.
      <Name>VS</Name>
Parameter name
      <Value>VS115_0006</Value>
Parameter value
        …..
-
        …..
-
    </InputIdentifier>
-
  </Error>
-
  <Warning>
-
   <Code>EGO_SYNC_ENTITY_WARNING</Code>
Warning code
   <Message>One of the entities associated with AG115_0006 failed the import process in target system USER_ENTERED.</Message>
Warning message
   <LanguageCode>US</LanguageCode>
Language code
   <SystemCode>USER_ENTERED</SystemCode>
System code for the destination Oracle Product Hub system where the error occurred.
   <InputIdentifier>
Input that caused the warning.
    <Parameter>
Parameters list for the input.
    <Name>AG</Name>
Parameter name
    <Value>AG115_0006</Value>
Parameter value
        …..
-
        …..
-
   </InputIdentifier>
-
  <Warning>
-
</Status>
-

TheWeb Service client can extract and make use of this information to report errors returned from the Web Service call.

Related Topics

Oracle Product Hub Web Services Overview

Publishing Overview, Oracle Product Hub User's Guide

Item Catalog Category Web Service

Attribute Group Web Service

Value Set Web Service

Item Web Service