Skip to Content

REST Adapter: How to remove root element in JSON payload

Hi,

I am creating a interface SOAP --> PI --> REST ( POST ) and able to send a request . I would like to remove

"String": from json payload. Could you please help me to remove element from JSON payload?

Checked SAP note: 2465948, it's very difficult to implement it in the current system. please help , is there any option?

any help?

Thanks

Praveen

jsonrequest.png (3.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Hi

    I am trying to convert my payload to json, but still my payload look like this

    SElect" target="_blank">http://schemas.latrobe.edu.au/mw/b2b/starrez">SElect top 10 start at 0 from booking

  • Follow
  • Get RSS Feed

1 Answer

  • Jan 22 at 09:09 PM

    Can you try this note -

    SAP Note 2175218, is explicit instruction of JSON processor on how to treat particular XML elements.

    can you also provide a complete JSON and XML sample? and the Node names where you are facing problem?

    Thanks

    Sugata


    capture.png (70.2 kB)
    capture.png (21.9 kB)
    Add comment
    10|10000 characters needed characters exceeded