Hi,
I am unable to use HTTP PATCH, PUT, and DELETE requests using the parenthesis method used to specify the unique Id.
I am using the ChartOfAccounts entity, and below is the response I get for the same using GET. (below Image)
I am using the "ChartOfAccountsRecId" attribute as a unique id to perform the PATCH operation. (below Image)
But I am getting a message saying "No HTTP resource was found that matches the request URI 'trial-vqcrp6.trial.operations.dynamics.com/.../ChartOfAccounts(5637144577)'. No route data was found for this request."
Kindly help me in this in regard.
Hi Datum, I think you are right, filter can't be used in Patch. However can you try (RecId=5637144577)
Hi Mohit, thanks for the suggestion. But the reference link you have shared only shows the example for the GET request and I am looking for PATCH, PUT, and DELETE request examples.
Also, I believe we can't use $filter for PATCH, PUT, and DELETE requests as it is only limited to GET request. Correct me if I am wrong here.
I am following the https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/update-delete-entities-using-web-api as a reference.
Thank you once again for your time.
Hi Datum, I think the URL is incorrect in Patch. You can use filter keyword to get or update a particular record.
check this out
community.dynamics.com/.../read-selected-data-from-d365fo-based-on-filter-using-postman
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,836
Most Valuable Professional
nmaenpaa
101,156