Question

7
Replies
213
Views
Close popover
Nicola Gazzilli (NicolaG10)
Reply S.P.A.
Consultant
Reply S.P.A.
IT
NicolaG10 Member since 2018 9 posts
Reply S.P.A.
Posted: December 24, 2019
Last activity: January 2, 2020
Closed
Solved

Issue mapping JSON request

Hi,

I've this particular issue mapping json attribute of a REST service I expose.

For example, this is the request that I receive:

{
 "step": 1
}

and this is the response I want to send:

{
 "step" : 2
}

In Pega, my property is "Step", and I've set pzExternalName to "step". This work for the response, but the request can't map "step" json value in my property, that results blank.

Tracing the service, it create a Page with a property named "step" and not "Step" as I expected. Any suggestion? What I'm doing wrong?

Thanks in advance.

Data Integration
Moderation Team has archived post