Hi all
I have a requirement to build a WEB API and a Process model to update other external system. The request to the web api is:
{ "accountNumber": "20171941", "houseNumber": "13329892", "contractStartDate": "2022-08-25T00:00:00.0000000+01:00", "contractEndDate": "2023-08-25T00:00:00.0000000+01:00"}
From the WEB API I am using the function a!fromJson to get the values for the process model from the http!request.body, as usual. When we validate the process model and it execution the dates on the request changed from 2022-08-25T00:00:00.0000000+01:00 to 8/24/2022 11:00 PM GMT+00:00.
I understand that the JSON functions detects the Date but we really need to keep that format from the request. Any Idea?
Thanks
Mario
Discussion posts and replies are publicly visible
You can use an older version of the function (a!fromJson_19r2). That version doesn't convert automatically to Date or Date and Time types.