Question

6
Replies
277
Views
Suman Palukuru Member since 2015 60 posts
Tata Consultancy Services Ltd
Posted: 4 years ago
Last activity: 4 years 5 months ago
Closed

Can't we refer py,px properties in JSON request?

Hi,

I am building a service REST with the media type as application/JSON. In my data I have a embeded page which holds the address of the customer. In order to achieve this I am creating a Page property of Data-Party class , so I can use the OOTB properties.

And below is my JSON request. But when I pass these as part of my POST request, Pega is not able to recognize py properties and mapping of data is not done from Service page to work page.

Any thoughts?

Sample request:

{

    "SourceSystem": "GPP",

    "ExceptionCasesList": [{

      "Amount": "100",

      "ExternalTrackID": "UI022907432780122106",

      "BankAccountNo": "1235459343",

      "LoadNo": "3577823",

      "CheckORCCNNo": "4326777",

      "DoctTypeCode": "50",

      "BankRoutingNo": "f",

      "CustomerName": "JPMC",

      "GLAccountNo": "1232323",

   "PaymentRCVTS":"",

   "ExceptionRCVTS":"",

      "Reason": "1",

      "Region": "US1",

      "PartyAddress": {

        "pyWorkAddress1": " 706 NW 89th Ave",

        "pyCity": "Plantation",

        "pyState": "Florida",

  "Test":"test",

        "pyPostalCode": "33324"

      }

    }]

  }

MyServicePage inbound mapping: In the below highlighted section Test property is mapped properly , but not the pyProperties.

test.png

Low-Code App Development Installation and Deployment Low-Code App Development Upgrades Case Management Data Integration Security System Administration
Moderation Team has archived post
Share this page LinkedIn