Question

2
Replies
31
Views
Close popover
Jean Carlo Biscocho (Jean Carlo)
AXA
Pega Technical Specialist
AXA
PH
Jean Carlo Member since 2016 2 posts
AXA
Posted: July 24, 2020
Last activity: July 24, 2020

How to create a JSON format request in Connect-Rest Pega 7.1.5 version

Upon checking the data-transform for additional configuration option for Clipboard/JSON is not available in the current pega 7.1.5 veresion.

What could be the alternative for this one in order to map the request data in JSON format POST method?

Sample payload:

POST API: https://api-testing.com /link-generation

HEADER: {              

 'Authorization': 'Bearer <AUTH_V2_TOKEN>',              

 'Content-Type' : 'application/json'        }

 

{   

"application": "PEGA",   

"clientId": "PEGA",   

"redirection_url": "http://api-test.com/ link",   

"authentication": {},   

"profile": {        

       "status": "new",       

       "clientId": "BPM",       

       "policyCategory": "Personal",       

       "policyType": "<policyType>",       

       "notification_url": {           

                  "url": "https://api-test.com/ notify",           

                   "headers": {               

                                         "Authorization": ""          

                                     }       

                          }   

                   }

}

 

***Edited by Moderator: Pallavi to update platform capability tags***  

Pega Platform 7.1.5 Data Integration