Question

3
Replies
1018
Views
srikanthg2912 Member since 2017 1 post
Incessant Technologies
Posted: September 13, 2017
Last activity: September 14, 2017
Closed

Page Group- JSON Mapping

Hi

I am using the OOTB REST service - api.v1.cases - Cases :: Post Method Pega API . which is a final rule to create new work items

Required Parameters for the REST service : Case type , flow type and content

I am creating a temporary Page - workpage and setting all the required fields as needed in the to be created WI and setting Workpage to content parameter.

Problem : When I am setting a page group like pyWorkParty(Customer) in workpage , I am getting the 500 - Error from the REST service response .

Sample :

{"content":{"pxUrgencyWork":0,

"pyWorkParty":{"Customer":{"pxSubscript":"Customer","pyFirstName":"srikanth"}},"pxUrgencyPartyTotal":0},"caseTypeID":"XXX-XX-XXX","processID":"pyStartCase"}}

We can try the output at : In the pega environment , on Top right corner , Go To : Resources - > Pega API - > cases - > Post Method - > Paste the content above as request and press "Try it now "

Any help is really appreciated.

***Updated by moderator: Lochan to add Categories***

Data Integration
Moderation Team has archived post
Share this page LinkedIn