Custom API Request Parameter entity in Dynamics 365 / Microsoft Dataverse
Here we will look at the CustomAPIRequestParameter entity.
- This entity can be used to define input parameters to the Custom API.
- It is not a mandatory entity for Custom API i.e. we can define a custom API without any input/request or output/response parameter.
- In the case of multiple parameters, ordering is not important as they are identified using the name.
- One parameter can be associated with only one Custom API.
- We can have multiple parameters with the same Unique Name as long as they are associated with different Custom API.
Say e.g. below is our Custom API
And this is our Custom API Request Parameter associated with the above API of type String
The different data type for the request parameter
Below is our plugin registered for the custom message.
We are checking for the input parameter and writing it in the trace log.
Let us call our custom API
And let us check the plugin trace logs.
We can see the message being called successfully.
Get more details –
posted on 2021-02-05 12:05 lingdanglfw 阅读(69) 评论(0) 编辑 收藏 举报