cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP 202 instead of HTTP 200 with PI Rest Adapter

vishal_javalkar
Explorer
0 Kudos

Dear Experts.

Any idea if we can send HTTP 202 instead of HTTP 200 from PI REST Sender Adapter , like we have a similar functionality for SOAP adapter.

Regards,

Vishal

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

HI, Didi you find solution to this issue ?

vadimklimov
Active Contributor
0 Kudos

Hi Vishal,

REST sender adapter shall return status code 200 for synchronous calls and 202 for asynchronous calls. There was an issue with this and the adapter was returning status code 200 for both synchronous and asynchronous calls, but it was fixed and fix described in SAP Note 2176418. Does it address your concern?

Regards,

Vadim

0 Kudos

HI, Did you find a solution to this issue?

Former Member
0 Kudos

Hi Vishal,

Did you find a way of sending the 202 ? I have a similar requirement, to send HTTP 206, and don´t see a way of doing this in the adpater while preserving the response payload.

We were only able to configure different http statuses on the error handling tab of the REST adptater, but by doing that the response payload is not maintained.

Thank you.