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 :
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/,
}
  • 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?
  • PS-27040901-0 Profile Picture
    2 on at
    Sales.
  • Martin Dráb Profile Picture
    240,945 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 139

#2
11manish Profile Picture

11manish 105 Super User 2026 Season 2

#3
ParthPatel249 Profile Picture

ParthPatel249 77

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans