Question

7
Replies
275
Views
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
Posted: 24 Dec 2019 10:12 EST
Last activity: 2 Jan 2020 3:58 EST
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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.