Question
State Farm Insurance
US
Last activity: 14 Apr 2016 21:18 EDT
How should we move the JSON String into a page for REST Call
Pega version - 7.1.8
We have a rest service which is expecting a JSON String as request during POST.
The data is being mapped to clipboard by our application as
SampleApp-Data-Product
userID
checkoutEntry
sourceChannelCode
ProductDetailsTO (Page of class SampleApp-Data-Product-ProductDetailsTO)
policyOwnerClientID
paymentMode
policyInformation (Page of class SampleApp-Data-Product-ProductDetailsTO-policyInformation)
policyNumber
effectiveDate
L1ProductDetailsTO (Page of class SampleApp-Data-Product-L1ProductDetailsTO)
L2ProductDetailsTO (Page of class SampleApp-Data-Product-L2ProductDetailsTO)
Pega version - 7.1.8
We have a rest service which is expecting a JSON String as request during POST.
The data is being mapped to clipboard by our application as
SampleApp-Data-Product
userID
checkoutEntry
sourceChannelCode
ProductDetailsTO (Page of class SampleApp-Data-Product-ProductDetailsTO)
policyOwnerClientID
paymentMode
policyInformation (Page of class SampleApp-Data-Product-ProductDetailsTO-policyInformation)
policyNumber
effectiveDate
L1ProductDetailsTO (Page of class SampleApp-Data-Product-L1ProductDetailsTO)
L2ProductDetailsTO (Page of class SampleApp-Data-Product-L2ProductDetailsTO)
The REST service is in the class PegaSample-Data-SampleRESTCall
In the REST service under the method TAB under POST we have the
Map From -> as JSON and
Map From Key -> as Request (Request is a page of class PegaSample-Data-SampleRESTCall_Request)
Can we read from the clipboard pages and create a JSON string in the Request to pass to the REST service.
The service expects the Request String as –
Message was edited by: Lochan to add Category