Skip to Content
0
Nov 13, 2015 at 03:41 AM

Jason Format issue using REST Adapter

245 Views

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