Question
Orange Business Services
FR
Last activity: 29 Mar 2019 8:58 EDT
PATCH method for REST connectors
Hello,
We are using Pega 7.3.1 and we need to call a REST API using the PATCH method. Unfortunately, the method PATCH is not supported for REST Connectors in Pega.
The API that we need to call is Microsoft Partner Center REST API : https://msdn.microsoft.com/en-us/library/partnercenter/mt667943.aspx
Especially, the scenario "Change the quantity" requires using the PATCH method : https://msdn.microsoft.com/en-us/library/partnercenter/mt614218.aspx
We tried to use the method PUT instead, but Microsoft API won't accept it and we MUST connect using PATCH method.
This is a blocking issue for one of our major projects that relies on Pega.
Please provide an enhancement to allow the PATCH method for REST Connectors asap.
Best regards,
Vincent.
***Edited by Moderator Marissa to update categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Hi Vincent,
Regarding this requirement FDBK-15176 has already been created and you can look into this item or followup with your account executive regarding this feedback item. As of now its status is in Open-InReview and will let you know if i get any further update on this feedback item.
Hope this might be helpful to you.
Regards
Mahesh
Pegasystems Inc.
US
Additionally i had added your use case information in the above feedback item and updated the respective Product specialist who is looking into it. You can followup with this feedback item so that you can get some update soon.
Capgemini
US
you can pass this header in the call ‘ X-HTTP-Method-Override’ setting it to PATCH, and do a POST call with the appropriate patch body.The server side will be able to recognize it as a PATCH call and do the needful.
Capgemini India Pvt. Ltd
IN
Hi MustafaT0210,
We also have a similar requirement .Can you please elaborate the process to achieve the same .
Regards,
Abhishek
Pegasystems Inc.
IN
Hi,
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write Post button here. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.
Burgess
US
Using the override method we are getting the request as a post, not a patch. Is this override method intended to be received as a patch, not a post?
Pegasystems Inc.
GB
I have also tried with the X-HTTP-Method-Override set to PATCH in the Header on the POST method on the Connector however it still gets treated as a POST? Is it the case then that the override gets ignored when went via Pega?
Capgemini India Pvt. Ltd
IN
Hi TommieB3,
I fixed the issue by creating a custom java function in our project . I used the "CloseableHttpClient" object which supports the httppatch method .
Regards,
Abhishek
Credit One
US
Can you please elaborate on it. In my project We also need to use PATCH method to connect to REST API.
Pegasystems Inc.
US