The following screen snippet shows my example of the Http Webhook trigger:
As you can see the above, the Http Webhook subscriber part is the REST PUT request to create the AEG Subscription with a dynamic CallbackUrl() function addressed to the next activity such as the Scope Subscriber.
Note, when the Logic App is enabled, the Http Webhook is triggered to perform creating the AEG Subscription based on the REST PUT request declared by its subscriber included a validation of the event handler destination endpoint.
The following is an example of the Subscribe-Body payload with the filter property:
{
"properties": {
"destination": {
"endpointType": "WebHook",
"properties": {
"endpointUrl": @{listCallbackUrl()}
}
},
"filter": {
"advancedFilters": [
{
"key": "data.make",
"operatorType": "StringIn",
"values": [
"Ducati",
"BMW"
]
}
]
}
}
}
Thanks
Roman