Question

How to get the response in JSON format for logging in REST Services

When we are consuming Rest Service in pega, We can able to find the request JSON in pyRequestData But Could not able to find the response JSON in the tracer in the parameter page.

Can any one help me on this.

Thanks,

Manideep.

***Edited by Moderator Marissa to move from Pega Academy to Pega Support Community; update platform capability tags***

Comments

Keep up to date on this post and subscribe to comments

December 9, 2019 - 11:58am

Set logger
com.pega.pegarules.integration.engine.internal.ServiceMappingUtils
to debug

December 9, 2019 - 9:46pm
Response to DmitryK7052

Hi,

I want to log only for a single service. So i just want to capture the JSON response from a parameter . Request am able to get from pyRequestData parameter but I want log the JSON response as well.