Skip to Content
1
Jan 04, 2018 at 12:22 AM

SAP PO REST Adapter: Channel selection based on HTTP Headers

262 Views Last edit Jan 04, 2018 at 12:25 AM 2 rev

Dear Community,

We have a requirement where a third party system wants to send various messages to our SAP PO's REST adapter (same endpoint). The message contains a header element and payload. Based on the value of that header (eg., id = 1 or 2 or 3), we need to select the correct REST channel. In the REST channel, currently we can only filter by JSON Element, XPath Element and HTTP operation. I don't see any option to filter by HTTP Header.

I followed the following blog and saw someone has posted a similar question on this topic:

https://blogs.sap.com/2014/12/18/pi-rest-adapter-same-endpoint-for-multiple-integration-flows/

If someone has had a similar requirement and found a workaround, please let me know.

Thansk in advance.

Regards,

Prasanna

Attachments

rest.png (13.8 kB)