ADO.NET Provider for LinkedIn

Build 26.0.9655

CreateEvent

Create a new event in a LinkedIn organization. Events can be used to promote gatherings, webinars, conferences, or other activities to your LinkedIn audience. Once created, the event can be shared as posts and tracked through analytics.

Stored Procedure-Specific Information

The Type parameter determines whether the event is virtual or in-person. Set Type to ONLINE_EXTERNAL for virtual events hosted on external platforms, or to IN_PERSON for physical events at a venue.

For online events, specify the URL parameter to provide the link where the event is hosted. For in-person events, use the address parameters to specify the venue location.

To set a background image for the event, first upload an image using the UploadImage stored procedure with IsEventBackground='true', then pass the returned ImageURN as the BackgroundImageURN parameter.

To create an online event, execute:

    EXEC CreateEvent Name='My Event', OrganizerURN='urn:li:organization:12345', Type='ONLINE_EXTERNAL', StartsAt='2026-06-15T10:00:00Z', URL='https://example.com/my-event'

To create an in-person event, execute:

    EXEC CreateEvent Name='My Event', OrganizerURN='urn:li:organization:12345', Type='IN_PERSON', StartsAt='2026-06-15T10:00:00Z', AddressLine1='123 Main Street', AddressCity='San Francisco', AddressCountry='US'

Input

Name Type Required Description
Name String True The display name of the event. This is the primary title that will be shown to LinkedIn users when they view the event.
OrganizerURN String True The URN of the organization or person organizing this event. This must be an entity you have administrative access to. For organization events, use format 'urn:li:organization:{id}'. For personal events, use 'urn:li:person:{id}'.
Type String True The type of event being created. Use 'IN_PERSON' for physical events at a venue, or 'ONLINE_EXTERNAL' for virtual events hosted on external platforms (e.g., Zoom, Teams, webinar software).

The allowed values are IN_PERSON, ONLINE_EXTERNAL.

Description String False A detailed description of the event. This can include the event agenda, what attendees will learn, speaker information, or any other relevant details to help users understand the event's purpose and value.
StartsAt Datetime True The date and time when the event begins.
EndsAt Datetime False The date and time when the event ends. Must be after the StartsAt time. If not provided, the event will not have a defined end time. Format as ISO 8601 datetime (e.g., '2024-12-25T16:00:00Z').
URL String False The URL where the online event will be hosted or where users can find more information. Required for ONLINE_EXTERNAL events. For in-person events, this can be used to provide a registration or informational website.
LeadGenFormPrivacyPolicyUrl String False The URL to your organization's privacy policy. This is displayed to users when they register for the event through a lead generation form, ensuring compliance with data protection regulations.
BackgroundImageURN String False The URN of the image asset to use as the event's background image. Upload an image first using the UploadImage stored procedure with IsEventBackground=true to obtain a valid URN.
VenueDetails String False Additional information about the event venue. For in-person events, this can include venue name, room number, parking instructions, or other location-specific details that complement the address information.
AddressLine1 String False The first line of the street address for in-person events. This typically includes the building number and street name (e.g., '123 Main Street').
AddressLine2 String False The second line of the street address for in-person events. This can include suite numbers, apartment numbers, building names, or other secondary address information (e.g., 'Suite 400').
AddressCity String False The city where the in-person event will take place (e.g., 'San Francisco', 'New York').
AddressCountry String False The country where the in-person event will take place. Use the two-letter ISO 3166-1 alpha-2 country code (e.g., 'US' for United States, 'GB' for United Kingdom, 'DE' for Germany).
AddressGeographicArea String False The geographic region where the in-person event will take place (e.g., 'CA', 'NY').
AddressPostalCode String False The postal code or ZIP code for the event venue's address.

Result Set Columns

Name Type Description
Id String The unique identifier of the newly created event. This ID can be used to reference the event in subsequent operations, such as updating event details or sharing the event in posts.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655