Hi there, hoping someone can help a dataverse newbie with an issue.
I cannot get the "updatemultiple" api call to work, despite following article here. Suspect it might be due to incorrect odata.type. Note I can successfully retrieve data via api calls from the target table ("mh_glaccounts).
My url for the POST call is:
https://orgxxxxx.crm.dynamics.com/api/data/v9.2/mh_glaccounts.UpdateMultiple
My json data being passed includes all the table's fields, plus an addition "@odata.type". But I've essentially guessed the value for that data.type, as I don't know how to retrieve it.
JSON data = {'Targets': [
{'@odata.etag': 'W/"3200503"', 'mh_glaccountid': 'fd08e026-e5bf-ee11-9079-000d3a8f5f4d', ...,
'@OData.type': 'Microsoft.Dynamics.CRM.expando'} ...]}
The POST command seems to execute OK. its just that the dataverse table doesn't actually change 😞