API Webhook Subscription

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

Table Type: System

Table Name: API Webhook Subscription
Database Table Name: API Webhook Subscription

Table Number: 2000000095

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 Subscription can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [API Webhook Subscription]

Show/hide an example select of all columns by name

SELECT
   [Subscription Id]
   ,[Entity Publisher]
   ,[Entity Group]
   ,[Entity Version]
   ,[Entity Set Name]
   ,[Company Name]
   ,[Notification Url Blob]
   ,[User Id]
   ,[Last Modified Date Time]
   ,[Client State]
   ,[Expiration Date Time]
   ,[Resource Url Blob]
   ,[Notification Url Prefix]
   ,[Source Table Id]
   ,[Subscription Type]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [API Webhook Subscription]

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

SELECT
   *
FROM
   [API Webhook Subscription] AS [API Webhook Subscription]
LEFT JOIN
   [External Event Subscription] AS [External Event Subscription]
      ON
         [API Webhook Subscription].[Subscription Id] = [External Event Subscription].[ID]
LEFT JOIN
   [Company] AS [Company]
      ON
         [API Webhook Subscription].[Company Name] = [Company].[Name]
LEFT JOIN
   [User] AS [User]
      ON
         [API Webhook Subscription].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [API Webhook Subscription].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in API Webhook Subscription table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Subscription Id Primary Key SearchSubscription IdNormalText150Subscription Idnvarchar(300)
Key to join to the External Event Subscription table.

Show/hide example query

SELECT
       [API Webhook Subscription].[Subscription Id]
       ,[External Event Subscription].[ID]
FROM
       [API Webhook Subscription] AS [API Webhook Subscription]
LEFT JOIN
       [External Event Subscription] AS [External Event Subscription]
              ON
                     [API Webhook Subscription].[Subscription Id] = [External Event Subscription].[ID]
2Entity Publisher SearchEntity PublisherNormalText40Entity Publishernvarchar(80)
3Entity Group SearchEntity GroupNormalText40Entity Groupnvarchar(80)
4Entity Version SearchEntity VersionNormalText10Entity Versionnvarchar(20)
5Entity Set Name SearchEntity Set NameNormalText250Entity Set Namenvarchar(500)
6Company Name SearchCompany NameNormalText30Company Namenvarchar(60)
Key to join to the Company table.

Show/hide example query

SELECT
       [API Webhook Subscription].[Company Name]
       ,[Company].[Name]
FROM
       [API Webhook Subscription] AS [API Webhook Subscription]
LEFT JOIN
       [Company] AS [Company]
              ON
                     [API Webhook Subscription].[Company Name] = [Company].[Name]
7Notification Url Blob SearchNotification Url BlobNormalBLOB8Notification Url Blobimage
8User Id SearchUser IdNormalGUID16User Iduniqueidentifier
9Last Modified Date Time SearchLast Modified Date TimeNormalDateTime8Last Modified Date Timedatetime
10Client State SearchClient StateNormalText2048Client Statenvarchar(4096)
11Expiration Date Time SearchExpiration Date TimeNormalDateTime8Expiration Date Timedatetime
12Resource Url Blob SearchResource Url BlobNormalBLOB8Resource Url Blobimage
13Notification Url Prefix SearchNotification Url PrefixNormalText250Notification Url Prefixnvarchar(500)
14Source Table Id SearchSource Table IdNormalInteger4Source Table Idint
15Subscription Type SearchSubscription TypeNormalOption4Subscription Typeint
Available options are:
  • “Regular”
  • “Dataverse”
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 Subscription].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [API Webhook Subscription] AS [API Webhook Subscription]
LEFT JOIN
       [User] AS [User]
              ON
                     [API Webhook Subscription].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [API Webhook Subscription].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [API Webhook Subscription] AS [API Webhook Subscription]
LEFT JOIN
       [User] AS [User]
              ON
                     [API Webhook Subscription].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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