How to pass meeting start date time in online meeting

Namrata Omniwish 0 Reputation points
2023-08-19T17:13:21.1666667+00:00

In my node js application I am using cloud communications api with application permission and create online meeting link I want to pass start date time from my mongodb database . How to pass this date time to start date in online meeting body .

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,894 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,498 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,830 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nivedipa-MSFT 3,611 Reputation points Microsoft External Staff
    2023-08-21T06:44:41.9266667+00:00

    Using deeplink you can pass meeting start date time in online meeting
    Construct the deep link URL by replacing the <date> parameter in the deep link format with the encoded start date and time.

    Here's an example code snippet:

    const encodeURIComponent = require('encodeURIComponent');
    const startDateTime = // Retrieve start date and time from MongoDB database
    const encodedStartDateTime = encodeURIComponent(startDateTime.toISOString());
    
    const deepLinkUrl = `https://teams.microsoft.com/l/meeting/new?subject=test%20subject&attendees=******@contoso.com,******@contoso.com&startTime=${encodedStartDateTime}&endTime=<endDateTime>&content=<content>`;
    

    Ref Doc: https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-link-workflow?tabs=teamsjs-v2#configure-deep-link-manually-to-open-a-meeting-scheduling-dialog

    Thanks,

    Nivedipa


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.