Hi,
I have successfully registered a webhook subscription against the customers entity using a Business Central on-premise implementation.
The following article has been followed - https://docs.microsoft.com/en-us/dynamics-nav/fin-graph/dynamics_subscriptions
The registration process has been completed successfully including the handshake.
The output is below. I have obviously removed sensitive data, but the output was successful.
{
"@odata.context": "">our_url/.../$metadata
"@odata.etag": "W/\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"",
"subscriptionId": "XXXXXXXXXXXXXX",
"notificationUrl": "">XXXXXXXXXXXX/.../XXXXXXXXXXXXXXX",
"resource": "api/v1.0/companies(XXXXXXXXXXXXXXXXX)/customers",
"userId": "XXXXXXXXXXXXXXXXXXX",
"lastModifiedDateTime": "2019-11-07T11:50:24Z",
"clientState": "optionalValueOf2048",
"expirationDateTime": "2019-11-10T11:50:24Z"
}
I created a new customer via Business Central and can see that the record was created, but the webhook is not called.
Having completed the exact same process in a Business Central Cloud deployment, this works so it sounds like something additional is required in an on-premise deployment?
Is there any further config that needs to be completed on the Business Central side or anywhere I can look for further debug as to what might be happening?
Thanks
Tom