Question

2
Replies
297
Views
AviralM0 Member since 2016 2 posts
Intel
Posted: May 22, 2017
Last activity: June 6, 2017
Closed
Solved

Mule Pega connector Put operation on cases resource not working

Hi Team,

I am working on a mule POC to use Mule Pega connector. I am using following URL as reference

https://anypoint.mulesoft.com/apiplatform/mulesoft-832/#/portals/organizations/47f07e0a-f578-47d4-9591-d9e7afffb0fc/apis/10313391/versions/130631

I am able to make most of the operations except PUT on cases resource.

I am facing issue with PUT operation in the portal it says to send ETag as If-match header which is received in header during get operation or create operation on a case. I tried the same. But, always getting error message that

{

"pxObjClass": "Pega-API-CaseManagement-Case",

"errors": [

{

"ID": "Pega_API_021",

"message": "Unauthorized access: If-Match does not match ETag",

"pxObjClass": "Pega-API-Error"

}

]

}

I am using following URL

https://intel-dt1.pegacloud.io:443/prweb/api/v1/cases/SAND-FW-SDASANDBOXFW-WORK%20A-207?actionID=pyUpdateCaseDetails

header being sent is

If-Match=20170519T063422.162 GMT

Authorization= <something>

Content-Type=application/json

Cache-Control=cache

where if-Match is the value of the etag which we get while doing get for same case.

Could someone please help me on this.

***Moderator Edit: Vidyaranjan | Updated Categories***

Case Management
Moderation Team has archived post
Share this page LinkedIn