Hi,
I am trying to use the DynamicsCRM's WebAPI (ODataV4) to query for data. Among all the entities, i could not query for the following entities that throws 400 Bad Request with the following message.
HTTP/1.1 400 Bad Request - (0x80040800) The 'RetrieveMultiple' method does not support entities of type 'similarityrule'
This happens for the following entities.
calendarrules Its mentioned in the doc that GET/POST/PUT/DELETE is not supported for this entity. docs.microsoft.com/.../calendarrule
complexcontrols (In the doc its mentioned as For internal use)
postregardings (In the doc its mentioned as For internal use)
principalentitymaps
similarityrules
subscriptionmanuallytrackedobjects (In the doc its mentioned as For internal use)
subscriptionstatisticsofflines
subscriptionstatisticsoutlooks
What i would like to know is, how can i detect the fact that these entities are not queriable. I am expecting some sort of flag or indication in the corresponding entity type's metadata. With what i looked so far, there was no property signalling this fact. Please let me know, if i could look up for any Json property in the entity type's metadata to know that these entities can not be queried using the Web API (OData endpoint).
For the entity type's metadata i am using the endpoint - /api/data/v9.0/EntityDefinitions(LogicalName='calendarrule')
or /api/data/v9.0/EntityDefinitions(LogicalName='similarityrule')
Please suggest.