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

MOSC Banner

Siebel Unable to read property of incoming json

Siebel 22.5

Hi All,

We are trying to integrate Siebel with another application via Inbound REST. We were testing the feasibility and wrote the below script to read the properties from incoming JSON.

sOperation = Inputs.GetProperty("eventType");

sReason = Inputs.GetProperty("reason");

sPhoneNum = Inputs.GetProperty("address");

The above properties get read/rendered successfully when the incoming JSON is in the below format.

{"body":{

"eventType": "event",

"channel": "text",

"address": "+phonenum",

"groupId": " group",

"reason": "not active",

"timestamp": "2024-01-23T18:43:42.097168Z"

}}


However, these properties aren't read when the incoming JSON is the below format.

{

"eventType": "event",

"channel": "text",

"address": "+phonenum",

"groupId": " group",

"reason": "not active",

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