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

MOSC Banner

(siebel ,rest) How to send two data ?what is the format of the json?

edited Sep 16, 2017 5:00AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 1 commentAnswered

if i want to insert one data

the json is like

{

    "body": {

        "SiebelMessage": {

            "MessageId": "",

            "MessageType": "Integration Object",

            "IntObjectName": "Voucher",

            "IntObjectFormat": "Siebel Hierarchical",

            "ListOfVoucher": {

                " Voucher": {

                    "Product Code": "23423423",

                    "Code": "2342423",

                    " Code": "423423423",

                }

            }

        }

    }

}

but if i want to sent two date in one json,what should i do?like this?(I tried and found that it was wrong)

{

    "body": {

        "SiebelMessage": {

            "MessageId": "",

            "MessageType": "Integration Object",

            "IntObjectName": "Voucher",

            "IntObjectFormat": "Siebel Hierarchical",

            "ListOfVoucher": [

                {

                    "Product Code": "23423423",

                    "Code": "2342423"

              

                },

                {

                    "Product Code": "23423423",

                    "Code": "2342423"

                }

            ]

        }

    }

}

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