cancel
Showing results for 
Search instead for 
Did you mean: 

REST Call with attachment to Ariba API

Former Member
0 Kudos

Hello Experts,

We have a requirement where we need to make REST API Call to Ariba with the pdf attachment.

I checked a few blogs but couldn't confirm if REST adapter can support Attachments.

Our requirement is to post the attachment to Ariba network which is uses API. This we need to implement using REST Adapter.

Can this be achieved?

If yes, can you please guide ?

Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor
0 Kudos

Hi Deepika

At the moment, the REST adapter does not support attachments - refer below:-

REST Adapter Overview - Advanced Adapter Engine - SAP Library

One alternative would be to use the SOAP adapter and select "Do not use SOAP envelope". This way it behaves like an HTTP POST and attachments are supported by the SOAP adapter.

Regards

Eng Swee

Former Member
0 Kudos

Our requirement is to send the attachment as a multipart/mixed Content-Type to Ariba.

We are getting unsupported media type error when using REST adapter.

Is there a limitation in PI rest adapter?

Answers (0)