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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

ComplexStateAttributeMetadata and other ComplexType missing at $metadata endpoint?

(0) ShareShare
ReportReport
Posted on by 10

I am writing a Web API client that is calling the RetrieveMetadataChanges() function and it's getting back results.

When I attempt to parse the JSON, I am finding EntityMetaData > Attributes > "odata.type" key, like this snippet:

{ "EntityMetadata": [ { "Attributes": [ { "@odata.type": "#Microsoft.Dynamics.CRM.ComplexStateAttributeMetadata", ...

When the element occurs, it is a string that refers to various ComplexType-s from the XML theorg.crm.dynamics.com/.../$metadata endpoint.

The problem I'm running into is that not all these types appear to be described at the $metadata endpoint.

The following (apparently ComplexType-s) ARE NOT DEFINED at $metadata :

  • #Microsoft.Dynamics.CRM.ComplexPicklistAttributeMetadata
  • #Microsoft.Dynamics.CRM.ComplexStatusAttributeMetadata
  • #Microsoft.Dynamics.CRM.ComplexEntityNameAttributeMetadata
  • #Microsoft.Dynamics.CRM.ComplexStateAttributeMetadata

The following ComplexType-s ARE DEFINED at $metadata :

  • #Microsoft.Dynamics.CRM.ComplexStringAttributeMetadata
  • #Microsoft.Dynamics.CRM.ComplexLookupAttributeMetadata
  • #Microsoft.Dynamics.CRM.ComplexBigIntAttributeMetadata
  • etc...

So my question is : where are the missing types declared?  Is there a different endpoint that I'm missing?

I have the same question (0)

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 July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 119 Super User 2026 Season 2

#2
Syed Aqib Raza Profile Picture

Syed Aqib Raza 72

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 66 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans