Create a custom API of type function in Dynamics 365 / Microsoft Dataverse

User Review
0 (0 votes)

Continuing our previous posts,

Create Custom API Message

Allowed Custom Processing Step Type Property –

Here we will create a custom API of type function by setting Is Function property as true.

  • The function requires HTTP GET method.
  • The function must include at least one Custom API Response Property defined.
  • The function cannot use Entity or Entity Collection Request Parameter, i.e. Binding Type can only be Global in case of Function.

Let us define a Custom API Response Property and associate it with the custom function defined.

Here we have defined a custom API response property of type Boolean.

The other data type supported are

Below is the plug-in that we will associate with the Custom API message, here we are setting the value of the response parameter.

Associated the plugin to the custom API message

Let us trigger our function using the Postman.

Invoking Custom APIs

Plugin trace log –

More information on Custom API

Hope it helps..