{"title":"Codeunit 6154 API Webhook Notification Send, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6154-api-webhook-notification-send/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":6154,"name":"API Webhook Notification Send","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/6154-api-webhook-notification-send/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6154-api-webhook-notification-send/source/","path":"src/Layers/W1/BaseApp/System/API/Webhooks/APIWebhookNotificationSend.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:6153":{"name":"API Webhook Notification Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/6153-api-webhook-notification-mgt/"},"table:2000000098":{"name":"API Webhook Notification Aggr","url":"https://jonas-paprotka.de/ref/table/2000000098-api-webhook-notification-aggr/"},"table:2000000095":{"name":"API Webhook Subscription","url":"https://jonas-paprotka.de/ref/table/2000000095-api-webhook-subscription/"},"table:2000000096":{"name":"API Webhook Notification","url":"https://jonas-paprotka.de/ref/table/2000000096-api-webhook-notification/"},"codeunit:5459":{"name":"JSON Management","url":"https://jonas-paprotka.de/ref/codeunit/5459-json-management/"},"codeunit:1297":{"name":"Http Web Request Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1297-http-web-request-mgt/"},"codeunit:7201":{"name":"CDS Integration Impl.","url":"https://jonas-paprotka.de/ref/codeunit/7201-cds-integration-impl/"},"codeunit:5465":{"name":"Graph Mgt - General Tools","url":"https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/"},"codeunit:10":{"name":"Type Helper","url":"https://jonas-paprotka.de/ref/codeunit/10-type-helper/"},"table:472":{"name":"Job Queue Entry","url":"https://jonas-paprotka.de/ref/table/472-job-queue-entry/"},"codeunit:6723":{"name":"Server Setting","url":"https://jonas-paprotka.de/ref/codeunit/6723-server-setting/"},"table:710":{"name":"Activity Log","url":"https://jonas-paprotka.de/ref/table/710-activity-log/"}},"procs":[{"name":"OnRun","line":26,"kind":"trigger","steps":[[35,"call","IsApiSubscriptionEnabled",0],[47,"ext","codeunit",6153,"CanScheduleJob",0],[52,"call","Initialize",0],[53,"call","DeleteExpiredSubscriptions",0],[54,"call","DeleteObsoleteSubscriptions",0],[55,"call","DeleteInactiveJobs",0],[57,"call","GetActiveSubscriptions",0],[65,"call","ProcessNotifications",0],[70,"call","DeleteObsoleteNotifications",0]]},{"name":"Initialize","line":198,"kind":"procedure","access":"local","params":0,"steps":[[201,"write",2000000098,"DeleteAll"],[206,"write",2000000095,"DeleteAll"],[211,"write",2000000096,"DeleteAll"]]},{"name":"ProcessNotifications","line":226,"kind":"procedure","access":"local","params":0,"steps":[[231,"call","DateTimeToString",1],[232,"event","OnBeforeProcessNotifications",0],[233,"call","TransferAggregateNotificationsToBuffer",0],[234,"call","GenerateAggregateNotifications",0],[236,"call","SendNotifications",0],[237,"call","UpdateTablesFromBuffer",1],[239,"ext","codeunit",6153,"ScheduleJob",1],[243,"call","DateTimeToString",1],[243,"call","DateTimeToString",1],[245,"event","OnAfterProcessNotifications",0]]},{"name":"SendNotifications","line":248,"kind":"procedure","access":"local","params":0,"steps":[[261,"call","GetSubscriptionsPerNotificationUrl",3],[262,"call","GetPayloadPerNotificationUrl",2],[265,"call","SendNotification",4],[266,"call","DeleteNotifications",1],[269,"call","IncreaseAttemptNumber",1],[271,"call","DeleteNotifications",1],[272,"call","DeleteInvalidSubscriptions",1]]},{"name":"GetPayloadPerNotificationUrl","line":279,"kind":"procedure","access":"local","params":2,"steps":[[288,"ext","codeunit",5459,"InitializeEmptyCollection",0],[289,"ext","codeunit",5459,"GetJsonArray",1],[292,"call","AddPayloadPerSubscription",3],[300,"call","FormatPayloadPerNotificationUrl",2]]},{"name":"AddPayloadPerSubscription","line":304,"kind":"procedure","access":"local","params":3,"steps":[[310,"call","GetSystemIdBySubscriptionId",1],[318,"call","ClearFiltersFromNotificationsBuffer",0],[330,"call","GetEntityJObject",2],[331,"ext","codeunit",5459,"AddJObjectToJArray",2],[333,"call","ChangeTypeToString",1],[334,"call","DateTimeToString",1]]},{"name":"FormatPayloadPerNotificationUrl","line":344,"kind":"procedure","access":"local","params":2,"steps":[[355,"ext","codeunit",5459,"InitializeCollection",1],[356,"ext","codeunit",5459,"GetJsonArray",1],[357,"ext","codeunit",5459,"InitializeEmptyObject",0],[358,"ext","codeunit",5459,"GetJSONObject",1],[359,"ext","codeunit",5459,"AddJArrayToJObject",3],[362,"ext","codeunit",5459,"InitializeEmptyObject",0],[363,"ext","codeunit",5459,"GetJSONObject",1],[364,"ext","codeunit",5459,"AddJPropertyToJObject",3],[365,"ext","codeunit",5459,"AddJPropertyToJObject",3]]},{"name":"TransferAggregateNotificationsToBuffer","line":379,"kind":"procedure","access":"local","params":0,"steps":[[391,"write",2000000098,"Insert"],[392,"call","GetSystemIdBySubscriptionId",1],[393,"call","ChangeTypeToString",1],[394,"call","DateTimeToString",1],[396,"call","DateTimeToString",1]]},{"name":"GenerateAggregateNotifications","line":403,"kind":"procedure","access":"local","params":0,"steps":[[410,"call","ClearFiltersFromNotificationsBuffer",0],[413,"call","CollectFirstModifiedTimeForPendingCollectionNotifications",0],[416,"call","GetPendingNotifications",3],[418,"call","IsNullUpdate",1],[420,"call","GenerateAggregateNotification",1]]},{"name":"GenerateAggregateNotification","line":432,"kind":"procedure","access":"local","params":1,"steps":[[436,"call","GetSystemIdBySubscriptionId",1],[437,"call","ChangeTypeToString",1],[437,"call","DateTimeToString",1],[439,"call","ClearFiltersFromNotificationsBuffer",0],[443,"call","MergeIntoExistingCollectionAggregateNotification",1],[448,"call","MergeIntoExistingUpdatedAggregateNotification",1],[452,"call","GenerateSingleAggregateNotification",2],[455,"call","MergeAllIntoNewCollectionAggregateNotification",1]]},{"name":"CollectFirstModifiedTimeForPendingCollectionNotifications","line":458,"kind":"procedure","access":"local","params":0,"steps":[[462,"call","ClearFiltersFromNotificationsBuffer",0],[471,"call","CollectFirstModifiedTimeBySubscriptionId",2]]},{"name":"MergeIntoExistingCollectionAggregateNotification","line":478,"kind":"procedure","access":"local","params":1,"steps":[[489,"call","GetSystemIdBySubscriptionId",1],[491,"call","ChangeTypeToString",1],[491,"call","DateTimeToString",1],[493,"call","ClearFiltersFromNotificationsBuffer",0],[507,"call","GetLastNotification",2],[510,"write",2000000098,"Modify",1],[515,"call","ChangeTypeToString",1],[517,"write",2000000098,"Modify",1],[523,"call","HasNotificationOnDelete",1],[528,"write",2000000098,"Modify",1],[539,"write",2000000098,"Insert"],[541,"call","ChangeTypeToString",1],[542,"call","DateTimeToString",1],[544,"call","DateTimeToString",1],[550,"write",2000000098,"DeleteAll"],[554,"call","DateTimeToString",1],[554,"call","DateTimeToString",1],[556,"call","CollectFirstModifiedTimeBySubscriptionId",2]]},{"name":"MergeIntoExistingUpdatedAggregateNotification","line":560,"kind":"procedure","access":"local","params":1,"steps":[[562,"call","ClearFiltersFromNotificationsBuffer",0],[567,"call","GetSystemIdBySubscriptionId",1],[567,"call","DateTimeToString",1],[570,"write",2000000098,"Modify",1]]},{"name":"GenerateSingleAggregateNotification","line":576,"kind":"procedure","access":"local","params":2,"steps":[[581,"call","ClearFiltersFromNotificationsBuffer",0],[584,"call","GetMaxNumberOfNotifications",0],[588,"call","GetSystemIdBySubscriptionId",1],[589,"call","ChangeTypeToString",1],[590,"call","DateTimeToString",1],[593,"write",2000000098,"Insert"],[595,"call","ChangeTypeToString",1],[596,"call","DateTimeToString",1],[598,"call","DateTimeToString",1]]},{"name":"MergeAllIntoNewCollectionAggregateNotification","line":603,"kind":"procedure","access":"local","params":1,"steps":[[611,"call","GetSystemIdBySubscriptionId",1],[613,"call","DateTimeToString",1],[614,"call","ClearFiltersFromNotificationsBuffer",0],[625,"call","HasNotificationOnDelete",1],[629,"write",2000000098,"Modify",1],[634,"call","DateTimeToString",1],[634,"call","DateTimeToString",1],[636,"call","CollectFirstModifiedTimeBySubscriptionId",2],[638,"call","ClearFiltersFromNotificationsBuffer",0],[641,"write",2000000098,"DeleteAll"],[646,"write",2000000098,"Insert"],[648,"call","ChangeTypeToString",1],[649,"call","DateTimeToString",1],[651,"call","DateTimeToString",1]]},{"name":"IsNullUpdate","line":673,"kind":"procedure","access":"local","params":1,"steps":[[685,"call","GetTableIdBySubscriptionId",1],[692,"call","GetSystemIdBySubscriptionId",1],[693,"call","DateTimeToString",1],[706,"call","NullUpdateTreshold",0],[708,"call","GetSystemIdBySubscriptionId",1],[709,"call","DateTimeToString",1],[709,"call","DateTimeToString",1],[714,"call","GetSystemIdBySubscriptionId",1],[715,"call","DateTimeToString",1],[715,"call","DateTimeToString",1]]},{"name":"CollectValuesInDictionaries","line":719,"kind":"procedure","access":"local","params":1,"steps":[[721,"call","CollectSystemIdBySubscriptionId",1],[722,"call","CollectTableIdBySubscriptionId",1],[723,"call","CollectKeyFieldTypeBySubscriptionId",1],[724,"call","CollectResourceUrlBySubscriptionId",1],[725,"call","CollectNotificationUrlBySubscriptionId",1],[726,"call","CollectSubscriptionsPerNotificationUrl",1],[727,"call","CollectSubscriptionTypesPerNotificationUrl",1]]},{"name":"CollectSystemIdBySubscriptionId","line":730,"kind":"procedure","access":"local","params":1,"steps":[[735,"ext","codeunit",6153,"IsDetailedLoggingEnabled",0]]},{"name":"CollectTableIdBySubscriptionId","line":741,"kind":"procedure","access":"local","params":1,"steps":[[746,"ext","codeunit",6153,"IsDetailedLoggingEnabled",0]]},{"name":"CollectKeyFieldTypeBySubscriptionId","line":751,"kind":"procedure","access":"local","params":1,"steps":[[758,"ext","codeunit",6153,"IsDetailedLoggingEnabled",0],[761,"ext","codeunit",6153,"GetEntity",2],[765,"ext","codeunit",6153,"TryGetEntityKeyField",4]]},{"name":"CollectFirstModifiedTimeBySubscriptionId","line":774,"kind":"procedure","access":"local","params":2,"steps":[[780,"call","GetSystemIdBySubscriptionId",1],[790,"write",2000000096,"Insert"],[798,"write",2000000096,"Modify"]]},{"name":"CollectResourceUrlBySubscriptionId","line":805,"kind":"procedure","access":"local","params":1,"steps":[[810,"ext","codeunit",6153,"IsDetailedLoggingEnabled",0],[815,"ext","codeunit",6153,"IsDetailedLoggingEnabled",0],[817,"call","GetResourceUrl",1]]},{"name":"CollectNotificationUrlBySubscriptionId","line":821,"kind":"procedure","access":"local","params":1,"steps":[[826,"ext","codeunit",6153,"IsDetailedLoggingEnabled",0],[831,"ext","codeunit",6153,"IsDetailedLoggingEnabled",0],[833,"call","GetNotificationUrl",1]]},{"name":"CollectSubscriptionsPerNotificationUrl","line":837,"kind":"procedure","access":"local","params":1,"steps":[[845,"ext","codeunit",6153,"IsDetailedLoggingEnabled",0],[848,"call","GetNotificationUrlBySubscriptionId",1]]},{"name":"CollectSubscriptionTypesPerNotificationUrl","line":861,"kind":"procedure","access":"local","params":1,"steps":[[868,"ext","codeunit",6153,"IsDetailedLoggingEnabled",0],[871,"call","GetNotificationUrlBySubscriptionId",1]]},{"name":"DeleteNotifications","line":882,"kind":"procedure","access":"local","params":1,"steps":[[888,"call","GetSystemIdBySubscriptionId",1],[890,"call","ClearFiltersFromNotificationsBuffer",0],[892,"write",2000000098,"DeleteAll"]]},{"name":"DeleteInvalidSubscriptions","line":897,"kind":"procedure","access":"local","params":1,"steps":[[904,"call","GetSystemIdBySubscriptionId",1],[907,"call","LogActivity",3],[907,"call","GetSubscriptionDetails",1],[908,"ext","codeunit",6153,"DeleteSubscription",1]]},{"name":"DeleteObsoleteNotifications","line":913,"kind":"procedure","access":"local","params":0,"steps":[[921,"call","GetActiveSubscriptions",2],[923,"call","GetDeletedSubscriptionsByAggregateNotifications",3],[925,"call","DeleteObsoleteAggregateNotifications",1],[929,"call","GetDeletedSubscriptionsByNotifications",3]]},{"name":"DeleteObsoleteNotifications","line":971,"kind":"procedure","access":"local","params":1,"steps":[[988,"ext","codeunit",6153,"ForceDeleteAPIWebhookNotifications",1]]},{"name":"DeleteObsoleteAggregateNotifications","line":992,"kind":"procedure","access":"local","params":1,"steps":[[1009,"write",2000000098,"DeleteAll"]]},{"name":"IncreaseAttemptNumber","line":1013,"kind":"procedure","access":"local","params":1,"steps":[[1018,"call","DateTimeToString",1],[1020,"call","GetSystemIdBySubscriptionId",1],[1020,"call","DateTimeToString",1],[1022,"call","LogActivity",3],[1022,"call","GetSubscriptionDetails",1],[1023,"call","ClearFiltersFromNotificationsBuffer",0],[1027,"call","GetSystemIdBySubscriptionId",1],[1030,"write",2000000098,"Modify"],[1032,"call","ChangeTypeToString",1],[1033,"call","DateTimeToString",1],[1035,"call","DateTimeToString",1],[1036,"call","DateTimeToString",1],[1039,"call","ChangeTypeToString",1],[1040,"call","DateTimeToString",1],[1042,"call","DateTimeToString",1],[1043,"call","DateTimeToString",1]]},{"name":"UpdateTablesFromBuffer","line":1049,"kind":"procedure","access":"local","params":1,"steps":[[1051,"call","DeleteSubscriptionsWithTooManyFailures",0],[1052,"call","DeleteProcessedNotifications",0],[1053,"call","SaveFailedAggregateNotifications",1]]},{"name":"DeleteProcessedNotifications","line":1056,"kind":"procedure","access":"local","params":0,"steps":[[1061,"call","DateTimeToString",1],[1065,"ext","codeunit",6153,"ForceDeleteAPIWebhookNotifications",1]]},{"name":"SaveFailedAggregateNotifications","line":1069,"kind":"procedure","access":"local","params":1,"steps":[[1076,"write",2000000098,"DeleteAll",1],[1077,"call","ClearFiltersFromNotificationsBuffer",0],[1085,"call","GetDelayTimeForAttempt",1],[1090,"ext","codeunit",6153,"IsDetailedLoggingEnabled",0],[1091,"call","GetSystemIdBySubscriptionId",1],[1091,"call","ChangeTypeToString",1],[1092,"call","DateTimeToString",1],[1093,"write",2000000098,"Insert",1],[1094,"call","GetSystemIdBySubscriptionId",1],[1095,"call","ChangeTypeToString",1],[1096,"call","DateTimeToString",1],[1098,"call","DateTimeToString",1],[1103,"call","DateTimeToString",1]]},{"name":"SendNotification","line":1106,"kind":"procedure","access":"local","params":4,"steps":[[1127,"event","OnBeforeSendNotification",0],[1130,"call","SendRequest",7],[1137,"event","OnAfterSendNotification",0],[1138,"event","OnAfterSendNotificationWithStatusNumber",0],[1142,"call","ShouldReschedule",1],[1144,"call","LogActivity",3]]},{"name":"SendRequest","line":1160,"kind":"procedure","access":"local","params":7,"steps":[[1183,"ext","codeunit",1297,"Initialize",1],[1184,"ext","codeunit",1297,"DisableUI",0],[1185,"ext","codeunit",1297,"SetMethod",0],[1186,"ext","codeunit",1297,"SetReturnType",0],[1187,"ext","codeunit",1297,"SetContentType",0],[1188,"ext","codeunit",1297,"AddHeader",2],[1189,"ext","codeunit",1297,"AddHeader",2],[1194,"call","AddTokenToRequestHeader",1],[1196,"ext","codeunit",1297,"SetTimeout",1],[1196,"call","GetSendingNotificationTimeout",0],[1199,"ext","codeunit",1297,"AddBodyAsTextWithEncoding",2],[1201,"event","OnSendRequestOnBeforeSendRequestAndReadTextResponse",0],[1202,"call","GetMaskedUrl",1],[1204,"ext","codeunit",1297,"SendRequestAndReadTextResponse",5],[1211,"call","GetMaskedUrl",1]]},{"name":"AddTokenToRequestHeader","line":1216,"kind":"procedure","access":"local","params":1,"steps":[[1223,"ext","codeunit",7201,"GetBusinessEventAccessToken",3],[1224,"ext","codeunit",1297,"AddHeader",2]]},{"name":"GetEntityJObject","line":1280,"kind":"procedure","access":"local","params":2,"steps":[[1287,"call","GetSystemIdBySubscriptionId",1],[1288,"call","ClearFiltersFromSubscriptionsBuffer",0],[1295,"call","GetEntityUrl",2],[1304,"call","ChangeTypeToString",1],[1307,"ext","codeunit",5459,"InitializeEmptyObject",0],[1308,"ext","codeunit",5459,"GetJSONObject",1],[1309,"ext","codeunit",5459,"AddJPropertyToJObject",3],[1310,"ext","codeunit",5459,"AddJPropertyToJObject",3],[1311,"ext","codeunit",5459,"AddJPropertyToJObject",3],[1312,"ext","codeunit",5459,"AddJPropertyToJObject",3],[1313,"ext","codeunit",5459,"AddJPropertyToJObject",3],[1313,"call","ChangeTypeToString",1],[1314,"ext","codeunit",5459,"AddJPropertyToJObject",3],[1317,"ext","codeunit",5459,"AddJPropertyToJObject",3],[1317,"call","GetAadUserId",1]]},{"name":"GetAadUserId","line":1321,"kind":"procedure","access":"local","params":1,"steps":[[1331,"ext","codeunit",5465,"StripBrackets",1]]},{"name":"GetEntityUrl","line":1348,"kind":"procedure","access":"local","params":2,"steps":[[1353,"call","GetSingleEntityUrl",2],[1355,"call","GetEntityCollectionUrl",2]]},{"name":"GetSingleEntityUrl","line":1359,"kind":"procedure","access":"local","params":2,"steps":[[1366,"call","GetResourceUrlBySubscriptionId",1],[1371,"call","AddCompanyIdToResource",2],[1373,"call","GetEntityKeyFieldTypeBySubscriptionId",1],[1377,"call","GetUriEscapeFieldValue",2]]},{"name":"GetEntityCollectionUrl","line":1383,"kind":"procedure","access":"local","params":2,"steps":[[1391,"call","GetResourceUrlBySubscriptionId",1],[1396,"call","AddCompanyIdToResource",2],[1398,"call","GetFirstModifiedTimeBySubscriptionId",1],[1402,"call","HasLastModifiedDateTimeField",1],[1407,"call","DateTimeToUtcString",1]]},{"name":"GetUriEscapeFieldValue","line":1412,"kind":"procedure","access":"local","params":2,"steps":[[1419,"call","AddQuotes",1],[1419,"ext","codeunit",10,"UriEscapeDataString",1],[1421,"call","AddQuotes",1],[1423,"call","AddQuotes",1],[1423,"ext","codeunit",10,"UriEscapeDataString",1],[1425,"call","AddQuotes",1]]},{"name":"GetEntityKeyFieldTypeBySubscriptionId","line":1437,"kind":"procedure","access":"local","params":1,"steps":[[1442,"call","GetSystemIdBySubscriptionId",1],[1448,"call","GetSystemIdBySubscriptionId",1],[1452,"ext","codeunit",6153,"IsDetailedLoggingEnabled",0],[1453,"call","GetSystemIdBySubscriptionId",1]]},{"name":"GetFirstModifiedTimeBySubscriptionId","line":1457,"kind":"procedure","access":"local","params":1,"steps":[[1463,"call","GetSystemIdBySubscriptionId",1],[1469,"call","GetSystemIdBySubscriptionId",1],[1473,"ext","codeunit",6153,"IsDetailedLoggingEnabled",0],[1474,"call","GetSystemIdBySubscriptionId",1],[1474,"call","DateTimeToString",1]]},{"name":"GetResourceUrlBySubscriptionId","line":1510,"kind":"procedure","access":"local","params":1,"steps":[[1515,"call","GetSystemIdBySubscriptionId",1],[1521,"call","GetSystemIdBySubscriptionId",1],[1525,"ext","codeunit",6153,"IsDetailedLoggingEnabled",0],[1526,"call","GetSystemIdBySubscriptionId",1]]},{"name":"GetNotificationUrlBySubscriptionId","line":1530,"kind":"procedure","access":"local","params":1,"steps":[[1535,"call","GetSystemIdBySubscriptionId",1],[1541,"call","GetSystemIdBySubscriptionId",1],[1545,"ext","codeunit",6153,"IsDetailedLoggingEnabled",0],[1546,"call","GetSystemIdBySubscriptionId",1]]},{"name":"GetSubscriptionsPerNotificationUrl","line":1550,"kind":"procedure","access":"local","params":3,"steps":[[1569,"ext","codeunit",6153,"IsDetailedLoggingEnabled",0]]},{"name":"HasLastModifiedDateTimeField","line":1594,"kind":"procedure","access":"local","params":1,"steps":[[1600,"ext","codeunit",6153,"GetEntity",2]]},{"name":"GetActiveSubscriptions","line":1619,"kind":"procedure","access":"local","params":0,"steps":[[1636,"write",2000000095,"Insert"],[1637,"call","CollectValuesInDictionaries",1]]},{"name":"DeleteObsoleteSubscriptions","line":1642,"kind":"procedure","access":"local","params":0,"steps":[[1651,"ext","codeunit",6153,"GetEntity",2],[1653,"call","DateTimeToString",1],[1654,"call","LogActivity",3],[1654,"call","GetSubscriptionDetails",1],[1655,"ext","codeunit",6153,"DeleteSubscription",1]]},{"name":"DeleteExpiredSubscriptions","line":1660,"kind":"procedure","access":"local","params":0,"steps":[[1671,"call","DateTimeToString",1],[1672,"call","LogActivity",3],[1673,"call","GetSubscriptionDetails",1],[1674,"ext","codeunit",6153,"DeleteSubscription",1]]},{"name":"DeleteSubscriptionsWithTooManyFailures","line":1678,"kind":"procedure","access":"local","params":0,"steps":[[1682,"call","ClearFiltersFromNotificationsBuffer",0],[1683,"call","GetMaxNumberOfAttempts",0],[1689,"call","DateTimeToString",1],[1691,"call","LogActivity",3],[1692,"call","GetSubscriptionDetails",1],[1693,"ext","codeunit",6153,"DeleteSubscription",1],[1696,"write",2000000098,"DeleteAll"]]},{"name":"DeleteInactiveJobs","line":1699,"kind":"procedure","access":"local","params":0,"steps":[[1703,"event","OnBeforeDeleteInactiveJobs",0],[1709,"call","DateTimeToString",1],[1710,"write",472,"Delete",1],[1718,"call","DateTimeToString",1],[1719,"write",472,"Delete",1],[1723,"call","DateTimeToString",1],[1724,"write",472,"Delete",1]]},{"name":"IsApiSubscriptionEnabled","line":1744,"kind":"procedure","access":"local","params":0,"steps":[[1748,"ext","codeunit",5465,"IsApiSubscriptionEnabled",0]]},{"name":"GetMaxNumberOfNotifications","line":1756,"kind":"procedure","params":0,"steps":[[1762,"event","OnGetMaxNumberOfNotifications",0],[1766,"ext","codeunit",6723,"GetApiSubscriptionMaxNumberOfNotifications",0]]},{"name":"GetMaxNumberOfAttempts","line":1770,"kind":"procedure","access":"local","params":0,"steps":[[1775,"event","OnGetMaxNumberOfAttempts",0]]},{"name":"GetSendingNotificationTimeout","line":1782,"kind":"procedure","access":"local","params":0,"steps":[[1788,"event","OnGetSendingNotificationTimeout",0],[1792,"ext","codeunit",6723,"GetApiSubscriptionSendingNotificationTimeout",0]]},{"name":"HandleOnBeforeInsertJobQueueLogEntry","line":1825,"kind":"procedure","access":"local","params":2,"steps":[[1836,"call","DateTimeToString",1],[1840,"call","LogActivity",3]]},{"name":"DateTimeToUtcString","line":1899,"kind":"procedure","params":1,"steps":[[1906,"ext","codeunit",5459,"InitializeEmptyObject",0],[1907,"ext","codeunit",5459,"GetJSONObject",1],[1908,"ext","codeunit",5459,"AddJPropertyToJObject",3],[1909,"ext","codeunit",5459,"GetStringPropertyValueFromJObjectByName",3]]},{"name":"LogActivity","line":1913,"kind":"procedure","access":"local","params":3,"steps":[[1923,"ext","table",710,"LogActivity",5]]},{"name":"GetSubscriptionDetails","line":1927,"kind":"procedure","access":"local","params":1,"steps":[[1932,"call","GetResourceUrlBySubscriptionId",1],[1933,"call","GetNotificationUrlBySubscriptionId",1]]}]}