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

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

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 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

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

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans