I am trying to understand how to craft a RetrieveMetadataChanges query via the Web API (REST). The following GET url for our org appears to parse correctly:
":">MYORG.crm.dynamics.com/.../RetrieveMetadataChanges(Query={"Criteria": {"Conditions":[ {"PropertyName":"LogicalName", "ConditionOperator":"eq", "Value":{"Type": "Edm.String", "Value":"account"}} ] }})
But I get the following error as a response:
"Invalid JSON. A token was not recognized in the JSON content."
I have verified that the JSON specified for the Query= argument parses correctly (using a separate validator), so it is well-formed JSON.
- Does anyone know what is wrong with the query as crafted above?
- Note that I am not interested in solutions that require the Organization Service (e.g., Microsoft.CrmSdk.CoreAssemblies).
- Are there examples for how to craft the RetrieveMetadataChanges through the Web API (REST)?
Thanks in advance!