Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Jason Format issue using REST Adapter

$
0
0

Hi All,

 

I am working on IDoc toJason format in PI7.31 SP15.I am facing issues below.

 

1.

actual Jason format:

{"data":{"id":"s123","types":11}}


Expected format:

{"data":[{"id":"s123","types":11}]}--How to achieve it?


2.Expected Jason format below  in case of multiple records ,i mean data has to repeat for each record.Is it possible?

{"data":[{"id":"s123","types":11}]},{"data":[{"id":"s123","types":11}]},{"data":[{"id":"s123","types":11}]}


Please provide some inputs on above.


Thanks,

Giri



Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>