• 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 –

    Create and use Custom APIs

  • 相关阅读:
    信息竞赛日志
    Lesson0423
    考试总结
    2020省队选拔前(4.13-5.31)计划
    mvcc浅析
    浅谈cgi和fastcgi
    mysql事务
    mysql慢sql优化总结
    简述缓存击穿 / 缓存雪崩 / 缓存穿透 以及各自的解决方案
    PHP的异常处理机制浅析
  • 原文地址:https://www.cnblogs.com/lingdanglfw/p/14377017.html
Copyright © 2020-2023  润新知