I am currently working on integrating Business Central with our upcomming PIM system.
The use-case is as following: When an item is updated in Business Central PIM should be notified with following attributes:
- Update DateTime
- Item No.
- Old Value
- New value
To solve this, I have been taking a look into webhooks in Business Central.
Currently I have been able to Subscribe to my own custom API but it seems like the payload is fixed and cannot be changed.
The default payload I recieve is as following:
Is there anyway to customize this payload, so I am able to recieve the data I need through the default webhook implementation Microsoft has made?
Otherwise I think I would have to make a custom webhook implementation and use the TaskScheduler to fire the events.
What are your thoughts on this?
Thanks in advance