You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Need to handle the long integer data coming in Json request

edited Sep 19, 2019 10:02AM in Integration 7 comments

Summary

Need to handle the long integer data coming in Json request

Content

I have a rest service exposed, receiving JSON as input as below

"Date" : {
                    "DateofBirth" : 20190101000000,
                }

But the data got translated to exponential format and received as 2.0190101E13 

Please suggest how to translate the data back to original format or prevent it from translating in exponential format.

 

WADL:

<?xml version = '1.0' encoding = 'UTF-8'?>
<application xmlns:soa="http://www.oracle.com/soa/rest&quot; xmlns:xsd="http://www.w3.org/2001/XMLSchema&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xmlns="http://wadl.dev.java.net/2009/02"&gt;
   <doc title="ABCRestProzess">ABCRestProzess</doc>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!