In the documentation on how to call custom APIs following sample is given for a bound function:
GET [Organization URI]/api/v9.1/accounts(ed5d4e42-850c-45b7-8b38-2677545107cc)/Microsoft.Dynamics.CRM.myapi_CustomBoundAPI()
Create and use custom APIs (Microsoft Dataverse) - Power Apps | Microsoft Learn
I was wondering if it's also possible to do a PATCH request and use alternate keys to execute a custom API action by doing something like this:
PATCH [Organization URI]/api/data/v9.2/accounts(example_key1=2)/Microsoft.Dynamics.CRM.myapi_CustomBoundAPI()
Use Upsert to Create or Update a record (Microsoft Dataverse) - Power Apps | Microsoft Learn
Anyone ever tried this? Or do custom APIs only support GET and POST requests?
Yes, It supports GET/POST/PATCH and Delete in Dataverse
stampcoin
17
mmbr1606
15
Super User 2025 Season 1
ankit_singhal
11
Super User 2025 Season 1