(siebel ,rest) How to send two data ?what is the format of the json?
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"
}
]
}
}
}