Discussion

11
Replies
3287
Views
LakshmikanthaReddy Member since 2009 2 posts
Barclays
Posted: June 11, 2015
Last activity: October 4, 2018
Closed

Unable to Construct JSON format

Hi,

I successfully consume the REST end point uRL in Pega 7.1.7 and followed the below steps and I need to pass to request as JSON and will receive response from external.

Step 1) Enter the REST URL

Step 2) Define parameters as per REST URL say I have 4 and selected Is Parameter option as True.

Step 3) Selecting the Method as POST.

Step 4) Generated Records and I feel its created much less

For example I have below sample request message after generate I didnt see the Mappings (ProcessDate) from Header and Application from BODY etcc.., generated

{

"Request": {
"HEADER": {
"ProcessDate": "String"
},
"BODY": {
"Application": {
"EmailID": "String"
},
"Miscellaneous": "text"
}
}
}

How we will map request and call CONNECT-REST ?

**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
Moderation Team has archived post
Share this page LinkedIn