cancel
Showing results for 
Search instead for 
Did you mean: 

PI REST payload

Former Member
0 Kudos

Hello,

I've a scenario R3 <> PI <> Rest API, I need to send a payload with variable from R3 to Rest API and process the ouput. The problem is, that the payload needs to be `plain`, without any name etc. So I have mapping from R3 RFC to a single variable data type/message type, which produces following payload:

<?xml version="1.0" encoding="UTF-8"?> <ns1:request_DT xmlns:ns1="somenamespace">variable</ns1:request_DT>

I need the payload to have only 'variable', otherwise the API returns error. How to achieve that ?

Accepted Solutions (1)

Accepted Solutions (1)

PriyankaAnagani
Active Contributor
0 Kudos

Did you try with "Strip Operation from Message" option in the REST receiver adapter???

--Priyanka

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks, this helped, I was confused that in SXMB_MONI I see the message with all XML tags, no matter whether this options was ticked or not.