Last activity: 13 Dec 2021 16:50 EST
Decimal/Integer properties are initializing 0 in Pega API requests
1) Service is exposed from Pega (Service-REST), and receives large JSON requests. Some of the property values are not present in the inbound request and while mapping if there is no property present in the request and if I map that Pega decimal/integer datatype properties then initializing default value with 0.
It would be difficult to have a check for each property (PropertyHasValue).
2) In the same scenario, When the external system sends Null values in decimal & integer properties, Decimal properties are ignored on MyservicePage which is expected but the Integer properties are getting initialized with 0.
Anybody come across these two scenarios with Pega APIs and share your inputs here..