web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

custom service contract class

(2) ShareShare
ReportReport
Posted on by 536
Hi,

if we have a custom service, with dates as an input

the payload can be sent like this
 
{
    "Date1": 2025-10-01,
  "Date2": 1900-01-01"
}
 
or
 
{
    "Date1": "2025-10-01"
}
 
 
Is there a way to distinguish in FO, if Date2 was sent as 1900 explicitly or if it was not even in the payload?

because when debugging if we set it as 1900, or if we remove the node from the payload, FO service will still show it as 1900

I mean if i want put logic in FO that says, if the value is sent as 1900 then update it with 1900. But if the date wasn't sent, then leave it as is and don't override the existing value in FO. is that possible?
Categories:
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    238,787 Most Valuable Professional on at
    I don't think so. 1.1.1900 is the default value of the date type, therefore it's the same thing if you get no value and it defaults to 1.1.1900, or if you explicitly set it to 1.1.1900. You'll need an additional piece of information to distinguish the situations when you want to remove the date or keep the current value.

Under review

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 512 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 386

#3
Adis Profile Picture

Adis 259 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans