Skip to Content
Technical Articles
Author's profile photo Artem Solohin

REST Receiver Custom error handling use payload PI 7.4

How to use json payload in custom error handling in REST Receiver Adapter?

I don’t know.

But

If you set

And use

You will get mapped json response in converted xml format.

It means that at first adapter check json message and get replyCode (it is field in response json message), then DO MAPPING from convert data format and THEN do Message Content mapping! That is funny.

 

Assigned tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Shiva G
      Shiva G

      Great! Thanks Artem!

      I could handle the exact error responses from the target APIs now 🙂

      Regards,

      Shiva

      Author's profile photo Sebastian Alvarez
      Sebastian Alvarez

      Thank you very much!!! You've helped me very much!