An undeclared property ”{FieldName}” which only has property annotations in the payload but no property value was found in the payload

Problem Today while using the Web Api to update "Account Name" lookup field of a contact I started to get the error below: "An error occurred while validating input parameters: Microsoft.OData.ODataException: An undeclared property 'parentcustomerid' which only has property annotations in the payload but no property value was found in the payload. In OData, only … Continue reading An undeclared property ”{FieldName}” which only has property annotations in the payload but no property value was found in the payload

Advertisements

Testing MS Dynamics CRM 365 online Web Api

Requisites There are 3 things we need to start this tutorial, these are: MS Dynamics CRM 365 online instance with admin role, for this, you can create a trial.Azure admin privileges within the same CRM tenant. If you're using a CRM trial, this is a default configuration.PostMan (Link). Step 1 - Register your CRM instance … Continue reading Testing MS Dynamics CRM 365 online Web Api

Get members(Users) of a team

The method below will return you a list of users which are part of a team that will be received as parameter: public static List<Entity> GetTeamMembers(Guid teamID, IOrganizationService service) { string fetchXML = @"<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='true'> <entity name='systemuser'> <attribute name='systemuserid' /> <order attribute='fullname' descending='false' /> <link-entity name='teammembership' from='systemuserid' to='systemuserid' visible='false' intersect='true'> <link-entity name='team' … Continue reading Get members(Users) of a team