Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

Custom Integration Object as Output in custom Business Service invoked in REST API

edited Jun 21, 2017 5:00AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 6 commentsAnswered

Dears,

we need to invoke a custom BS via REST to retrieve records provided by a custom IO.

We have different custom IOs and we need to set as BS' output one of them according to the Inputs properties during the call.

In order to set the needed IO we are using scripting:

var newPS = TheApplication().NewPropertySet();

newPS.SetType("SiebelMessage");

newPS.SetProperty("MessageId","");

newPS.SetProperty("MessageType","Integration Object");

newPS.SetProperty("IntObjectName",< IO name>);

newPS.SetProperty("IntObjectFormat","Siebel Hierarchical");

Outputs.AddChild(newPS);

the problem is that with this piece of code we get only the following response from REST

{

  "SiebelMessage": {

    "IntObjectFormat": "Siebel Hierarchical",

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center