Question


Tata Consultancy Services
IN
Last activity: 10 Mar 2023 17:32 EST
Case not Found issue
Hi,
I am trying to get case details from Pega V2 DX API and throwing response as "Case not found" even we have cases exists.
We are using OAUTH2.0 authorization and used client credentials option and authorized.
Please do needful.
***Edited by Moderator Marije to add Capability tags***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


Mphasis
IN
@LakshmideepikaK Please Let us know the process in brief.
If the API is calling the report / Data Set / Logic in activity, then you should be verifying the filter condition on the corresponding rule which is fetching the case records from the DB.
Thanks
UC


NCS Pte. Ltd
SG
Hi @LakshmideepikaK: Were you able to trace the service method to check if there are any issues? If the tracer is good, can you let us know the API used? If it is "GET /cases/{caseID}", please make sure you are passing pzinskey of the case as parameter.
Thanks.


oligos
FR
@ArulDevan Hi facing the same issue do you know why ?
im passing the pzinskey pls see the attachment tks


NCS Pte. Ltd
SG
HI @nollsn16638745: I could see you are passing the case key as a query parameter. Instead it should be as resource path. In your case it should be as below.
<Your Host>/prweb/api/v1/cases/<Case Key>
Thanks.


oligos
FR
HI @ArulDevan Thank you!! it works fine now !!
-
Aruldevan Thangappan T
Updated: 6 Mar 2023 2:23 EST


Tata Consultancy Services
IN
@ANK06 , Please let me know how did you pass param for caseID?
I have provided input as "<Your Host>/prweb/api/v1/cases/<Case Key>" and its not working.


NCS Pte. Ltd
SG
Hi @LakshmideepikaK: May i know if you are using tools like postman to test this? If so it would be in the place where you mention the end point URL. End point URL should contain the Case key.
Thanks.


oligos
FR
Hi @LakshmideepikaK PFA :)