Idea

11
Replies
5649
Views
Russ Simmons (SIMMR-1)
PEGA
Consulting Manager
Pegasystems Inc.
US
SIMMR-1 Member since 2013 14 posts
PEGA
Posted: March 1, 2017
Last activity: October 16, 2018
Posted: 1 Mar 2017 14:31 EST
Last activity: 16 Oct 2018 12:03 EDT

How do you get the RAW JSON from a clipboard conversion?

The client needs to do some specific logging and we are having to use the function pxConvertPageToString to get the JSON message. However Pega includes pxObjClass specifics in the produced JSON text as shown below. Is there a way to get the RAW JSON without the Pega information being included?

"{

"pxObjClass":"DB-FW-CAR-Int-CRREV1-CalculateClientRisk_Request"

,"body_POST":{

"pxObjClass":"DB-FW-CAR-Int-CRREV1-CalculateClientRisk_Body_POST"

,"clientRiskRatingRequest":[

{

"pxObjClass":"DB-FW-CAR-Int-CRREV1-ClientRiskRatingRequest"

,"clientDetails":{

"pxObjClass":"DB-FW-CAR-Int-CRREV1-ClientDetails"

,"recordID":"1"

,"riskRatingType":"LOCAL"

}

,"entityRiskType":{

"pxObjClass":"DB-FW-CAR-Int-CRREV1-EntityRiskType"

,"typeKYCLegalEntity":"Error"

}

,"industryRiskType":{

"codeType":"NACE"

,"pxObjClass":"DB-FW-CAR-Int-CRREV1-IndustryRiskType"

}

,"productRiskType":[

{

"productName":"Adoption Only"

,"pxObjClass":"DB-FW-CAR-Int-CRREV1-ProductRiskType"

}

]

}

]

,"header":{

"callerSystem":"59248-1"

,"pxObjClass":"DB-FW-CAR-Int-CRREV1-Header"

,"requestID":"dbCAR-16113834"

,"requestTimeStamp":"2017-03-01 19:11:53+02:00"

}

}

}

"

***Updated by moderator: Lochan to add enhancement request ID under Related Support Case Number field***

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Data Integration System Administration