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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

How to pass DateTime json to a creation API

(1) ShareShare
ReportReport
Posted on by 2
I got below error:
 
Microsoft.OData.ODataException: A value was encountered that has a type name that is incompatible with the metadata. The value specified its type as 'Edm.String', but the type specified in the metadata is 'Edm.DateTimeOffset'.
 
My input Json String looks like:
 
{
     /@odata.context/:/$metadata#appointments/$entity/,
    /scheduledStartDatetime/: /2023-12-28T06:36:12Z/,
    /scheduledEndDatetime/: /2023-12-28T06:36:12Z/,
}
I have the same question (0)
  • Leah Ju Profile Picture
    Microsoft Employee on at
    Hi Partner,
    Could you tell me what app you are suing in Dynamics 365? Sales, Customer service or Finance?
  • Community member Profile Picture
    2 on at
    Sales.
  • Martin Dráb Profile Picture
    237,892 Most Valuable Professional on at
    Moved from Dynamics 365 general forum.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans