API Webhook Notification Aggr

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2000000098

Table Type: System

Table Name: API Webhook Notification Aggr
Database Table Name: API Webhook Notification Aggr

Table Number: 2000000098

Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how API Webhook Notification Aggr can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [API Webhook Notification Aggr]

Show/hide an example select of all columns by name

SELECT
   [ID]
   ,[Subscription ID]
   ,[Created By User SID]
   ,[Entity Key Value]
   ,[Last Modified Date Time]
   ,[Change Type]
   ,[Attempt No_]
   ,[Sending Scheduled Date Time]
   ,[Entity ID]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [API Webhook Notification Aggr]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [API Webhook Notification Aggr] AS [API Webhook Notification Aggr]
LEFT JOIN
   [External Event Subscription] AS [External Event Subscription]
      ON
         [API Webhook Notification Aggr].[Subscription Id] = [External Event Subscription].[ID]
LEFT JOIN
   [User] AS [User]
      ON
         [API Webhook Notification Aggr].[Created By User SID] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [API Webhook Notification Aggr].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [API Webhook Notification Aggr].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in API Webhook Notification Aggr table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1ID SearchIDNormalGUID16IDuniqueidentifier
2Subscription ID Primary Key SearchSubscription IDNormalText150Subscription IDnvarchar(300)
Key to join to the External Event Subscription table.

Show/hide example query

SELECT
	       [API Webhook Notification Aggr].[Subscription ID]
	       ,[External Event Subscription].[ID]
	FROM
	       [API Webhook Notification Aggr] AS [API Webhook Notification Aggr]
	LEFT JOIN
	       [External Event Subscription] AS [External Event Subscription]
	              ON
	                     [API Webhook Notification Aggr].[Subscription ID] = [External Event Subscription].[ID]
3Created By User SID SearchCreated By User SIDNormalGUID16Created By User SIDuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [API Webhook Notification Aggr].[Created By User SID]
	       ,[User].[User Security ID]
	FROM
	       [API Webhook Notification Aggr] AS [API Webhook Notification Aggr]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [API Webhook Notification Aggr].[Created By User SID] = [User].[User Security ID]
4Entity Key Value SearchEntity Key ValueNormalText250Entity Key Valuenvarchar(500)
5Last Modified Date Time SearchLast Modified Date TimeNormalDateTime8Last Modified Date Timedatetime
6Change Type SearchChange TypeNormalOption4Change Typeint
Available options are:
  • “Created”
  • “Updated”
  • “Deleted”
  • “Collection”
7Attempt No. SearchAttempt No.NormalInteger4Attempt No_int
8Sending Scheduled Date Time SearchSending Scheduled Date TimeNormalDateTime8Sending Scheduled Date Timedatetime
9Entity ID SearchEntity IDNormalGUID16Entity IDuniqueidentifier
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [API Webhook Notification Aggr].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [API Webhook Notification Aggr] AS [API Webhook Notification Aggr]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [API Webhook Notification Aggr].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

Your email address will not be published. Required fields are marked *