Question

7
Replies
149
Views
NicolaG10 Member since 2018 9 posts
Reply S.P.A.
Posted: 9 months ago
Last activity: 8 months 3 weeks ago
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
Share this page LinkedIn