Question

1
Replies
75
Views
Andrew Rodgers (rodgersandrew)
OneAmerica

OneAmerica
US
rodgersandrew Member since 2018 2 posts
OneAmerica
Posted: February 27, 2019
Last activity: March 15, 2019
Posted: 27 Feb 2019 12:58 EST
Last activity: 15 Mar 2019 10:56 EDT
Closed

Pega encloses decimals in quotes in Connect-REST Request

We are trying to send POST request (JSON) from Connect-REST. However, when using "map from JSON", decimal properties are being enclosed in quotes:

...."totalDecimal":"865.0" }

Property we are mapping from is Decimal property and property we are mapping to is Decimal property

How can we make sure JSON payload does not wrap decimals, integers, non-text fields in double quotes?

***Edited by Moderator Marissa to update platform capability tags****

Low-Code App Development 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.