2024 Wave 1 – v24: Support for delta links with APIs (removed) (English version)✖️, Webhooks as a replacement ✅.
2024 Wave 1 – v24: Soporte para enlaces delta con API (eliminado) ✖️, Webhooks como reemplazo ✅.
Con esta nueva versión 24, tenemos algunas características que se volverán obsoletas Funciones obsoletas en la plataforma: clientes, servidor y base de datos, entre ellas el soporte para enlaces delta con API utilizados para recuperar cambios de entidades en un intervalo determinado y posteriores a un resultado.
Con la siguiente documentación sabrás el uso de los enlaces delta de las APIs. Esta funcionalidad implica un comportamiento de polling (sondeo), lo cual es bueno para algunos escenarios, donde se requiere que el cliente solicite los cambios periódicamente para posteriormente reaccionar a estos cambios.
- Uso de enlaces delta con API | Microsoft Learn
- Propiedad ChangeTrackingAllowed | Microsoft Learn
- A Smart way to use Business Central API – Delta links by Jitendra Chandani
- Delta Tokens and Deep Inserts: a smart way to use API/ODATA by Avalonit
La comunicación es la habitual en el uso de APIs:
La propuesta para suplir esta funcionalidad son los webhooks, donde la situación cambia de buscar los cambios a suscribirse a los eventos que son enviados por Business Central cada vez que hay algún cambio (pushing).
El flujo básico de esta funcionalidad, se inicia con la suscripción a las entidades que deseamos nos envíen notificaciones de cambios y luego la notificación es enviada por Business Central hacia un URL de notificación previamente configurado gestionado por tokens.
Con la siguiente documentación sabrás como funcionan los webhooks.
- Trabajando con Webhooks – Business Central | Microsoft Learn
- Lessons Learned: Working with Webhooks in Business Central – Fredborg
- How to test Business Central webhooks – Kauffmann @ Dynamics 365 Business Central
- Webhooks with Dynamics 365 Business Central – Stefano Demiliani
Notas
- El número máximo de suscripciones a webhooks es de 200. Operation Limits in Dynamics 365 Business Central – Business Central | Microsoft Learn
- Las suscripciones a Webhooks caducan en 3 días y hay que renovarlas.
- Business Central no envía la notificación inmediatamente cuando una entidad cambia.
D365BC Application Ideas
Si tienes una implementación que requiera el uso de estos enlaces delta de manera definitiva y no te puedes apoyar en los Webhooks, te sugiero que apoyes una Idea propuesta por Jakob Gillinger para mantener esta funcionalidad.
Espero que esta información te ayude.
2024 Wave 1 – v24: Support for delta links with APIs (removed) ✖️, Webhooks as a replacement ✅.
With this new version 24, we have some features that will become obsolete Deprecated features in the platform – Clients, Server, and Database, including support for delta links with APIs used to retrieve entity changes at a given interval and following a result.
With the following documentation you will know the use of API delta links. This functionality involves polling behavior, which is good for some scenarios, where the client is required to request changes periodically and then react to these changes.
- Uso de enlaces delta con API | Microsoft Learn
- ChangeTrackingAllowed Property | Microsoft Learn
- A Smart way to use Business Central API – Delta links by Jitendra Chandani
- Delta Tokens and Deep Inserts: a smart way to use API/ODATA by Avalonit
The communication is the usual one when using APIs:
The proposal to replace this functionality is webhooks, where the situation changes from polling for changes to subscribing to the events that are sent by Business Central every time there is a change (pushing).
The basic flow of this functionality begins with the subscription to the entities that we want to send us change notifications and then the notification is sent by Business Central to a previously configured notification URL managed by tokens.
With the following documentation you will know how webhooks work.
- Working with Webhooks – Business Central | Microsoft Learn
- Lessons Learned: Working with Webhooks in Business Central – Fredborg
- How to test Business Central webhooks – Kauffmann @ Dynamics 365 Business Central
- Webhooks with Dynamics 365 Business Central – Stefano Demiliani
Notes
- The maximum number of webhook subscriptions is 200. Operation Limits in Dynamics 365 Business Central – Business Central | Microsoft Learn
- Webhooks subscriptions expire in 3 days and must be renewed.
- Business Central does not send the notification immediately when an entity changes.
D365BC Application Ideas
If you have an implementation that requires the use of these delta links permanently and you cannot rely on Webhooks, I suggest you support an Idea proposed by Jakob Gillinger to maintain this functionality.
I hope this information helps you.
Más información / More information:
Deja un comentario