0
votes

Trying to update a account _parentaccountid_value.

The request url is: https://alliedmodulartemp.api.crm.dynamics.com/api/data/v9.1/accounts(accountid)

Method:PATCH

Data: { "[email protected]": "/accounts(accountid)"

}

But the error is,"message": "An error occurred while validating input parameters: Microsoft.OData.ODataException: A property '_parentaccountid_value' which only has property annotations in the payload but no property value is declared to be of type 'Edm.Guid'.

1

1 Answers

0
votes

You do not need _parentaccountid_value rather you need _parentaccountid. Try below code and it shall work.

Data: { "[email protected]": "/accounts(accountid)"

}