Good morning dear community,
my situation is the following:
My BC 22 SaaS is exposing a custom made API page for items. I will not include all fields, but just as an example:
------------------------------
number:
description:
netWeight:
syncingStatus:
------------------------------
The external target system (let´s call it WMS) subscribed successfully to the API and is notified via Webhook in case there is a relevant action for this page (create, change, delete).
All working fine until here.
Now the WMS should send back the "syncingStatus" to the API page (Success or Error), so that we can see in BC, if the item was successfully synced to WMS.
That also works fine.
But, changing the "syncingStatus" triggers a new change webhook towards WMS, which results in a kind of loop.
My questions:
1. Is it possible to exclude single fields from the API page, to not trigger a webhook in case of a change?
2. Does the design of the API page make sense in general to use it as "read" and "write" at the same time? Is it better to create a new API page, to receive the sync Status there?
Thanks a lot for your help
Best regards
Björn