webhooks in business central

Поделиться
HTML-код
  • Опубликовано: 6 фев 2025
  • In this video we will cover the topic of Webhooks in Business central
    Azure function code on github: github.com/dfr...
    URLS:
    Get list of APIs:
    GET : api.businessce...{{TeantID}}/{{EnviromentName}}/api/microsoft/runtime/beta/companies({{CompanyID}})/webhookSupportedResources
    Subscriptions:
    GET: api.businessce...{{TeantID}}/{{EnviromentName}}/api/v2.0/subscriptions
    POST: api.businessce...{{TeantID}}/{{EnviromentName}}/api/v2.0/subscriptions
    Blogpost: fredborg.org/?...

Комментарии • 6

  • @Diya-d3c
    @Diya-d3c 7 месяцев назад +2

    is there a way to consume webhooks from an external solution in business central?

    • @dennisfredborg
      @dennisfredborg  7 месяцев назад

      @Diya-d3c well it depends on the external system, because you should be able to create a codeunit, that you could expose as the notification url, however it will require that the other system can use oauth as part of their notification... to be honest I would not let Business Central be a direct subscriber to an other system webhooks, it would much easier and cleaner to have an azure function as a broker. And then let the azure function subscribe to the external system, and then when triggered retrieve the data, and push it to Business Central

  • @chirangaranasinghe19
    @chirangaranasinghe19 10 месяцев назад +1

    Great. this is really helpful. But I can not test the Azure function. is there any other way to test it?

    • @dennisfredborg
      @dennisfredborg  9 месяцев назад

      Well you can pretty much use any http enabled endpoint, like logic apps, power apps or Web apps, the only requirement is that it can receive and send http requests and responds.

  • @getrav
    @getrav 9 месяцев назад +1

    I was told that webhooks have limited support. Has this changed in 2024?

    • @dennisfredborg
      @dennisfredborg  9 месяцев назад

      It depends on what you mean by limited? After my experience they can do what you would expect from webhooks