Question
Incessant Technologies
IN
Last activity: 14 Sep 2017 4:11 EDT
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***