It's hard to say what the root cause of the problem is, it is highly recommended that you can debug the code to verify if the OData publishing process is correctly mapping the date data type to the appropriate format in the JSON file.
the problem is that the result is inconsistent in Json Data for date data type.
for example:
"Birthday Date": "0001-01-01"
"Posting Date": ""
both fields are empty in Business Central interface but when we published the API, Json file shows as above. "Posting Date" should give value "0001-01-01".
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.