Webservice "listener-service" to run in BC / Consume Webhook Request in BC

hendrik244hendrik244 Member Posts: 3
edited 2019-01-10 in NAV Three Tier
Hi all,

I'm currently trying to consume a WebHook Request in Business Central.

I want to communicate between my bc365 app and a registration/authorization service from the internet.
When the registration was successfull, this service is posting a webhook request to a specified "callback url" with some information about the authorization.

So I need a opportunity to cosume this webhook request in BC to process the included information.

Unfortunately I haven't found any solution, yet.

In one of the last updates of business central Webhooks became available in Business Central to give a client the opportunity to be notified of changes to entities in Business Central. This is the documentation:
https://docs.microsoft.com/en-us/dynamics-nav/fin-graph/dynamics_subscriptions

Unfortunately this is not the direction i need for my case.

Has anyone some advices for me?

Best regards,

Hendrik

Answers

  • krikikriki Member, Moderator Posts: 8,922
    [Topic moved from 'NAV Tips & Tricks' forum to 'NAV Three Tier' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
    NAV TechDays 2020: 19 & 20 November 2020, Antwerp (Belgium)
  • iERPiERP Member Posts: 1
    Hi Hendrik

    Did you find any solution to this problem?
    Im also wondering how to use/consume webhooks from BC
  • hendrik244hendrik244 Member Posts: 3
    Hi iERP,

    well, yes and no.
    You cannot consume a webhook directly in BC.
    I also talked to a MS guy at the directions and there are also no plans to support this in the future... :neutral:
    At the end I used Azure functions to receive/consume a webhook and forwarded it to BC (that's also the way MS recommends, obviously ;) )
    Hope that helps you.
Sign In or Register to comment.